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> 
   61   LteUeMeasurementsTestCase (std::string name, 
double d1, 
double d2, 
double rsrpDbmUe1, 
double rsrpDbmUe2, 
double rsrqDbUe1, 
double rsrqDbUe2);
 
   64   void ReportUeMeasurements (uint16_t rnti, uint16_t cellId, 
double rsrp, 
double rsrq, 
bool servingCell);
 
   69   virtual void DoRun (
void);
 
  105                                        std::vector<Time> expectedTime,
 
  106                                        std::vector<uint8_t> expectedRsrp);
 
  121                                       uint16_t cellId, uint16_t rnti,
 
  131   virtual void DoRun ();
 
  137   virtual void DoTeardown ();
 
  139   void TeleportVeryNear ();
 
  140   void TeleportNear ();
 
  142   void TeleportVeryFar ();
 
  209                                        std::vector<Time> expectedTime,
 
  210                                        std::vector<uint8_t> expectedRsrp);
 
  225                                       uint16_t cellId, uint16_t rnti,
 
  235   virtual void DoRun ();
 
  241   virtual void DoTeardown ();
 
  243   void TeleportVeryNear ();
 
  244   void TeleportNear ();
 
  246   void TeleportVeryFar ();
 
  315                                      std::list<LteRrcSap::ReportConfigEutra> sourceConfigList,
 
  316                                      std::list<LteRrcSap::ReportConfigEutra> targetConfigList,
 
  317                                      std::vector<Time> expectedTime,
 
  318                                      std::vector<uint8_t> expectedRsrp,
 
  334                                       uint16_t cellId, uint16_t rnti,
 
  344   virtual void DoRun ();
 
  350   virtual void DoTeardown ();
 
Ptr< MobilityModel > m_ueMobility
 
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...
 
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. 
 
double m_rsrpDbmUeNeighborCell
 
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
 
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_rsrqDbUeNeighborCell
 
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
 
Testing UE measurements in LTE with simulation of 2 eNodeB and 1 UE in a handover configuration...
 
Ptr< MobilityModel > m_ueMobility
 
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. 
 
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.