22 #ifndef LTE_TEST_CELL_SELECTION_H
23 #define LTE_TEST_CELL_SELECTION_H
26 #include <ns3/nstime.h>
27 #include <ns3/node-container.h>
28 #include <ns3/vector.h>
29 #include <ns3/lte-ue-rrc.h>
74 UeSetup_t (
double relPosX,
double relPosY,
bool isCsgMember,
Time checkPoint,
75 uint16_t expectedCellId1, uint16_t expectedCellId2);
90 double interSiteDistance,
91 std::vector<UeSetup_t> ueSetupList,
101 virtual void DoRun ();
108 uint16_t expectedCellId2);
110 void StateTransitionCallback (std::string context, uint64_t imsi,
111 uint16_t cellId, uint16_t rnti,
113 void InitialCellSelectionEndOkCallback (std::string context, uint64_t imsi,
115 void InitialCellSelectionEndErrorCallback (std::string context, uint64_t imsi,
117 void ConnectionEstablishedCallback (std::string context, uint64_t imsi,
118 uint16_t cellId, uint16_t rnti);
Simulation virtual time values and global simulation resolution.
Smart pointer class similar to boost::intrusive_ptr.
A set of input parameters for setting up a UE in the simulation.
double m_interSiteDistance
bool isCsgMember
Whether UE is allowed access to CSG cell.
Testing the initial cell selection procedure by UE at IDLE state in the beginning of simulation...
Every class exported by the ns3 library is enclosed in the ns3 namespace.
uint16_t expectedCellId1
The cell ID that the UE is expected to attach to (0 means that the UE should not attach to any cell)...
std::vector< UeSetup_t > m_ueSetupList
State
The states of the UE RRC entity.
uint16_t expectedCellId2
An alternative cell ID that the UE is expected to attach to (0 means that this no alternative cell is...
Vector position
The position, relative to the inter site distance, where the UE will be spawned in the simulation...
std::vector< LteUeRrc::State > m_lastState
The current UE RRC state.
Time checkPoint
The time in simulation when the UE is verified by the test script.
Test suite for executing the cell selection test cases in without-EPC and with-EPC scenarios...
The LteUeNetDevice class implements the UE net device.