20 #ifndef LTE_TEST_RADIO_LINK_FAILURE_H
21 #define LTE_TEST_RADIO_LINK_FAILURE_H
23 #include <ns3/lte-ue-rrc.h>
24 #include <ns3/mobility-model.h>
25 #include <ns3/net-device-container.h>
26 #include <ns3/node-container.h>
27 #include <ns3/nstime.h>
29 #include <ns3/vector.h>
78 std::vector<Vector> uePositionList,
79 std::vector<Vector> enbPositionList,
80 Vector ueJumpAwayPosition,
81 std::vector<Time> checkConnectedList);
93 std::string BuildNameString(uint32_t numEnbs, uint32_t numUes,
bool isIdealRrc);
98 void DoRun()
override;
131 void UeStateTransitionCallback(std::string context,
145 void ConnectionEstablishedUeCallback(std::string context,
157 void ConnectionEstablishedEnbCallback(std::string context,
169 void ConnectionReleaseAtEnbCallback(std::string context,
184 void PhySyncDetectionCallback(std::string context,
198 void RadioLinkFailureCallback(std::string context,
208 void JumpAway(Vector UeJumpAwayPositionList);
Testing the cell reselection procedure by UE at IDLE state.
uint32_t m_numOfInSyncIndications
number of in-sync indications detected
bool m_radioLinkFailureDetected
true if radio link fails
uint32_t m_numEnbs
number of eNodeBs
bool m_isIdealRrc
whether the LTE is configured to use ideal RRC
std::vector< Vector > m_enbPositionList
Position of the eNodeBs.
Vector m_ueJumpAwayPosition
Position where the UE(s) would jump.
Ptr< MobilityModel > m_ueMobility
UE mobility model.
std::vector< Vector > m_uePositionList
Position of the UEs.
LteUeRrc::State m_lastState
The current UE RRC state.
std::vector< Time > m_checkConnectedList
the time at which UEs should have an active RRC connection
Time m_simTime
simulation time
uint32_t m_numUes
number of UEs
uint32_t m_numOfOutOfSyncIndications
number of out-of-sync indications detected
The LteUeNetDevice class implements the UE net device.
State
The states of the UE RRC entity.
holds a vector of ns3::NetDevice pointers
Smart pointer class similar to boost::intrusive_ptr.
Simulation virtual time values and global simulation resolution.
Every class exported by the ns3 library is enclosed in the ns3 namespace.