diff -r a7f730da12ef src/lte/model/lte-ue-rrc.cc --- a/src/lte/model/lte-ue-rrc.cc Fri Nov 30 17:02:35 2018 +0300 +++ b/src/lte/model/lte-ue-rrc.cc Fri Nov 30 19:23:56 2018 +0100 @@ -1148,6 +1148,7 @@ uint16_t maxRsrpCellId = 0; double maxRsrp = -std::numeric_limits::infinity (); + double minRsrp = -140.0; // Minimum RSRP in dBm a UE can report std::map::iterator it; for (it = m_storedMeasValues.begin (); it != m_storedMeasValues.end (); it++) @@ -1156,7 +1157,7 @@ * This block attempts to find a cell with strongest RSRP and has not * yet been identified as "acceptable cell". */ - if (maxRsrp < it->second.rsrp) + if (maxRsrp < it->second.rsrp && it->second.rsrp > minRsrp) { std::set::const_iterator itCell; itCell = m_acceptableCell.find (it->first);