From 5d0c0be1fed41166936baa7ef8524dc36a61f9e4 Mon Sep 17 00:00:00 2001 From: Ahmed Hussein Date: Thu, 2 May 2019 15:48:44 +0200 Subject: [PATCH] Fixing bug in "nr_ulsch_extract_rbs_single" One of the function parameters was number of RBs, but instead number of REs was given --- openair1/PHY/NR_TRANSPORT/nr_ulsch_demodulation.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openair1/PHY/NR_TRANSPORT/nr_ulsch_demodulation.c b/openair1/PHY/NR_TRANSPORT/nr_ulsch_demodulation.c index e327f6b28d..6757f594d3 100644 --- a/openair1/PHY/NR_TRANSPORT/nr_ulsch_demodulation.c +++ b/openair1/PHY/NR_TRANSPORT/nr_ulsch_demodulation.c @@ -14,9 +14,9 @@ void nr_ulsch_extract_rbs_single(int **rxdataF, unsigned short nb_rb_pusch, NR_DL_FRAME_PARMS *frame_parms) { - unsigned short start_re,re; + unsigned short start_re, re, nb_re_pusch; unsigned char aarx, is_dmrs_symbol = 0; - uint32_t rxF_ext_index = 0, nb_re_pusch = 0; + uint32_t rxF_ext_index = 0; int16_t *rxF,*rxF_ext; @@ -76,7 +76,7 @@ void nr_rx_pusch(PHY_VARS_gNB *gNB, // rb_alloc, [hna] Resource Allocation Type 1 is assumed only for the moment symbol, rel15_ul->start_rb, - nb_re, + rel15_ul->number_rbs, frame_parms);