SRSUE: fix intra-frequency measurement cell select

master
Xavier Arteaga 5 years ago committed by Xavier Arteaga
parent 22e4d3c905
commit db36fb08a2

@ -324,6 +324,9 @@ bool sync::cell_select(phy_interface_rrc_lte::phy_cell_t* new_cell)
return ret; return ret;
} }
} }
/* Reconfigure intra-frequency measurement */
intra_freq_meas.set_primay_cell(current_earfcn, cell);
} }
/* Change sampling rate if necessary */ /* Change sampling rate if necessary */
@ -814,7 +817,6 @@ bool sync::set_cell()
} }
sfn_p.set_cell(cell); sfn_p.set_cell(cell);
worker_com->set_cell(cell); worker_com->set_cell(cell);
intra_freq_meas.set_primay_cell(current_earfcn, cell);
for (uint32_t i = 0; i < workers_pool->get_nof_workers(); i++) { for (uint32_t i = 0; i < workers_pool->get_nof_workers(); i++) {
if (!((sf_worker*)workers_pool->get_worker(i))->set_cell(0, cell)) { if (!((sf_worker*)workers_pool->get_worker(i))->set_cell(0, cell)) {

Loading…
Cancel
Save