From 779bfcf79118b36c873758a9b6679f6d3360a899 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Tue, 9 Nov 2021 19:21:16 +0100 Subject: [PATCH] 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 --- lib/src/phy/common/phy_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/phy/common/phy_common.c b/lib/src/phy/common/phy_common.c index 48dafa568..2abcb954f 100644 --- a/lib/src/phy/common/phy_common.c +++ b/lib/src/phy/common/phy_common.c @@ -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;