set back rrc as a separate thread, lead to create back race conditions
This commit is contained in:
@@ -446,9 +446,12 @@ int restart_L1L2(module_id_t enb_id) {
|
||||
init_UE_info(&RC.mac[enb_id]->UE_info);
|
||||
LOG_I(ENB_APP, "attempting to create ITTI tasks\n");
|
||||
|
||||
// No more rrc thread, as many race conditions are hidden behind
|
||||
rrc_enb_init();
|
||||
itti_mark_task_ready(TASK_RRC_ENB);
|
||||
if (itti_create_task (TASK_RRC_ENB, rrc_enb_task, NULL) < 0) {
|
||||
LOG_E(RRC, "Create task for RRC eNB failed\n");
|
||||
return -1;
|
||||
} else {
|
||||
LOG_I(RRC, "Re-created task for RRC eNB successfully\n");
|
||||
}
|
||||
|
||||
/* pass a reconfiguration request which will configure everything down to
|
||||
* RC.eNB[i][j]->frame_parms, too */
|
||||
|
||||
@@ -541,12 +541,6 @@ void init_pdcp(void) {
|
||||
pdcp_set_pdcp_data_ind_func((pdcp_data_ind_func_t) pdcp_data_ind);
|
||||
}
|
||||
|
||||
// Stupid function addition because UE itti messages queues definition is common with eNB
|
||||
void *rrc_enb_process_msg(void *notUsed) {
|
||||
AssertFatal(false,"");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
int main( int argc, char **argv ) {
|
||||
int CC_id;
|
||||
uint8_t abstraction_flag=0;
|
||||
|
||||
Reference in New Issue
Block a user