[srslte-users] Warning about LTE rates...

Andre Puschmann andre.puschmann at softwareradiosystems.com
Mon May 17 08:36:10 UTC 2021


Hi,

On 14/5/21 13:21, dk5ras at gmail.com wrote:
> I get this warning on start, although I have compiled with the recommended
> option:
> 
> Detected LimeSDR. Consider using LTE rates for better RF performance.
> Either compile with '-DUSE_LTE_RATES=True' or start srsENB/srsUE with
> '--expert.lte_sample_rates=true'

Ah, good catch. The config or command line arguments seem to "overwrite"
the compile-time flag because they set the symbol size variable
unconditionally. Something like this fixes this:

diff --git a/srsenb/src/main.cc b/srsenb/src/main.cc
index d7b841abe..6f6edb6a0 100644
--- a/srsenb/src/main.cc
+++ b/srsenb/src/main.cc
@@ -430,7 +430,9 @@ void parse_args(all_args_t* args, int argc, char*
argv[])
     exit(1);
   }

-  srsran_use_standard_symbol_size(use_standard_lte_rates);
+  if (use_standard_lte_rates != srsran_symbol_size_is_standard()) {
+    srsran_use_standard_symbol_size(use_standard_lte_rates);
+  }
 }


I guess for now it's better to actually compile without "USE_LTE_RATES"
and use the argument only.


> 
> And when I use the recommended command, the enb does not start at all.

Not sure about this one. Just tried it here and worked fine.


Thanks
Andre



More information about the srsran-users mailing list