|
|
@ -46,7 +46,7 @@ search::~search()
|
|
|
|
srsran_ue_cellsearch_free(&cs);
|
|
|
|
srsran_ue_cellsearch_free(&cs);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void search::init(srsran::rf_buffer_t& buffer_, uint32_t nof_rx_channels, search_callback* parent)
|
|
|
|
void search::init(srsran::rf_buffer_t& buffer_, uint32_t nof_rx_channels, search_callback* parent, int force_N_id_2_)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
p = parent;
|
|
|
|
p = parent;
|
|
|
|
|
|
|
|
|
|
|
@ -64,7 +64,7 @@ void search::init(srsran::rf_buffer_t& buffer_, uint32_t nof_rx_channels, search
|
|
|
|
// Set options defined in expert section
|
|
|
|
// Set options defined in expert section
|
|
|
|
p->set_ue_sync_opts(&cs.ue_sync, 0);
|
|
|
|
p->set_ue_sync_opts(&cs.ue_sync, 0);
|
|
|
|
|
|
|
|
|
|
|
|
force_N_id_2 = -1;
|
|
|
|
force_N_id_2 = force_N_id_2_;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void search::reset()
|
|
|
|
void search::reset()
|
|
|
|