From 3be72df3350b9e2cbcac3c7c881e23083b09a5d2 Mon Sep 17 00:00:00 2001 From: Ahmed Hussein Date: Mon, 19 Aug 2019 17:05:18 +0200 Subject: [PATCH] Set start_rb to 0 - start_rb was set to 30, and nb_rb was set to 50 with NB_RB_DL = 106. - When the DC subcarrier is included in the RB allocation, this causes errors in FFT/IFFT operations arounf the DC subcarrier - This leads to errors in unscrambling and decoding --- openair1/SIMULATION/NR_PHY/ulsim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openair1/SIMULATION/NR_PHY/ulsim.c b/openair1/SIMULATION/NR_PHY/ulsim.c index 9d4867743e..b37e494906 100644 --- a/openair1/SIMULATION/NR_PHY/ulsim.c +++ b/openair1/SIMULATION/NR_PHY/ulsim.c @@ -110,7 +110,7 @@ int main(int argc, char **argv) int tx_offset; double txlev_float; int32_t txlev; - int start_rb = 30; + int start_rb = 0; int UE_id =0; // [hna] only works for UE_id = 0 because NUMBER_OF_NR_UE_MAX is set to 1 (phy_init_nr_gNB causes segmentation fault)