phy_common: fix symbol size derivation for NR-only cells

make sure that 52 PRB cell with LTE rates gives 15.36e6 as sample rate
This commit is contained in:
Andre Puschmann 2021-11-09 19:21:16 +01:00
parent 40809fb10e
commit 779bfcf791
1 changed files with 2 additions and 2 deletions

View File

@ -338,9 +338,9 @@ int srsran_symbol_sz_power2(uint32_t nof_prb)
return 256;
} else if (nof_prb <= 25) {
return 512;
} else if (nof_prb <= 50) {
} else if (nof_prb <= 52) {
return 1024;
} else if (nof_prb <= 75) {
} else if (nof_prb <= 79) {
return 1536;
} else if (nof_prb <= 110) {
return 2048;