|
|
@ -762,13 +762,14 @@ void rrc::ue::rrc_mobility::handle_ue_meas_report(const meas_report_s& msg)
|
|
|
|
// TODO: check what to do here to take the decision.
|
|
|
|
// TODO: check what to do here to take the decision.
|
|
|
|
// NOTE: for now just accept anything.
|
|
|
|
// NOTE: for now just accept anything.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// NOTE: Handover disabled
|
|
|
|
// Target cell to handover to was selected.
|
|
|
|
// Target cell to handover to was selected.
|
|
|
|
auto& L = rrc_enb->cfg.cell_list[rrc_ue->get_ue_cc_cfg(UE_PCELL_CC_IDX)->enb_cc_idx].meas_cfg.meas_cells;
|
|
|
|
// auto& L = rrc_enb->cfg.cell_list[rrc_ue->get_ue_cc_cfg(UE_PCELL_CC_IDX)->enb_cc_idx].meas_cfg.meas_cells;
|
|
|
|
uint32_t target_eci = std::find_if(L.begin(), L.end(), [pci](meas_cell_cfg_t& c) { return c.pci == pci; })->eci;
|
|
|
|
// uint32_t target_eci = std::find_if(L.begin(), L.end(), [pci](meas_cell_cfg_t& c) { return c.pci == pci;
|
|
|
|
if (not source_ho_proc.launch(*measid_it, *obj_it, *rep_it, *cell_it, eutra_list[i], target_eci)) {
|
|
|
|
// })->eci; if (not source_ho_proc.launch(*measid_it, *obj_it, *rep_it, *cell_it, eutra_list[i], target_eci)) {
|
|
|
|
Error("Failed to start HO procedure, as it is already on-going\n");
|
|
|
|
// Error("Failed to start HO procedure, as it is already on-going\n");
|
|
|
|
return;
|
|
|
|
// return;
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|