21 #ifndef LTE_TEST_RADIO_LINK_FAILURE_H 22 #define LTE_TEST_RADIO_LINK_FAILURE_H 26 #include <ns3/nstime.h> 27 #include <ns3/node-container.h> 28 #include <ns3/net-device-container.h> 29 #include <ns3/vector.h> 30 #include <ns3/lte-ue-rrc.h> 76 std::vector<Vector> uePositionList, std::vector<Vector> enbPositionList,
77 Vector ueJumpAwayPosition, std::vector<Time> checkConnectedList);
89 std::string BuildNameString (uint32_t numEnbs, uint32_t numUes,
bool isIdealRrc);
94 virtual void DoRun ();
127 void UeStateTransitionCallback (std::string context, uint64_t imsi,
128 uint16_t cellId, uint16_t rnti,
138 void ConnectionEstablishedUeCallback (std::string context, uint64_t imsi,
139 uint16_t cellId, uint16_t rnti);
148 void ConnectionEstablishedEnbCallback (std::string context, uint64_t imsi,
149 uint16_t cellId, uint16_t rnti);
158 void ConnectionReleaseAtEnbCallback (std::string context, uint64_t imsi,
159 uint16_t cellId, uint16_t rnti);
170 void PhySyncDetectionCallback (std::string context, uint64_t imsi, uint16_t rnti,
171 uint16_t cellId, std::string type, uint8_t count);
180 void RadioLinkFailureCallback (std::string context, uint64_t imsi, uint16_t cellId, uint16_t rnti);
187 void JumpAway (Vector UeJumpAwayPositionList);
uint32_t m_numOfOutOfSyncIndications
number of out-of-sync indications detected
Simulation virtual time values and global simulation resolution.
Smart pointer class similar to boost::intrusive_ptr.
Time m_simTime
simulation time
std::vector< Vector > m_uePositionList
Position of the UEs.
uint32_t m_numOfInSyncIndications
number of in-sync indications detected
bool m_radioLinkFailureDetected
true if radio link fails
holds a vector of ns3::NetDevice pointers
uint32_t m_numEnbs
number of eNodeBs
uint32_t m_numUes
number of UEs
bool m_isIdealRrc
whether the LTE is configured to use ideal RRC
Every class exported by the ns3 library is enclosed in the ns3 namespace.
Ptr< MobilityModel > m_ueMobility
UE mobility model.
std::vector< Vector > m_enbPositionList
Position of the eNodeBs.
Vector m_ueJumpAwayPosition
Position where the UE(s) would jump.
std::vector< Time > m_checkConnectedList
the time at which UEs should have an active RRC connection
Testing the cell reselection procedure by UE at IDLE state.
State
The states of the UE RRC entity.
LteUeRrc::State m_lastState
The current UE RRC state.
The LteUeNetDevice class implements the UE net device.