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 ();
   460                                        std::vector<Time> expectedTime);
   481                                       uint16_t cellId, uint16_t rnti,
   491   virtual void DoRun ();
   497   virtual void DoTeardown ();
   501   void TeleportEnbNear ();
   583                                      std::list<LteRrcSap::ReportConfigEutra> sourceConfigList,
   584                                      std::list<LteRrcSap::ReportConfigEutra> targetConfigList,
   585                                      std::vector<Time> expectedTime,
   586                                      std::vector<uint8_t> expectedRsrp,
   608                                       uint16_t cellId, uint16_t rnti,
   618   virtual void DoRun ();
   624   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. 
Ptr< MobilityModel > m_enbMobility
the mobility model 
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. 
std::vector< Time >::iterator m_itExpectedTime
Pointer to the element of m_expectedTime which is expected to occur next in the 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. 
Test suite for generating calls to UE measurements test case ns3::LteUeMeasurementsPiecewiseTestCase3...
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)
Testing UE measurements in LTE with simulation of 3 eNodeB and 1 UE in piecewise configuration and 24...
Test suite for generating calls to UE measurements test case ns3::LteUeMeasurementsPiecewiseTestCase2...
std::vector< Time > m_expectedTime
The list of expected time when measurement reports are received by eNodeB. 
uint8_t m_expectedMeasId
The measurement identity being tested. 
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. 
LteRrcSap::ReportConfigEutra m_config
The active report triggering configuration.