From f4f2b92779313966d2a2dc881951212b7109ba29 Mon Sep 17 00:00:00 2001 From: francescomani Date: Mon, 8 Aug 2022 15:18:32 +0200 Subject: [PATCH] bugfix in phytest mode --- openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_phytest.c | 1 + 1 file changed, 1 insertion(+) diff --git a/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_phytest.c b/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_phytest.c index 4139289beb..d57639d521 100644 --- a/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_phytest.c +++ b/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_phytest.c @@ -199,6 +199,7 @@ void nr_preprocessor_phytest(module_id_t module_id, const int tda = get_dl_tda(RC.nrmac[module_id], scc, slot); NR_pdsch_tda_info_t *tda_info = &sched_ctrl->sched_pdsch.tda_info; nr_get_pdsch_tda_info(dl_bwp, tda, tda_info); + sched_ctrl->sched_pdsch.time_domain_allocation = tda; /* find largest unallocated chunk */ const int bwpSize = dl_bwp->BWPSize;