From 9be7dc9572afefa428898a52280a99b834fa698e Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Tue, 13 Oct 2020 17:37:12 +0200 Subject: [PATCH] enb: fix AWGN config example and help message we've moved to SNR rather than channel noise so this fixes the example and help text --- srsenb/enb.conf.example | 4 ++-- srsenb/src/main.cc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/srsenb/enb.conf.example b/srsenb/enb.conf.example index 043a68f82..432e967f7 100644 --- a/srsenb/enb.conf.example +++ b/srsenb/enb.conf.example @@ -184,7 +184,7 @@ enable = false # # -- AWGN Generator # awgn.enable: Enable/disable AWGN generator -# awgn.n0: Noise power in dBfs +# awgn.snr: Target SNR in dB # # -- Fading emulator # fading.enable: Enable/disable fading simulator @@ -214,7 +214,7 @@ enable = false [channel.dl.awgn] #enable = false -#n0 = -30 +#snr = 30 [channel.dl.fading] #enable = false diff --git a/srsenb/src/main.cc b/srsenb/src/main.cc index da442abfb..8d5a5f399 100644 --- a/srsenb/src/main.cc +++ b/srsenb/src/main.cc @@ -150,7 +150,7 @@ void parse_args(all_args_t* args, int argc, char* argv[]) /* Downlink Channel emulator section */ ("channel.dl.enable", bpo::value(&args->phy.dl_channel_args.enable)->default_value(false), "Enable/Disable internal Downlink channel emulator") ("channel.dl.awgn.enable", bpo::value(&args->phy.dl_channel_args.awgn_enable)->default_value(false), "Enable/Disable AWGN simulator") - ("channel.dl.awgn.snr", bpo::value(&args->phy.dl_channel_args.awgn_snr_dB)->default_value(30.0f), "Noise level in decibels full scale (dBfs)") + ("channel.dl.awgn.snr", bpo::value(&args->phy.dl_channel_args.awgn_snr_dB)->default_value(30.0f), "Target SNR in dB") ("channel.dl.fading.enable", bpo::value(&args->phy.dl_channel_args.fading_enable)->default_value(false), "Enable/Disable Fading model") ("channel.dl.fading.model", bpo::value(&args->phy.dl_channel_args.fading_model)->default_value("none"), "Fading model + maximum doppler (E.g. none, epa5, eva70, etu300, etc)") ("channel.dl.delay.enable", bpo::value(&args->phy.dl_channel_args.delay_enable)->default_value(false), "Enable/Disable Delay simulator")