Commit ca9366bb authored by rmagueta's avatar rmagueta Committed by Florian Kaltenberger

Fix RA preamble shift at gNB

parent 2651cd0c
...@@ -681,7 +681,7 @@ void rx_nr_prach(PHY_VARS_gNB *gNB, ...@@ -681,7 +681,7 @@ void rx_nr_prach(PHY_VARS_gNB *gNB,
preamble_shift -= NCS; preamble_shift -= NCS;
if (preamble_shift < 0) if (preamble_shift < 0)
preamble_shift+=N_ZC; preamble_shift+=((N_ZC/NCS)*NCS);
} }
} else { // This is the high-speed case } else { // This is the high-speed case
new_dft = 0; new_dft = 0;
......
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