rrc: fix rrc_mobility_test

master
Francisco Paisana 2 years ago committed by Justin Tallon
parent 46c3fcc472
commit 3bd8ad9bd1

@ -34,6 +34,7 @@ enb_cell_common_list::enb_cell_common_list(const rrc_cfg_t& cfg_) : cfg(cfg_)
asn1::number_to_enum(new_cell->mib.dl_bw, cfg.cell.nof_prb);
new_cell->mib.phich_cfg.phich_res.value = (phich_cfg_s::phich_res_opts::options)cfg.cell.phich_resources;
new_cell->mib.phich_cfg.phich_dur.value = (phich_cfg_s::phich_dur_opts::options)cfg.cell.phich_length;
new_cell->mib.part_earfcn_minus17.set_spare().from_number(0);
// Set Cell SIB1
new_cell->sib1 = cfg.sib1;

@ -373,6 +373,7 @@ bool rrc::ue::rrc_mobility::start_ho_preparation(uint32_t target_eci,
hoprep_r8.as_cfg.source_mib.phich_cfg.phich_res.value =
(asn1::rrc::phich_cfg_s::phich_res_e_::options)rrc_enb->cfg.cell.phich_resources;
hoprep_r8.as_cfg.source_mib.sys_frame_num.from_number(0); // NOTE: The TS says this can go empty
hoprep_r8.as_cfg.source_mib.part_earfcn_minus17.set_spare().from_number(0);
hoprep_r8.as_cfg.source_sib_type1 = src_cell_cfg->sib1;
hoprep_r8.as_cfg.source_sib_type2 = src_cell_cfg->sib2;
asn1::number_to_enum(hoprep_r8.as_cfg.ant_info_common.ant_ports_count, rrc_enb->cfg.cell.nof_ports);

Loading…
Cancel
Save