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
@@ -436,7 +436,7 @@ static void *NRUE_phy_stub_standalone_pnf_task(void *arg)
NR_UE_MAC_INST_t *mac = get_mac_inst(mod_id);
if (mac->mib == NULL)
{
if (get_softmodem_params()->sa && get_softmodem_params()->emulate_l2)
if (get_softmodem_params()->sa)
{
LOG_D(NR_MAC, "We haven't gotten MIB. Lets see if we received it\n");
nr_ue_dl_indication(&mac->dl_info, &ul_time_alignment);