25 #ifndef LTE_TEST_UE_MEASUREMENTS_H 26 #define LTE_TEST_UE_MEASUREMENTS_H 29 #include <ns3/lte-rrc-sap.h> 30 #include <ns3/nstime.h> 83 LteUeMeasurementsTestCase (std::string name,
double d1,
double d2,
double rsrpDbmUe1,
double rsrpDbmUe2,
double rsrqDbUe1,
double rsrqDbUe2);
94 void ReportUeMeasurements (uint16_t rnti, uint16_t cellId,
double rsrp,
double rsrq,
bool servingCell);
106 virtual void DoRun (
void);
167 std::vector<Time> expectedTime,
168 std::vector<uint8_t> expectedRsrp);
189 uint16_t cellId, uint16_t rnti,
199 virtual void DoRun ();
205 virtual void DoTeardown ();
208 void TeleportVeryNear ();
210 void TeleportNear ();
214 void TeleportVeryFar ();
306 std::vector<Time> expectedTime,
307 std::vector<uint8_t> expectedRsrp);
328 uint16_t cellId, uint16_t rnti,
338 virtual void DoRun ();
344 virtual void DoTeardown ();
347 void TeleportVeryNear ();
349 void TeleportNear ();
353 void TeleportVeryFar ();
446 std::list<LteRrcSap::ReportConfigEutra> sourceConfigList,
447 std::list<LteRrcSap::ReportConfigEutra> targetConfigList,
448 std::vector<Time> expectedTime,
449 std::vector<uint8_t> expectedRsrp,
471 uint16_t cellId, uint16_t rnti,
481 virtual void DoRun ();
487 virtual void DoTeardown ();
Ptr< MobilityModel > m_ueMobility
the mobility model
Simulation virtual time values and global simulation resolution.
uint8_t m_expectedMeasId
The measurement identity being tested.
Testing UE measurements in LTE with simulation of 2 eNodeB and 1 UE in piecewise configuration and 24...
MeasurementReport structure.
std::vector< Time >::iterator m_itExpectedTime
Pointer to the element of m_expectedTime which is expected to occur next in the simulation.
std::list< LteRrcSap::ReportConfigEutra > m_sourceConfigList
The list of active report triggering configuration for the source eNodeB.
Specifies criteria for triggering of an E-UTRA measurement reporting event.
std::vector< Time > m_expectedTime
The list of expected time when measurement reports are received by eNodeB.
std::vector< uint8_t > m_expectedRsrp
The list of expected values of RSRP (in 3GPP range unit) from the measurement reports received...
Testing UE measurements in LTE with simulation of 1 eNodeB and 1 UE in piecewise configuration and 12...
Test that UE Measurements (see 36.214) calculation works fine in a multi-cell interference scenario...
Keep track of the current position and velocity of an object.
std::set< uint8_t > m_expectedTargetCellMeasId
The list of measurement identities being tested in the target cell.
Test that UE measurements calculation works properly in a scenario with 2 eNodeBs and 2UEs...
double m_rsrpDbmUeNeighborCell
RSRP in dBm UE 2.
std::vector< uint8_t >::iterator m_itExpectedRsrp
Pointer to the element of m_expectedRsrp which is expected to occur next in the simulation.
Test suite for generating calls to UE measurements test case ns3::LteUeMeasurementsHandoverTestCase.
std::vector< uint8_t > m_expectedRsrp
The list of expected values of RSRP (in 3GPP range unit) from the measurement reports received...
std::vector< Time > m_expectedTime
The list of expected time when measurement reports are received by eNodeB.
double m_rsrqDbUeServingCell
RSRQ in dBm UE 1.
LteRrcSap::ReportConfigEutra m_config
The active report triggering configuration.
Time m_duration
Duration of simulation.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
std::vector< uint8_t >::iterator m_itExpectedRsrp
Pointer to the element of m_expectedRsrp which is expected to occur next in the simulation.
std::vector< Time >::iterator m_itExpectedTime
Pointer to the element of m_expectedTime which is expected to occur next in the simulation.
double m_d2
distance between UE and other ENB node
double m_rsrqDbUeNeighborCell
RSRQ in dBm UE 2.
Test suite for generating calls to UE measurements test case ns3::LteUeMeasurementsPiecewiseTestCase1...
std::vector< uint8_t > m_expectedRsrp
The list of expected values of RSRP (in 3GPP range unit) from the measurement reports received...
std::list< LteRrcSap::ReportConfigEutra > m_targetConfigList
The list of active report triggering configuration for the target eNodeB.
double m_rsrpDbmUeServingCell
RSRP in dBm UE 1.
Testing UE measurements in LTE with simulation of 2 eNodeB and 1 UE in a handover configuration...
Ptr< MobilityModel > m_ueMobility
the mobility model
std::vector< Time > m_expectedTime
The list of expected time when measurement reports are received by eNodeB.
std::set< uint8_t > m_expectedSourceCellMeasId
The list of measurement identities being tested in the source cell.
uint8_t m_expectedMeasId
The measurement identity being tested.
double m_d1
distance between UE and ENB node pair
std::vector< uint8_t >::iterator m_itExpectedRsrp
Pointer to the element of m_expectedRsrp which is expected to occur next in the simulation.
void RecvMeasurementReportCallback(LteUeMeasurementsTestCase *testcase, std::string path, uint64_t imsi, uint16_t cellId, uint16_t rnti, LteRrcSap::MeasurementReport meas)
Test suite for generating calls to UE measurements test case ns3::LteUeMeasurementsPiecewiseTestCase2...
std::vector< Time >::iterator m_itExpectedTime
Pointer to the element of m_expectedTime which is expected to occur next in the simulation.
LteRrcSap::ReportConfigEutra m_config
The active report triggering configuration.