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
+1 -1
View File
@@ -769,7 +769,7 @@ int nr_ue_ul_indication(nr_uplink_indication_t *ul_info){
module_id_t module_id = ul_info->module_id;
NR_UE_MAC_INST_t *mac = get_mac_inst(module_id);
if (ul_info->ue_sched_mode == ONLY_PUSCH) {
if (ul_info->ue_sched_mode == ONLY_PUSCH || mac->ra.ra_state == RA_SUCCEEDED) {
ret = nr_ue_scheduler(NULL, ul_info);
return 0;
}