22#ifndef LTE_TEST_PRIMARY_CELL_CHANGE_H
23#define LTE_TEST_PRIMARY_CELL_CHANGE_H
26#include <ns3/nstime.h>
27#include <ns3/node-container.h>
28#include <ns3/vector.h>
29#include <ns3/lte-ue-rrc.h>
70 uint8_t numberOfComponentCarriers,
71 uint8_t sourceComponentCarrier,
72 uint8_t targetComponentCarrier);
81 virtual void DoRun ();
93 uint16_t cellId, uint16_t rnti,
111 uint16_t cellId, uint16_t rnti);
Testing the handover procedure with multiple component carriers.
virtual ~LtePrimaryCellChangeTestCase()
virtual void DoRun()
Setup the simulation according to the configuration set by the class constructor, run it,...
LtePrimaryCellChangeTestCase(std::string name, bool isIdealRrc, int64_t rngRun, uint8_t numberOfComponentCarriers, uint8_t sourceComponentCarrier, uint8_t targetComponentCarrier)
Creates an instance of the initial cell selection test case.
void InitialPrimaryCellChangeEndOkCallback(std::string context, uint64_t imsi, uint16_t cellId)
Initial cell selection end ok callback function.
void StateTransitionCallback(std::string context, uint64_t imsi, uint16_t cellId, uint16_t rnti, LteUeRrc::State oldState, LteUeRrc::State newState)
State transition callback function.
uint8_t m_sourceComponentCarrier
source primary component carrier
void ConnectionEstablishedCallback(std::string context, uint64_t imsi, uint16_t cellId, uint16_t rnti)
Connection established callback function.
std::map< uint64_t, LteUeRrc::State > m_lastState
The current UE RRC state.
uint8_t m_targetComponentCarrier
target primary component carrier
bool m_isIdealRrc
whether the LTE is configured to use ideal RRC
uint8_t m_numberOfComponentCarriers
number of component carriers
Test suite for executing the primary cell change test cases.
LtePrimaryCellChangeTestSuite()
State
The states of the UE RRC entity.
Every class exported by the ns3 library is enclosed in the ns3 namespace.