Commit 5d0c0be1 authored by Ahmed Hussein's avatar Ahmed Hussein Committed by Thomas Schlichter

Fixing bug in "nr_ulsch_extract_rbs_single"

One of the function parameters was number of RBs, but instead number of REs was given
parent c8d0da0d
...@@ -14,9 +14,9 @@ void nr_ulsch_extract_rbs_single(int **rxdataF, ...@@ -14,9 +14,9 @@ void nr_ulsch_extract_rbs_single(int **rxdataF,
unsigned short nb_rb_pusch, unsigned short nb_rb_pusch,
NR_DL_FRAME_PARMS *frame_parms) 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; 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; int16_t *rxF,*rxF_ext;
...@@ -76,7 +76,7 @@ void nr_rx_pusch(PHY_VARS_gNB *gNB, ...@@ -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 // rb_alloc, [hna] Resource Allocation Type 1 is assumed only for the moment
symbol, symbol,
rel15_ul->start_rb, rel15_ul->start_rb,
nb_re, rel15_ul->number_rbs,
frame_parms); frame_parms);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment