25 #include <ns3/object.h> 26 #include <ns3/lte-as-sap.h> 27 #include <ns3/epc-tft-classifier.h> 129 void Connect (uint16_t cellId, uint32_t dlEarfcn);
256 #endif // EPC_UE_NAS_H void SwitchToState(State s)
Switch the UE RRC to the given state.
void ActivateEpsBearer(EpsBearer bearer, Ptr< EpcTft > tft)
Activate an EPS bearer.
Callback< void, Ptr< Packet > > m_forwardUpCallback
upward callback
Smart pointer class similar to boost::intrusive_ptr.
LteAsSapProvider * m_asSapProvider
LTE SAP provider.
void(* StateTracedCallback)(const State oldState, const State newState)
TracedCallback signature for state change events.
classifies IP packets according to Traffic Flow Templates (TFTs)
void DoNotifyConnectionSuccessful()
Notify successful connection.
uint32_t GetCsgId() const
This class implements the Access Stratum (AS) Service Access Point (SAP), i.e., the interface between...
Ptr< NetDevice > m_device
The UE NetDevice.
void DoNotifyConnectionReleased()
Notify connection released.
void StartCellSelection(uint32_t dlEarfcn)
Causes NAS to tell AS to find a suitable cell and camp to it.
This class contains the specification of EPS Bearers.
LteAsSapUser * GetAsSapUser()
void SetCsgId(uint32_t csgId)
void SetDevice(Ptr< NetDevice > dev)
Template for the implementation of the LteAsSapUser as a member of an owner class of type C to which ...
uint64_t m_imsi
The unique UE identifier.
EpcTftClassifier m_tftClassifier
tft classifier
TracedCallback< State, State > m_stateTransitionCallback
The StateTransition trace source.
State m_state
The current UE NAS state.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
void DoNotifyConnectionFailed()
Notify connection failed.
This class implements the Access Stratum (AS) Service Access Point (SAP), i.e., the interface between...
BearerToBeActivated structure.
bool Send(Ptr< Packet > p)
Enqueue an IP packet on the proper bearer for uplink transmission.
void Disconnect()
instruct the NAS to disconnect
virtual ~EpcUeNas()
Destructor.
void SetForwardUpCallback(Callback< void, Ptr< Packet > > cb)
set the callback used to forward data packets up the stack
LteAsSapUser * m_asSapUser
LTE SAP user.
void DoActivateEpsBearer(EpsBearer bearer, Ptr< EpcTft > tft)
Activate EPS Bearer.
State
Definition of NAS states as per "LTE - From theory to practice", Section 3.2.3.2 "Connection Establis...
void SetAsSapProvider(LteAsSapProvider *s)
Set the AS SAP provider to interact with the NAS entity.
static TypeId GetTypeId(void)
Get the type ID.
void Connect()
Causes NAS to tell AS to go to ACTIVE state.
A base class which provides memory management and object aggregation.
void SetImsi(uint64_t imsi)
a unique identifier for an interface.
void DoRecvData(Ptr< Packet > packet)
Receive data.
std::list< BearerToBeActivated > m_bearersToBeActivatedList
bearers to be activated list
EpsBearer bearer
EPS bearer.
uint8_t m_bidCounter
bid counter
uint32_t m_csgId
Closed Subscriber Group identity.
virtual void DoDispose(void)
Destructor implementation.