From 0add4fdb553b79e8c0e30ff0732f02111dae35b7 Mon Sep 17 00:00:00 2001 From: Francesco Mani Date: Fri, 15 May 2020 09:14:30 +0200 Subject: [PATCH] bugfix in pucch timing indicator selection --- openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c b/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c index 742a74ed9f..8f5bef1cc7 100644 --- a/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c +++ b/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c @@ -1457,7 +1457,7 @@ void nr_update_pucch_scheduling(int Mod_idP, if (found == 1) { // computing slot in which pucch is scheduled sched_pucch->ul_slot = first_ul_slot_tdd + k + (slotP - (slotP % slots_per_tdd)); - sched_pucch->timing_indicator = pdsch_to_harq_feedback[i]; + sched_pucch->timing_indicator = i; // index in the list of timing indicators } else AssertFatal(1==0,"No Uplink slot available in accordance to allowed timing indicator\n");