[srslte-users] cell measurements with zmq
J Giovatto
jgiovatto at adjacentlink.com
Wed Jun 2 16:11:30 UTC 2021
Hi Folks,
Im trying to experiment with the intra measure feature with zmq 1 carrier.
Looking at the (very helpful) state diagram in
"/hdr/phy/scell/intra_measure.h/" it looks like
the call to "/set_cells_to_meas()/" is required to get things started.
Looking for this call I see a few places where this might occur:
A) /void rrc::cell_reselection_proc::then(const srsran::proc_state_t&
result)/
/{//
// Info("XXX rrc::cell_reselection_proc::then, connected %d, registered
%d, changed %d",//
// rrc_ptr->is_connected(), rrc_ptr->nas->is_registered(),
cell_sel_result == cs_result_t::changed_cell);//
// //
// // Schedule cell reselection periodically, while rrc is idle//
// if (not rrc_ptr->is_connected() and rrc_ptr->nas->is_registered()) {//
// //if (cell_sel_result == cs_result_t::changed_cell) {//
// // TS 36.304 5.2.4.6 - Intra-frequency and equal priority
inter-frequency Cell Reselection criteria//
// // the UE shall reselect a new cell if more than 1 second has
elapsed since the UE camped//
// // on the current serving cell.//
// reselection_timer.set(cell_reselection_periodicity_long_ms);//
//
// // start intra-frequency measurements if necessary//
// // UE must start intra-frequency measurements//
// auto pci =
rrc_ptr->meas_cells.get_neighbour_pcis(rrc_ptr->meas_cells.serving_cell().get_earfcn());//
// //rrc_ptr->phy->set_cells_to_meas(rrc_ptr->meas_cells.serving_cell().get_earfcn(),
pci);//
// } else {//
// reselection_timer.set(cell_reselection_periodicity_ms);//
// }//
/
15:09:07.891697 [RRC ] [I] Proc "Cell Reselection" - XXX
rrc::cell_reselection_proc::then, connected 0, registered 1, changed 0
15:09:07.897493 [RRC ] [I] Proc "Cell Reselection" - XXX
rrc::cell_reselection_proc::then, connected 0, registered 1, changed 0
15:09:07.904569 [RRC ] [I] Proc "Cell Reselection" - XXX
rrc::cell_reselection_proc::then, connected 0, registered 1, changed 0
15:09:07.911452 [RRC ] [I] Proc "Cell Reselection" - XXX
rrc::cell_reselection_proc::then, connected 0, registered 1, changed 0
There is also an opportunity here but the for loop is never run.
/B) void rrc::rrc_meas::update_phy()//
//{//
// std::list<meas_obj_to_add_mod_s> objects =
meas_cfg.get_active_objects();//
// rrc_ptr->phy->meas_stop();//
// rrc_ptr->rrc_nr->phy_meas_stop();/
/// logger.info("XXX rrc::rrc_meas::update_phy, objects %zu",
objects.size());//
//
// for (const auto& obj : objects) {//
// switch (obj.meas_obj.type().value) {//
// case
meas_obj_to_add_mod_s::meas_obj_c_::types_opts::meas_obj_eutra: {//
// std::set<uint32_t> neighbour_pcis =
rrc_ptr->get_cells(obj.meas_obj.meas_obj_eutra().carrier_freq);//
// for (const auto& cell :
obj.meas_obj.meas_obj_eutra().cells_to_add_mod_list) {//
// neighbour_pcis.insert(cell.pci);//
// }//
// // Instruct PHY to look for cells IDs on this frequency. If
neighbour_pcis is empty it will look for new cells//
//
rrc_ptr->phy->set_cells_to_meas(obj.meas_obj.meas_obj_eutra().carrier_freq,
neighbour_pcis);//
// break;//
// }//
// case
meas_obj_to_add_mod_s::meas_obj_c_::types_opts::meas_obj_nr_r15: {//
//
rrc_ptr->rrc_nr->phy_set_cells_to_meas(obj.meas_obj.meas_obj_nr_r15().carrier_freq_r15);//
// break;//
// }//
// default://
// logger.error("Not supported");//
// break;//
// }//
// // Concatenate cells indicated by enodeb with discovered neighbours//
// }//
//}/
15:08:24.616536 [RRC ] [I] XXX rrc::rrc_meas::update_phy, objects 0
1) Is there some other condition that needs to be met to get things
started ?
2) can I run the ue with 2 carrriers and have some interplay between 2
enb with single carriers ?
Joe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20210602/8ed4a869/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20210602/8ed4a869/attachment.sig>
More information about the srsran-users
mailing list