Commit dc07c752 authored by winckel's avatar winckel
Browse files

Added transmission of an INITIALIZE_MESSAGE to all TASK_NAS_UE tasks when eNB is registered to MME.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4667 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 2f40e8fc
...@@ -46,6 +46,8 @@ ...@@ -46,6 +46,8 @@
# include "s1ap_eNB.h" # include "s1ap_eNB.h"
# include "sctp_eNB_task.h" # include "sctp_eNB_task.h"
# endif # endif
extern unsigned char NB_eNB_INST;
#endif #endif
#if defined(ENABLE_ITTI) #if defined(ENABLE_ITTI)
...@@ -203,6 +205,16 @@ void *eNB_app_task(void *args_p) ...@@ -203,6 +205,16 @@ void *eNB_app_task(void *args_p)
msg_init_p = itti_alloc_new_message (TASK_ENB_APP, INITIALIZE_MESSAGE); msg_init_p = itti_alloc_new_message (TASK_ENB_APP, INITIALIZE_MESSAGE);
itti_send_msg_to_task (TASK_L2L1, INSTANCE_DEFAULT, msg_init_p); itti_send_msg_to_task (TASK_L2L1, INSTANCE_DEFAULT, msg_init_p);
# if defined(OAI_EMU)
/* If also inform all NAS UE tasks */
for (instance = NB_eNB_INST + oai_emulation.info.first_ue_local;
instance < (NB_eNB_INST + oai_emulation.info.first_ue_local + oai_emulation.info.nb_ue_local); instance ++)
{
msg_init_p = itti_alloc_new_message (TASK_ENB_APP, INITIALIZE_MESSAGE);
itti_send_msg_to_task (TASK_NAS_UE, instance, msg_init_p);
}
# endif
} }
else else
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment