From 319a185eba7d7e98a2e95c9a338715c7c549b0e4 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Fri, 22 Apr 2022 11:55:59 +0200 Subject: [PATCH] phy_common_test: fix test when compiled with USE_LTE_RATES --- lib/src/phy/common/test/phy_common_test.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/src/phy/common/test/phy_common_test.c b/lib/src/phy/common/test/phy_common_test.c index a4046e063..5465ffdc4 100644 --- a/lib/src/phy/common/test/phy_common_test.c +++ b/lib/src/phy/common/test/phy_common_test.c @@ -16,6 +16,9 @@ int srsran_default_rates_test() { // Verify calculated sample rates for all valid PRB sizes. // By default we use the reduced 3/4 sampling to save bandwidth on the fronthaul. +#ifdef FORCE_STANDARD_RATE + srsran_use_standard_symbol_size(false); +#endif TESTASSERT(srsran_sampling_freq_hz(6) == 1920000); TESTASSERT(srsran_sampling_freq_hz(15) == 3840000); TESTASSERT(srsran_sampling_freq_hz(25) == 5760000);