A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::EutranMeasurementMapping Class Reference

#include <lte-common.h>

Static Public Member Functions

static uint8_t Db2RsrqRange (double db)
 
static uint8_t Dbm2RsrpRange (double dbm)
 
static double QuantizeRsrp (double v)
 
static double QuantizeRsrq (double v)
 
static double RsrpRange2Dbm (uint8_t range)
 
static double RsrqRange2Db (uint8_t range)
 

Detailed Description

Implements the E-UTRA measurement mappings defined in 3GPP TS 36.133 section 9.1 E-UTRAN measurements

Definition at line 156 of file lte-common.h.

Member Function Documentation

uint8_t ns3::EutranMeasurementMapping::Db2RsrqRange ( double  db)
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

Parameters
dbthe RSRQ value in dB
Returns
the corresponding range

Definition at line 226 of file lte-common.cc.

Referenced by QuantizeRsrq(), ns3::LteUeMeasurementsTestCase::RecvMeasurementReport(), and ns3::LteUeRrc::SendMeasurementReport().

+ Here is the caller graph for this function:

uint8_t ns3::EutranMeasurementMapping::Dbm2RsrpRange ( double  dbm)
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

Parameters
dbmthe RSRP value in dBm
Returns
the corresponding range

Definition at line 210 of file lte-common.cc.

Referenced by QuantizeRsrp(), ns3::LteUeMeasurementsTestCase::RecvMeasurementReport(), and ns3::LteUeRrc::SendMeasurementReport().

+ Here is the caller graph for this function:

double ns3::EutranMeasurementMapping::QuantizeRsrp ( double  v)
static

Quantize an RSRP value according to the measurement mapping of TS 36.133

Parameters
vRSRP value in dBm
Returns
the quantized RSRP value in dBm

Definition at line 234 of file lte-common.cc.

References Dbm2RsrpRange(), and RsrpRange2Dbm().

+ Here is the call graph for this function:

double ns3::EutranMeasurementMapping::QuantizeRsrq ( double  v)
static

Quantize an RSRQ value according to the measurement mapping of TS 36.133

Parameters
vRSRQ value in dB
Returns
the quantized RSRQ value in dB

Definition at line 240 of file lte-common.cc.

References Db2RsrqRange(), and RsrqRange2Db().

+ Here is the call graph for this function:

double ns3::EutranMeasurementMapping::RsrpRange2Dbm ( uint8_t  range)
static

converts an RSRP range to dBm as per 3GPP TS 36.133 section 9.1.4 RSRP Measurement Report Mapping

Parameters
rangethe RSRP range value
Returns
the corresponding RSRP value in dBm

Definition at line 202 of file lte-common.cc.

References NS_ASSERT_MSG.

Referenced by ns3::LteUeRrc::DoReportUeMeasurements(), and QuantizeRsrp().

+ Here is the caller graph for this function:

double ns3::EutranMeasurementMapping::RsrqRange2Db ( uint8_t  range)
static

converts an RSRQ range to dB as per 3GPP TS 36.133 section 9.1.7 RSRQ Measurement Report Mapping

Parameters
rangethe RSRQ range value
Returns
the corresponding RSRQ value in dB

Definition at line 218 of file lte-common.cc.

References NS_ASSERT_MSG.

Referenced by ns3::LteUeRrc::DoReportUeMeasurements(), and QuantizeRsrq().

+ Here is the caller graph for this function:


The documentation for this class was generated from the following files: