Commit a85a341c authored by Cedric Roux's avatar Cedric Roux

debug: add an abort() when receiving crnti Control Element

this is not handled correctly as of now, let's crash
parent d6fdbb4d
...@@ -220,6 +220,8 @@ void rx_sdu(const module_id_t enb_mod_idP, ...@@ -220,6 +220,8 @@ void rx_sdu(const module_id_t enb_mod_idP,
UE_list->UE_sched_ctrl[UE_id].ul_out_of_sync=0; UE_list->UE_sched_ctrl[UE_id].ul_out_of_sync=0;
mac_eNB_rrc_ul_in_sync(enb_mod_idP,CC_idP,frameP,subframeP,(((uint16_t)payload_ptr[0])<<8) + payload_ptr[1]); mac_eNB_rrc_ul_in_sync(enb_mod_idP,CC_idP,frameP,subframeP,(((uint16_t)payload_ptr[0])<<8) + payload_ptr[1]);
} }
printf("TODO: deal with CRNTI\n");
abort();
} }
crnti_rx=1; crnti_rx=1;
payload_ptr+=2; payload_ptr+=2;
......
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