diff --git a/srsenb/rr.conf.example b/srsenb/rr.conf.example index 469ac0332..3dd3fee4c 100644 --- a/srsenb/rr.conf.example +++ b/srsenb/rr.conf.example @@ -59,7 +59,7 @@ cell_list = pci = 1; // root_seq_idx = 204; dl_earfcn = 3400; - ul_earfcn = 21400; + //ul_earfcn = 21400; ho_active = false; // CA cells diff --git a/srsenb/src/enb_cfg_parser.cc b/srsenb/src/enb_cfg_parser.cc index ab1127cd4..e53d3c956 100644 --- a/srsenb/src/enb_cfg_parser.cc +++ b/srsenb/src/enb_cfg_parser.cc @@ -714,7 +714,7 @@ static int parse_cell_list(all_args_t* args, rrc_cfg_t* rrc_cfg, Setting& root) HANDLEPARSERCODE(parse_required_field(cell_cfg.pci, cellroot, "pci")); cell_cfg.pci = cell_cfg.pci % SRSLTE_NUM_PCI; HANDLEPARSERCODE(parse_required_field(cell_cfg.dl_earfcn, cellroot, "dl_earfcn")); - HANDLEPARSERCODE(parse_required_field(cell_cfg.ul_earfcn, cellroot, "ul_earfcn")); + cell_cfg.ul_earfcn = cellroot["ul_earfcn"]; // will be derived from DL EARFCN If not set parse_default_field( cell_cfg.root_seq_idx, cellroot, "root_seq_idx", rrc_cfg->sibs[1].sib2().rr_cfg_common.prach_cfg.root_seq_idx);