Commit 671f461e authored by Melissa Elkadi's avatar Melissa Elkadi

Making sure we never are in ONLY_PUSCH mode

When running on some machines, the ue_sched_mode
will be initialized to zero. This will cause
the ul_info the go into the ONLY_PUSCH mode.
We do not want to ever call the scheduler and return.
Furthermore, we only want to call the scheduler after
the NRUE has sent the RACH_IND to the gNB.
parent 0eb90bd8
......@@ -768,7 +768,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 && !get_softmodem_params()->nsa) {
ret = nr_ue_scheduler(NULL, ul_info);
return 0;
}
......
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