diff --git a/nfapi/oai_integration/nfapi_vnf.c b/nfapi/oai_integration/nfapi_vnf.c index 16f23069b7..cd4deb2661 100644 --- a/nfapi/oai_integration/nfapi_vnf.c +++ b/nfapi/oai_integration/nfapi_vnf.c @@ -1099,6 +1099,10 @@ int trigger_scheduler(nfapi_nr_slot_indication_scf_t *slot_ind) if (g_sched_resp.UL_dci_req.numPdus > 0) oai_nfapi_ul_dci_req(&g_sched_resp.UL_dci_req); + + NR_UL_IND_t ind = {.frame = slot_ind->sfn, .slot = slot_ind->slot, }; + NR_UL_indication(&ind); + return 1; } diff --git a/openair2/NR_PHY_INTERFACE/NR_IF_Module.c b/openair2/NR_PHY_INTERFACE/NR_IF_Module.c index 9a2c9ed94b..6e6b204d20 100644 --- a/openair2/NR_PHY_INTERFACE/NR_IF_Module.c +++ b/openair2/NR_PHY_INTERFACE/NR_IF_Module.c @@ -495,7 +495,8 @@ void NR_UL_indication(NR_UL_IND_t *UL_info) { } } - handle_nr_rach(UL_info); + if (UL_info->rach_ind.number_of_pdus > 0) + handle_nr_rach(UL_info); handle_nr_uci(UL_info); handle_nr_ulsch(UL_info); handle_nr_srs(UL_info);