make UL earfcn optional in cell list

master
Andre Puschmann 5 years ago
parent a9f3ae9cce
commit 73feeaeba9

@ -59,7 +59,7 @@ cell_list =
pci = 1; pci = 1;
// root_seq_idx = 204; // root_seq_idx = 204;
dl_earfcn = 3400; dl_earfcn = 3400;
ul_earfcn = 21400; //ul_earfcn = 21400;
ho_active = false; ho_active = false;
// CA cells // CA cells

@ -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")); HANDLEPARSERCODE(parse_required_field(cell_cfg.pci, cellroot, "pci"));
cell_cfg.pci = cell_cfg.pci % SRSLTE_NUM_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.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( 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); cell_cfg.root_seq_idx, cellroot, "root_seq_idx", rrc_cfg->sibs[1].sib2().rr_cfg_common.prach_cfg.root_seq_idx);

Loading…
Cancel
Save