SRSENB: Set default PRACH sequence root index in SIB2

master
Xavier Arteaga 5 years ago committed by Xavier Arteaga
parent 31dffb785f
commit 5dcb6b5960

@ -71,6 +71,9 @@ void rrc::init(rrc_cfg_t* cfg_,
configure_mbsfn_sibs(&cfg.sibs[1].sib2(), &cfg.sibs[12].sib13_v920()); configure_mbsfn_sibs(&cfg.sibs[1].sib2(), &cfg.sibs[12].sib13_v920());
} }
// Loads the PRACH root sequence
cfg.sibs[1].sib2().rr_cfg_common.prach_cfg.root_seq_idx = cfg.cell_list[0].root_seq_idx;
nof_si_messages = generate_sibs(); nof_si_messages = generate_sibs();
config_mac(); config_mac();
enb_mobility_cfg.reset(new mobility_cfg(&cfg, log_rrc)); enb_mobility_cfg.reset(new mobility_cfg(&cfg, log_rrc));

Loading…
Cancel
Save