CFRA procedure is working! But gNB still crashes

How? Well, we had to properly allocate the
ul_config_req. We also had to update the
ue_get_rach function. There were several
places where the functionality would check
for a particular mode (ra, sa, phy_test, etc).
In some of these places we had to add NSA mode.
In the VNF, they start the scheduler after 3 sec,
this is sort of a hack, might want to revisit.
This commit also includes removal of printfs.
This commit is contained in:
Melissa Elkadi
2021-08-18 16:09:37 -07:00
parent 933dcd2894
commit 2c5f0af081
11 changed files with 165 additions and 143 deletions
+5 -1
View File
@@ -248,7 +248,10 @@ static void *NRUE_phy_stub_standalone_pnf_task(void *arg)
}
sfn_slot_p = get_queue(&nr_sfn_slot_queue);
if (sfn_slot_p == NULL)
{
LOG_D(MAC, "get_queue(&nr_sfn_slot_queue) == NULL!\n");
continue;
}
sfn_slot = *sfn_slot_p;
if (sfn_slot == last_sfn_slot)
@@ -263,6 +266,7 @@ static void *NRUE_phy_stub_standalone_pnf_task(void *arg)
NR_UE_MAC_INST_t *mac = get_mac_inst(mod_id);
if (mac->scc == NULL)
{
LOG_D(MAC, "mac->scc == NULL!\n");
continue;
}
@@ -320,7 +324,7 @@ static void *NRUE_phy_stub_standalone_pnf_task(void *arg)
else if (nr_prach == 2)
{
LOG_I(NR_PHY, "In %s: [UE %d] RA completed, setting UE mode to PUSCH\n", __FUNCTION__, mod_id);
nr_DRB_preconfiguration(mac->crnti);
//nr_DRB_preconfiguration(mac->crnti);
}
else if(nr_prach == 3)
{