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

master
Francisco 4 years ago committed by Francisco Paisana
parent ac7cc3c42d
commit d142d7b6a5

@ -35,7 +35,7 @@
#define ASSERT_VALID_CFG(cond, msg_fmt, ...) \ #define ASSERT_VALID_CFG(cond, msg_fmt, ...) \
do { \ do { \
if (not(cond)) { \ 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; \ return SRSRAN_ERROR; \
} \ } \
} while (0) } while (0)

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

Loading…
Cancel
Save