added comments explaining the meaning of the cell reselection procedures

master
Francisco Paisana 4 years ago
parent 49e7b8e36e
commit f185272367

@ -263,6 +263,7 @@ private:
class rrc::cell_reselection_proc
{
public:
/// Timer duration to restart Cell Reselection Procedure
const static uint32_t cell_reselection_periodicity_ms = 20, cell_reselection_periodicity_long_ms = 1000;
cell_reselection_proc(rrc* rrc_);

@ -471,7 +471,7 @@ void rrc::in_sync()
// Cell selection criteria Section 5.2.3.2 of 36.304
bool rrc::cell_selection_criteria(float rsrp, float rsrq)
{
return std::isnormal(rsrp) and (meas_cells.serving_cell().has_sib3() and get_srxlev(rsrp) > 0);
return std::isnormal(rsrp) and meas_cells.serving_cell().has_sib3() and get_srxlev(rsrp) > 0;
}
float rrc::get_srxlev(float Qrxlevmeas)

Loading…
Cancel
Save