update test helpers for enb, so that the rrc tests pass

This commit is contained in:
Francisco 2021-04-08 16:00:12 +01:00 committed by Francisco Paisana
parent ac7cc3c42d
commit d142d7b6a5
2 changed files with 2 additions and 1 deletions

View File

@ -35,7 +35,7 @@
#define ASSERT_VALID_CFG(cond, msg_fmt, ...) \
do { \
if (not(cond)) { \
fprintf(stderr, "Error: Invalid configuration - " msg_fmt, ##__VA_ARGS__); \
fprintf(stderr, "Error: Invalid configuration - " msg_fmt "\n", ##__VA_ARGS__); \
return SRSRAN_ERROR; \
} \
} while (0)

View File

@ -60,6 +60,7 @@ int parse_default_cfg(rrc_cfg_t* rrc_cfg, srsenb::all_args_t& args)
args.enb.nof_ports = 1;
args.general.eia_pref_list = "EIA2, EIA1, EIA0";
args.general.eea_pref_list = "EEA0, EEA2, EEA1";
args.stack.mac.max_nof_ues = 2;
args.general.rrc_inactivity_timer = 60000;