From 591697642b6e73ca4613914cf2c737de2c560f53 Mon Sep 17 00:00:00 2001 From: francescomani Date: Thu, 21 Sep 2023 19:04:15 +0200 Subject: [PATCH] fix numerology in computing feedback for PUCCH --- openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c b/openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c index 260360b0ba..c5cef25784 100644 --- a/openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c +++ b/openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c @@ -1188,8 +1188,7 @@ void set_harq_status(NR_UE_MAC_INST_t *mac, current_harq->N_CCE = N_CCE; current_harq->delta_pucch = delta_pucch; // FIXME k0 != 0 currently not taken into consideration - int scs = get_softmodem_params()->numerology; - int slots_per_frame = nr_slots_per_frame[scs]; + int slots_per_frame = nr_slots_per_frame[mac->current_DL_BWP.scs]; current_harq->ul_frame = frame; current_harq->ul_slot = slot + data_toul_fb; if (current_harq->ul_slot >= slots_per_frame) {