From 2c41c4cd7c0f07af540bd6e23f4cfc0eeaf8c3bb Mon Sep 17 00:00:00 2001 From: rmagueta Date: Wed, 15 Sep 2021 12:54:26 +0100 Subject: [PATCH] Revert PUCCH0 threshold --- openair1/PHY/NR_TRANSPORT/pucch_rx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openair1/PHY/NR_TRANSPORT/pucch_rx.c b/openair1/PHY/NR_TRANSPORT/pucch_rx.c index db905039d7..67a850f062 100644 --- a/openair1/PHY/NR_TRANSPORT/pucch_rx.c +++ b/openair1/PHY/NR_TRANSPORT/pucch_rx.c @@ -399,7 +399,7 @@ void nr_decode_pucch0(PHY_VARS_gNB *gNB, uci_stats->pucch0_thres = gNB->pucch0_thres; /* + (10*max_n0);*/ bool no_conf=false; if (nr_sequences>1) { - if (xrtmag_dBtimes10 < uci_stats->pucch0_thres+xrtmag_next_dBtimes10) + if (xrtmag_dBtimes10 < uci_stats->pucch0_thres+10*max_n0) no_conf=true; } gNB->bad_pucch += no_conf;