Implements the E-UTRA measurement mappings defined in 3GPP TS 36.133 section 9.1 E-UTRAN measurements. More...
#include "lte-common.h"
Static Public Member Functions | |
static int8_t | ActualA3Offset2IeValue (double a3OffsetDb) |
Returns the IE value of a3-Offset. More... | |
static uint8_t | ActualHysteresis2IeValue (double hysteresisDb) |
Returns the IE value of hysteresis. More... | |
static uint8_t | Db2RsrqRange (double db) |
convert an RSRQ value in dB to the corresponding range as per 3GPP TS 36.133 section 9.1.7 RSRQ Measurement Report Mapping More... | |
static uint8_t | Dbm2RsrpRange (double dbm) |
convert an RSRP value in dBm to the corresponding range as per 3GPP TS 36.133 section 9.1.4 RSRP Measurement Report Mapping More... | |
static double | IeValue2ActualA3Offset (int8_t a3OffsetIeValue) |
Returns the actual value of an a3-Offset parameter. More... | |
static double | IeValue2ActualHysteresis (uint8_t hysteresisIeValue) |
Returns the actual value of a hysteresis parameter. More... | |
static double | IeValue2ActualQQualMin (int8_t qQualMinIeValue) |
Returns the actual value of an Q-QualMin parameter. More... | |
static double | IeValue2ActualQRxLevMin (int8_t qRxLevMinIeValue) |
Returns the actual value of an Q-RxLevMin parameter. More... | |
static double | QuantizeRsrp (double v) |
Quantize an RSRP value according to the measurement mapping of TS 36.133. More... | |
static double | QuantizeRsrq (double v) |
Quantize an RSRQ value according to the measurement mapping of TS 36.133. More... | |
static double | RsrpRange2Dbm (uint8_t range) |
converts an RSRP range to dBm as per 3GPP TS 36.133 section 9.1.4 RSRP Measurement Report Mapping More... | |
static double | RsrqRange2Db (uint8_t range) |
converts an RSRQ range to dB as per 3GPP TS 36.133 section 9.1.7 RSRQ Measurement Report Mapping More... | |
Implements the E-UTRA measurement mappings defined in 3GPP TS 36.133 section 9.1 E-UTRAN measurements.
Definition at line 256 of file lte-common.h.
|
static |
Returns the IE value of a3-Offset.
a3OffsetDb | actual A3 Offset value in dB |
The allowed values for A3 Offset are between -15 and 15 dB.
Definition at line 335 of file lte-common.cc.
References NS_ASSERT, and NS_FATAL_ERROR.
|
static |
Returns the IE value of hysteresis.
hysteresisDb | actual hysteresis value in dB |
The allowed values for hysteresis are between 0 and 15 dB.
Definition at line 304 of file lte-common.cc.
References NS_ASSERT, and NS_FATAL_ERROR.
Referenced by ns3::A3RsrpHandoverAlgorithm::DoInitialize().
|
static |
convert an RSRQ value in dB to the corresponding range as per 3GPP TS 36.133 section 9.1.7 RSRQ Measurement Report Mapping
db | the RSRQ value in dB |
Definition at line 268 of file lte-common.cc.
Referenced by QuantizeRsrq(), and ns3::LteUeRrc::SendMeasurementReport().
|
static |
convert an RSRP value in dBm to the corresponding range as per 3GPP TS 36.133 section 9.1.4 RSRP Measurement Report Mapping
dbm | the RSRP value in dBm |
Definition at line 252 of file lte-common.cc.
Referenced by QuantizeRsrp(), and ns3::LteUeRrc::SendMeasurementReport().
|
static |
Returns the actual value of an a3-Offset parameter.
a3OffsetIeValue | IE value of a3-Offset |
As per section 6.3.5 of 3GPP TS 36.331.
The allowed values for a3-Offset IE value are between -30 and 30.
Definition at line 319 of file lte-common.cc.
References NS_ASSERT, and NS_FATAL_ERROR.
Referenced by ns3::LteUeRrc::MeasurementReportTriggering().
|
static |
Returns the actual value of a hysteresis parameter.
hysteresisIeValue | IE value of hysteresis |
As per section 6.3.5 of 3GPP TS 36.331.
The allowed values for hysteresis IE value are between 0 and 30.
Definition at line 288 of file lte-common.cc.
References NS_ASSERT, and NS_FATAL_ERROR.
Referenced by ns3::LteUeRrc::MeasurementReportTriggering().
|
static |
Returns the actual value of an Q-QualMin parameter.
qQualMinIeValue | IE value of Q-QualMin |
As per section 6.3.4 of 3GPP TS 36.331.
Definition at line 367 of file lte-common.cc.
References NS_ASSERT, and NS_FATAL_ERROR.
|
static |
Returns the actual value of an Q-RxLevMin parameter.
qRxLevMinIeValue | IE value of Q-RxLevMin |
As per section 6.3.4 of 3GPP TS 36.331.
Definition at line 351 of file lte-common.cc.
References NS_ASSERT, and NS_FATAL_ERROR.
Referenced by ns3::LteUeRrc::EvaluateCellForSelection().
|
static |
Quantize an RSRP value according to the measurement mapping of TS 36.133.
v | RSRP value in dBm |
Definition at line 276 of file lte-common.cc.
References Dbm2RsrpRange(), and RsrpRange2Dbm().
|
static |
Quantize an RSRQ value according to the measurement mapping of TS 36.133.
v | RSRQ value in dB |
Definition at line 282 of file lte-common.cc.
References Db2RsrqRange(), and RsrqRange2Db().
|
static |
converts an RSRP range to dBm as per 3GPP TS 36.133 section 9.1.4 RSRP Measurement Report Mapping
range | the RSRP range value |
Definition at line 244 of file lte-common.cc.
References NS_ASSERT_MSG().
Referenced by ns3::LteUeRrc::MeasurementReportTriggering(), and QuantizeRsrp().
|
static |
converts an RSRQ range to dB as per 3GPP TS 36.133 section 9.1.7 RSRQ Measurement Report Mapping
range | the RSRQ range value |
Definition at line 260 of file lte-common.cc.
References NS_ASSERT_MSG().
Referenced by ns3::LteUeRrc::MeasurementReportTriggering(), and QuantizeRsrq().