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. | |
static uint8_t | ActualHysteresis2IeValue (double hysteresisDb) |
Returns the IE value of hysteresis. | |
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 | |
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 | |
static double | IeValue2ActualA3Offset (int8_t a3OffsetIeValue) |
Returns the actual value of an a3-Offset parameter. | |
static double | IeValue2ActualHysteresis (uint8_t hysteresisIeValue) |
Returns the actual value of a hysteresis parameter. | |
static double | IeValue2ActualQQualMin (int8_t qQualMinIeValue) |
Returns the actual value of an Q-QualMin parameter. | |
static double | IeValue2ActualQRxLevMin (int8_t qRxLevMinIeValue) |
Returns the actual value of an Q-RxLevMin parameter. | |
static double | QuantizeRsrp (double v) |
Quantize an RSRP value according to the measurement mapping of TS 36.133. | |
static double | QuantizeRsrq (double v) |
Quantize an RSRQ value according to the measurement mapping of TS 36.133. | |
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 | |
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 | |
Implements the E-UTRA measurement mappings defined in 3GPP TS 36.133 section 9.1 E-UTRAN measurements.
Definition at line 242 of file lte-common.h.
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 305 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 275 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 239 of file lte-common.cc.
Referenced by QuantizeRsrq(), LteUeMeasurementsTestCase::RecvMeasurementReport(), 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 223 of file lte-common.cc.
Referenced by QuantizeRsrp(), LteUeMeasurementsTestCase::RecvMeasurementReport(), and ns3::LteUeRrc::SendMeasurementReport().
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 289 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 259 of file lte-common.cc.
References NS_ASSERT, and NS_FATAL_ERROR.
Referenced by ns3::LteUeRrc::MeasurementReportTriggering().
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 336 of file lte-common.cc.
References NS_ASSERT, and NS_FATAL_ERROR.
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 320 of file lte-common.cc.
References NS_ASSERT, and NS_FATAL_ERROR.
Referenced by ns3::LteUeRrc::EvaluateCellForSelection().
Quantize an RSRP value according to the measurement mapping of TS 36.133.
v | RSRP value in dBm |
Definition at line 247 of file lte-common.cc.
References Dbm2RsrpRange(), and RsrpRange2Dbm().
Quantize an RSRQ value according to the measurement mapping of TS 36.133.
v | RSRQ value in dB |
Definition at line 253 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 215 of file lte-common.cc.
References NS_ASSERT_MSG.
Referenced by ns3::LteUeRrc::MeasurementReportTriggering(), QuantizeRsrp(), LteUeMeasurementsHandoverTestCase::RecvMeasurementReportCallback(), LteUeMeasurementsPiecewiseTestCase1::RecvMeasurementReportCallback(), LteUeMeasurementsPiecewiseTestCase2::RecvMeasurementReportCallback(), and LteUeMeasurementsPiecewiseTestCase3::RecvMeasurementReportCallback().
|
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 231 of file lte-common.cc.
References NS_ASSERT_MSG.
Referenced by ns3::LteUeRrc::MeasurementReportTriggering(), QuantizeRsrq(), LteUeMeasurementsHandoverTestCase::RecvMeasurementReportCallback(), LteUeMeasurementsPiecewiseTestCase1::RecvMeasurementReportCallback(), LteUeMeasurementsPiecewiseTestCase2::RecvMeasurementReportCallback(), and LteUeMeasurementsPiecewiseTestCase3::RecvMeasurementReportCallback().