Updated the nr_ue_get_rach() function to match develop

Also, in the nr_rrc_mac_config_req_ue(), we should
only be configuring L1 if we are not in the L2 emul
mode. We are crashing due to the RRC state in the NRUE
not being set/checked properly.
This commit is contained in:
Melissa Elkadi
2021-11-02 13:21:42 -07:00
parent e635b90fda
commit 554e7db1d9
4 changed files with 97 additions and 57 deletions
+1 -1
View File
@@ -1092,7 +1092,7 @@ nr_ue_if_module_t *nr_ue_if_module_init(uint32_t module_id){
nr_ue_if_module_inst[module_id]->current_frame = 0;
nr_ue_if_module_inst[module_id]->current_slot = 0;
nr_ue_if_module_inst[module_id]->phy_config_request = nr_ue_phy_config_request;
if (get_softmodem_params()->emulate_l2)
if (get_softmodem_params()->emulate_l2 || get_softmodem_params()->nsa)
nr_ue_if_module_inst[module_id]->scheduled_response = nr_ue_scheduled_response_stub;
else
nr_ue_if_module_inst[module_id]->scheduled_response = nr_ue_scheduled_response;