From 37a2ce7d3da0e5f5c2df31a48a48b43c4931af8b Mon Sep 17 00:00:00 2001 From: Saankhya Date: Sat, 20 Feb 2021 14:55:10 +0530 Subject: [PATCH] following coding guideline fixing the RE offset for each Rx antenna in pusch channel estimation --- openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c b/openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c index 713e71674b..38b35dcf6d 100644 --- a/openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c +++ b/openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c @@ -158,6 +158,8 @@ int nr_pusch_channel_estimation(PHY_VARS_gNB *gNB, #endif for (aarx=0; aarxframe_parms.nb_antennas_rx; aarx++) { + re_offset = k; /* Initializing the Resource element offset for each Rx antenna */ + pil = (int16_t *)&pilot[0]; rxF = (int16_t *)&rxdataF[aarx][(symbol_offset+k+nushift)]; ul_ch = (int16_t *)&ul_ch_estimates[aarx][ch_offset];