Commit d746ff61 authored by Robert Schmidt's avatar Robert Schmidt

update comments in restart_L1L2()

parent 1eabadb1
...@@ -969,8 +969,6 @@ int restart_L1L2(module_id_t enb_id) ...@@ -969,8 +969,6 @@ int restart_L1L2(module_id_t enb_id)
RC.eNB[enb_id][cc_id]->configured = 0; RC.eNB[enb_id][cc_id]->configured = 0;
} }
/* TODO undo malloc_IF4p5_buffer() */
RC.ru_mask |= (1 << ru->idx); RC.ru_mask |= (1 << ru->idx);
/* copy the changed frame parameters to the RU */ /* copy the changed frame parameters to the RU */
/* TODO this should be done for all RUs associated to this eNB */ /* TODO this should be done for all RUs associated to this eNB */
...@@ -997,11 +995,9 @@ int restart_L1L2(module_id_t enb_id) ...@@ -997,11 +995,9 @@ int restart_L1L2(module_id_t enb_id)
RRC_CONFIGURATION_REQ(msg_p) = RC.rrc[enb_id]->configuration; RRC_CONFIGURATION_REQ(msg_p) = RC.rrc[enb_id]->configuration;
itti_send_msg_to_task(TASK_RRC_ENB, ENB_MODULE_ID_TO_INSTANCE(enb_id), msg_p); itti_send_msg_to_task(TASK_RRC_ENB, ENB_MODULE_ID_TO_INSTANCE(enb_id), msg_p);
/* TODO XForms here */ /* TODO XForms might need to be restarted, but it is currently (09/02/18)
* broken, so we cannot test it */
/* TODO check for memory leaks */
/* TODO wait_eNBs() would wait for phy_config_request()? */
//init_eNB(single_thread_flag,wait_for_sync);
wait_eNBs(); wait_eNBs();
init_RU_proc(ru); init_RU_proc(ru);
ru->rf_map.card = 0; ru->rf_map.card = 0;
...@@ -1009,7 +1005,6 @@ int restart_L1L2(module_id_t enb_id) ...@@ -1009,7 +1005,6 @@ int restart_L1L2(module_id_t enb_id)
wait_RUs(); wait_RUs();
init_eNB_afterRU(); init_eNB_afterRU();
printf("Sending sync to all threads\n"); printf("Sending sync to all threads\n");
pthread_mutex_lock(&sync_mutex); pthread_mutex_lock(&sync_mutex);
sync_var=0; sync_var=0;
......
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