From 671f461e6c156dc70532d073191e2b301dfb69c8 Mon Sep 17 00:00:00 2001 From: Melissa Elkadi Date: Fri, 20 Aug 2021 10:50:39 -0700 Subject: [PATCH] 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. --- openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c b/openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c index 37f000fa33..fbbb25c69f 100644 --- a/openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c +++ b/openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c @@ -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; }