mirror of https://github.com/PentHertz/srsLTE.git
added comments explaining the meaning of the cell reselection procedures
This commit is contained in:
parent
49e7b8e36e
commit
f185272367
|
@ -263,6 +263,7 @@ private:
|
||||||
class rrc::cell_reselection_proc
|
class rrc::cell_reselection_proc
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
/// Timer duration to restart Cell Reselection Procedure
|
||||||
const static uint32_t cell_reselection_periodicity_ms = 20, cell_reselection_periodicity_long_ms = 1000;
|
const static uint32_t cell_reselection_periodicity_ms = 20, cell_reselection_periodicity_long_ms = 1000;
|
||||||
|
|
||||||
cell_reselection_proc(rrc* rrc_);
|
cell_reselection_proc(rrc* rrc_);
|
||||||
|
|
|
@ -471,7 +471,7 @@ void rrc::in_sync()
|
||||||
// Cell selection criteria Section 5.2.3.2 of 36.304
|
// Cell selection criteria Section 5.2.3.2 of 36.304
|
||||||
bool rrc::cell_selection_criteria(float rsrp, float rsrq)
|
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)
|
float rrc::get_srxlev(float Qrxlevmeas)
|
||||||
|
|
Loading…
Reference in New Issue