Create the F1 pingpong procedure with SCTP

This commit is contained in:
Bing-Kai Hong
2018-09-07 19:04:45 +02:00
parent 17cc510a3c
commit 021d7abf8a
12 changed files with 209 additions and 28 deletions
+6
View File
@@ -1063,6 +1063,7 @@ int main( int argc, char **argv )
int have_rrc=0;
if (RC.nb_inst > 0) {
itti_wait_ready(1);
LOG_I(ENB_APP, "Creating ENB_APP eNB Task\n");
if (itti_create_task (TASK_ENB_APP, eNB_app_task, NULL) < 0) {
LOG_E(ENB_APP, "Create task for eNB APP failed\n");
@@ -1074,6 +1075,11 @@ int main( int argc, char **argv )
return -1;
}
have_rrc=1;
if (itti_create_task(TASK_SCTP, sctp_eNB_task, NULL) < 0) {
LOG_E(SCTP, "Create task for SCTP failed\n");
return -1;
}
itti_wait_ready(0);
}
else {
printf("No ITTI, Initializing L1\n");
+1
View File
@@ -290,5 +290,6 @@ extern PHY_VARS_UE* init_ue_vars(LTE_DL_FRAME_PARMS *frame_parms,
uint8_t abstraction_flag);
extern void *eNB_app_task(void* args);
extern void *sctp_eNB_task(void *args);
#endif