diff --git a/lib/test/rlc/rlc_stress_test.cc b/lib/test/rlc/rlc_stress_test.cc index 96cc73fed..7b019555b 100644 --- a/lib/test/rlc/rlc_stress_test.cc +++ b/lib/test/rlc/rlc_stress_test.cc @@ -276,7 +276,9 @@ void stress_test(stress_test_args_t args) } else if (args.mode == "UM12") { cnfg_ = srsran::rlc_config_t::default_rlc_um_nr_config(12); } else if (args.mode == "AM12") { - cnfg_ = srsran::rlc_config_t::default_rlc_am_nr_config(); + cnfg_ = srsran::rlc_config_t::default_rlc_am_nr_config(12); + } else if (args.mode == "AM18") { + cnfg_ = srsran::rlc_config_t::default_rlc_am_nr_config(18); } else { std::cout << "Unsupported RLC mode " << args.mode << ", exiting." << std::endl; exit(-1); diff --git a/lib/test/rlc/rlc_stress_test.h b/lib/test/rlc/rlc_stress_test.h index acd4657e4..7237e56c6 100644 --- a/lib/test/rlc/rlc_stress_test.h +++ b/lib/test/rlc/rlc_stress_test.h @@ -92,7 +92,7 @@ void parse_args(stress_test_args_t* args, int argc, char* argv[]) bpo::options_description common("Configuration options"); common.add_options() ("rat", bpo::value(&args->rat)->default_value("LTE"), "The RLC version to use (LTE/NR)") - ("mode", bpo::value(&args->mode)->default_value("AM"), "Whether to test RLC acknowledged or unacknowledged mode (AM/UM for LTE) (UM6/UM12 for NR)") + ("mode", bpo::value(&args->mode)->default_value("AM"), "Whether to test RLC acknowledged or unacknowledged mode (AM/UM for LTE) (UM6/UM12/AM12/AM18 for NR)") ("duration", bpo::value(&args->test_duration_sec)->default_value(5), "Duration (sec)") ("sdu_size", bpo::value(&args->sdu_size)->default_value(-1), "Size of SDUs (-1 means random)") ("random_opp", bpo::value(&args->random_opp)->default_value(true), "Whether to generate random MAC opportunities")