From b14b9eda299c2b19ec5430c7164332884b366796 Mon Sep 17 00:00:00 2001 From: laurent Date: Sat, 17 Sep 2022 11:23:53 +0200 Subject: [PATCH] fix bug added in MR1609 improve-nr_ul_channel_estimation branch --- openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c b/openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c index 1d6ff4603f..4133875139 100644 --- a/openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c +++ b/openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c @@ -283,7 +283,7 @@ int nr_pusch_channel_estimation(PHY_VARS_gNB *gNB, pil = pilot + idxDC / 2 - 1; ul_ch += idxDC - 2 ; ul_ch = memset(ul_ch, 0, sizeof(*ul_ch)*5); - re_offset = (re_offset+idxDC-1) % symbolSize; + re_offset = (re_offset + idxDC - 2) % symbolSize; const c16_t ch=c16mulShift(*pil, rxdataF[soffset+nushift+re_offset], 15);