From 66673933477d7704b0890fa223afc4ea09543b3c Mon Sep 17 00:00:00 2001 From: Raymond Knopp Date: Wed, 24 Jan 2024 22:06:12 +0100 Subject: [PATCH] this limits PUCCH payload to 11 bits, 7 CSI + 3 ACKNACK + 1 SR maximum. --- openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c b/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c index 220ce9aef2..829dc2835f 100644 --- a/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c +++ b/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c @@ -1268,6 +1268,9 @@ int nr_acknack_scheduling(gNB_MAC_INST *mac, curr_pucch->csi_bits + curr_pucch->dai_c + 2, curr_pucch->resource_indicator)) continue; + // TODO temporarily limit ack/nak to 3 bits because of performances of polar for PUCCH (required for > 11 bits) + if (curr_pucch->csi_bits > 0 && curr_pucch->dai_c >= 3) + continue; // otherwise we can schedule in this active PUCCH // no need to check VRB occupation because already done when PUCCH has been activated