added comments explaining the meaning of the cell reselection procedures

This commit is contained in:
Francisco Paisana 2020-10-09 14:20:55 +01:00
parent 49e7b8e36e
commit f185272367
2 changed files with 2 additions and 1 deletions

View File

@ -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_);

View File

@ -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)