From 97db7f2d3491fb5fbf47424cc8b260ca6db9f380 Mon Sep 17 00:00:00 2001 From: Xavier Arteaga Date: Mon, 28 Jun 2021 13:01:59 +0200 Subject: [PATCH] Added custom frequency in cell parser --- srsenb/src/enb_cfg_parser.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/srsenb/src/enb_cfg_parser.cc b/srsenb/src/enb_cfg_parser.cc index c97b3460d..ac80e6f20 100644 --- a/srsenb/src/enb_cfg_parser.cc +++ b/srsenb/src/enb_cfg_parser.cc @@ -828,6 +828,8 @@ 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 % SRSRAN_NUM_PCI; HANDLEPARSERCODE(parse_required_field(cell_cfg.dl_earfcn, cellroot, "dl_earfcn")); + parse_required_field(cell_cfg.dl_freq_hz, cellroot, "dl_freq"); + parse_required_field(cell_cfg.ul_freq_hz, cellroot, "ul_freq"); parse_default_field(cell_cfg.ul_earfcn, cellroot, "ul_earfcn", 0u); // 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);