A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::LteUeRrc Class Reference

#include <lte-ue-rrc.h>

+ Inheritance diagram for ns3::LteUeRrc:
+ Collaboration diagram for ns3::LteUeRrc:

Public Types

enum  State {
  IDLE_CELL_SELECTION = 0, IDLE_WAIT_SYSTEM_INFO, IDLE_CAMPED_NORMALLY, IDLE_RANDOM_ACCESS,
  IDLE_CONNECTING, CONNECTED_NORMALLY, CONNECTED_REESTABLISHING, CONNECTED_HANDOVER,
  NUM_STATES
}

Public Member Functions

 LteUeRrc ()
virtual ~LteUeRrc ()
LteAsSapProviderGetAsSapProvider ()
uint16_t GetCellId () const
uint8_t GetDlBandwidth () const
uint16_t GetDlEarfcn () const
uint64_t GetImsi (void)
LteUeCmacSapUserGetLteUeCmacSapUser ()
LteUeCphySapUserGetLteUeCphySapUser ()
LteUeRrcSapProviderGetLteUeRrcSapProvider ()
uint16_t GetRnti () const
State GetState ()
uint8_t GetUlBandwidth () const
uint16_t GetUlEarfcn () const
void SetAsSapUser (LteAsSapUser *s)
void SetImsi (uint64_t imsi)
void SetLteMacSapProvider (LteMacSapProvider *s)
void SetLteUeCmacSapProvider (LteUeCmacSapProvider *s)
void SetLteUeCphySapProvider (LteUeCphySapProvider *s)
void SetLteUeRrcSapUser (LteUeRrcSapUser *s)
void SetUseRlcSm (bool val)
- Public Member Functions inherited from ns3::Object
 Object ()
virtual ~Object ()
void AggregateObject (Ptr< Object > other)
void Dispose (void)
AggregateIterator GetAggregateIterator (void) const
virtual TypeId GetInstanceTypeId (void) const
template<typename T >
Ptr< T > GetObject (void) const
template<typename T >
Ptr< T > GetObject (TypeId tid) const
void Initialize (void)
- Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter >
 SimpleRefCount ()
 SimpleRefCount (const SimpleRefCount &o)
uint32_t GetReferenceCount (void) const
SimpleRefCountoperator= (const SimpleRefCount &o)
void Ref (void) const
void Unref (void) const
- Public Member Functions inherited from ns3::ObjectBase
virtual ~ObjectBase ()
void GetAttribute (std::string name, AttributeValue &value) const
bool GetAttributeFailSafe (std::string name, AttributeValue &attribute) const
void SetAttribute (std::string name, const AttributeValue &value)
bool SetAttributeFailSafe (std::string name, const AttributeValue &value)
bool TraceConnect (std::string name, std::string context, const CallbackBase &cb)
bool TraceConnectWithoutContext (std::string name, const CallbackBase &cb)
bool TraceDisconnect (std::string name, std::string context, const CallbackBase &cb)
bool TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb)

Static Public Member Functions

static TypeId GetTypeId (void)

Private Member Functions

void ApplyRadioResourceConfigDedicated (LteRrcSap::RadioResourceConfigDedicated rrcd)
uint8_t Bid2Drbid (uint8_t bid)
void DisposeOldSrb1 ()
void DoCompleteSetup (LteUeRrcSapProvider::CompleteSetupParameters params)
void DoConnect ()
void DoDisconnect ()
virtual void DoDispose (void)
void DoForceCampedOnEnb (uint16_t cellId, uint16_t earfcn)
virtual void DoInitialize (void)
void DoNotifyRandomAccessFailed ()
void DoNotifyRandomAccessSuccessful ()
void DoReceivePdcpSdu (LtePdcpSapUser::ReceivePdcpSduParameters params)
void DoRecvMasterInformationBlock (LteRrcSap::MasterInformationBlock msg)
void DoRecvRrcConnectionReconfiguration (LteRrcSap::RrcConnectionReconfiguration msg)
void DoRecvRrcConnectionReestablishment (LteRrcSap::RrcConnectionReestablishment msg)
void DoRecvRrcConnectionReestablishmentReject (LteRrcSap::RrcConnectionReestablishmentReject msg)
void DoRecvRrcConnectionReject (LteRrcSap::RrcConnectionReject msg)
void DoRecvRrcConnectionRelease (LteRrcSap::RrcConnectionRelease msg)
void DoRecvRrcConnectionSetup (LteRrcSap::RrcConnectionSetup msg)
void DoRecvSystemInformation (LteRrcSap::SystemInformation msg)
void DoRecvSystemInformationBlockType1 (LteRrcSap::SystemInformationBlockType1 msg)
void DoSendData (Ptr< Packet > packet, uint8_t bid)
void DoSetTemporaryCellRnti (uint16_t rnti)
void LeaveConnectedMode ()
void StartConnection ()
void SwitchToState (State s)

Private Attributes

LteAsSapProviderm_asSapProvider
LteAsSapUserm_asSapUser
std::map< uint8_t, uint8_t > m_bid2DrbidMap
uint16_t m_cellId
LteUeCmacSapProviderm_cmacSapProvider
LteUeCmacSapUserm_cmacSapUser
TracedCallback< uint64_t,
uint16_t, uint16_t > 
m_connectionEstablishedTrace
bool m_connectionPending
TracedCallback< uint64_t,
uint16_t, uint16_t > 
m_connectionReconfigurationTrace
LteUeCphySapProviderm_cphySapProvider
LteUeCphySapUserm_cphySapUser
uint8_t m_dlBandwidth
uint16_t m_dlEarfcn
std::map< uint8_t, Ptr
< LteDataRadioBearerInfo > > 
m_drbMap
LtePdcpSapUserm_drbPdcpSapUser
TracedCallback< uint64_t,
uint16_t, uint16_t > 
m_handoverEndOkTrace
TracedCallback< uint64_t,
uint16_t, uint16_t, uint16_t > 
m_handoverStartTrace
uint64_t m_imsi
uint8_t m_lastRrcTransactionIdentifier
LteMacSapProviderm_macSapProvider
TracedCallback< uint64_t,
uint16_t, uint16_t > 
m_randomAccessSuccessfulTrace
bool m_receivedMib
bool m_receivedSib2
uint16_t m_rnti
LteUeRrcSapProviderm_rrcSapProvider
LteUeRrcSapUserm_rrcSapUser
Ptr< LteSignalingRadioBearerInfom_srb0
Ptr< LteSignalingRadioBearerInfom_srb1
Ptr< LteSignalingRadioBearerInfom_srb1Old
State m_state
TracedCallback< uint64_t,
uint16_t, uint16_t, State,
State
m_stateTransitionTrace
uint8_t m_ulBandwidth
uint16_t m_ulEarfcn
bool m_useRlcSm

Friends

class LtePdcpSpecificLtePdcpSapUser< LteUeRrc >
class MemberLteAsSapProvider< LteUeRrc >
class MemberLteUeCphySapUser< LteUeRrc >
class MemberLteUeRrcSapProvider< LteUeRrc >
class UeMemberLteUeCmacSapUser
class UeRrcMemberLteEnbCmacSapUser

Additional Inherited Members

- Protected Member Functions inherited from ns3::Object
 Object (const Object &o)
virtual void DoDispose (void)
virtual void DoInitialize (void)
virtual void NotifyNewAggregate (void)

Detailed Description

Config Paths

ns3::LteUeRrc is accessible through the following paths with Config::Set and Config::Connect:

  • /NodeList/[i]/DeviceList/[i]/$ns3::LteNetDevice/$ns3::LteUeNetDevice/LteUeRrc
  • /NodeList/[i]/DeviceList/[i]/$ns3::LteUeNetDevice/LteUeRrc

Attributes

TraceSources

  • StateTransition: trace fired upon every UE RRC state transition
  • RandomAccessSuccessful: trace fired upon successful completion of the random access procedure
  • ConnectionEstablished: trace fired upon successful RRC connection establishment
  • ConnectionReconfiguration: trace fired upon RRC connection reconfiguration
  • HandoverStart: trace fired upon start of a handover procedure
  • HandoverEndOk: trace fired upon successful termination of a handover procedure

Definition at line 49 of file lte-ue-rrc.h.

Member Enumeration Documentation

The states of the UE RRC entity

Enumerator:
IDLE_CELL_SELECTION 
IDLE_WAIT_SYSTEM_INFO 
IDLE_CAMPED_NORMALLY 
IDLE_RANDOM_ACCESS 
IDLE_CONNECTING 
CONNECTED_NORMALLY 
CONNECTED_REESTABLISHING 
CONNECTED_HANDOVER 
NUM_STATES 

Definition at line 65 of file lte-ue-rrc.h.

Constructor & Destructor Documentation

ns3::LteUeRrc::LteUeRrc ( )

create an RRC instance for use within an ue

Definition at line 119 of file lte-ue-rrc.cc.

References m_asSapProvider, m_cmacSapUser, m_cphySapUser, m_drbPdcpSapUser, m_rrcSapProvider, NS_LOG_FUNCTION, and UeMemberLteUeCmacSapUser.

ns3::LteUeRrc::~LteUeRrc ( )
virtual

Destructor

Definition at line 144 of file lte-ue-rrc.cc.

References NS_LOG_FUNCTION.

Member Function Documentation

void ns3::LteUeRrc::ApplyRadioResourceConfigDedicated ( LteRrcSap::RadioResourceConfigDedicated  rrcd)
private

Definition at line 730 of file lte-ue-rrc.cc.

References ns3::LteUeCmacSapProvider::AddLc(), ns3::LteRrcSap::RlcConfig::AM, ns3::LteRrcSap::PhysicalConfigDedicated::antennaInfo, ns3::LteUeCmacSapProvider::LogicalChannelConfig::bucketSizeDurationMs, ns3::LteRrcSap::LogicalChannelConfig::bucketSizeDurationMs, CONNECTED_HANDOVER, ns3::ObjectFactory::Create(), ns3::LteRrcSap::RadioResourceConfigDedicated::drbToAddModList, ns3::LteRrcSap::RadioResourceConfigDedicated::drbToReleaseList, ns3::LteRlc::GetLteMacSapUser(), ns3::LtePdcp::GetLtePdcpSapProvider(), ns3::LteRlc::GetLteRlcSapProvider(), ns3::LtePdcp::GetLteRlcSapUser(), ns3::Object::GetObject(), GetTypeId(), ns3::LteRlcSm::GetTypeId(), ns3::LteRrcSap::PhysicalConfigDedicated::haveAntennaInfoDedicated, ns3::LteRrcSap::PhysicalConfigDedicated::haveSoundingRsUlConfigDedicated, IDLE_CONNECTING, ns3::Object::Initialize(), ns3::LteUeCmacSapProvider::LogicalChannelConfig::logicalChannelGroup, ns3::LteRrcSap::LogicalChannelConfig::logicalChannelGroup, m_bid2DrbidMap, m_cmacSapProvider, m_cphySapProvider, ns3::LteDataRadioBearerInfo::m_drbIdentity, m_drbMap, m_drbPdcpSapUser, ns3::LteDataRadioBearerInfo::m_epsBearerIdentity, m_imsi, ns3::LteSignalingRadioBearerInfo::m_logicalChannelConfig, ns3::LteDataRadioBearerInfo::m_logicalChannelIdentity, m_macSapProvider, ns3::LteRadioBearerInfo::m_pdcp, ns3::LteRadioBearerInfo::m_rlc, m_rnti, m_rrcSapUser, m_srb0, m_srb1, ns3::LteSignalingRadioBearerInfo::m_srbIdentity, m_state, m_useRlcSm, NS_ASSERT_MSG, NS_FATAL_ERROR, NS_LOG_FUNCTION, NS_LOG_INFO, ns3::LteRrcSap::RadioResourceConfigDedicated::physicalConfigDedicated, ns3::LteUeCmacSapProvider::LogicalChannelConfig::prioritizedBitRateKbps, ns3::LteRrcSap::LogicalChannelConfig::prioritizedBitRateKbps, ns3::LteUeCmacSapProvider::LogicalChannelConfig::priority, ns3::LteRrcSap::LogicalChannelConfig::priority, ns3::LtePdcp::SetLcId(), ns3::LteRlc::SetLcId(), ns3::LteRlc::SetLteMacSapProvider(), ns3::LtePdcp::SetLtePdcpSapUser(), ns3::LtePdcp::SetLteRlcSapProvider(), ns3::LteRlc::SetLteRlcSapUser(), ns3::LtePdcp::SetRnti(), ns3::LteRlc::SetRnti(), ns3::LteUeCphySapProvider::SetSrsConfigurationIndex(), ns3::LteUeCphySapProvider::SetTransmissionMode(), ns3::ObjectFactory::SetTypeId(), ns3::LteUeRrcSapUser::Setup(), ns3::LteRrcSap::PhysicalConfigDedicated::soundingRsUlConfigDedicated, ns3::LteUeRrcSapUser::SetupParameters::srb0SapProvider, ns3::LteRrcSap::RadioResourceConfigDedicated::srbToAddModList, ns3::LteRrcSap::SoundingRsUlConfigDedicated::srsConfigIndex, ns3::ToString(), ns3::LteRrcSap::AntennaInfoDedicated::transmissionMode, and ns3::LteRrcSap::RlcConfig::UM_BI_DIRECTIONAL.

Referenced by DoRecvRrcConnectionReconfiguration(), and DoRecvRrcConnectionSetup().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

uint8_t ns3::LteUeRrc::Bid2Drbid ( uint8_t  bid)
private

Definition at line 937 of file lte-ue-rrc.cc.

References m_bid2DrbidMap, and NS_ASSERT_MSG.

Referenced by DoSendData().

+ Here is the caller graph for this function:

void ns3::LteUeRrc::DisposeOldSrb1 ( )
private

Definition at line 930 of file lte-ue-rrc.cc.

References m_srb1Old, and NS_LOG_FUNCTION.

Referenced by DoRecvRrcConnectionReconfiguration().

+ Here is the caller graph for this function:

void ns3::LteUeRrc::DoDisconnect ( )
private
void ns3::LteUeRrc::DoDispose ( void  )
privatevirtual
void ns3::LteUeRrc::DoForceCampedOnEnb ( uint16_t  cellId,
uint16_t  earfcn 
)
private

Definition at line 485 of file lte-ue-rrc.cc.

References IDLE_WAIT_SYSTEM_INFO, m_cellId, m_cphySapProvider, m_dlEarfcn, NS_LOG_FUNCTION, SwitchToState(), and ns3::LteUeCphySapProvider::SyncronizeWithEnb().

+ Here is the call graph for this function:

void ns3::LteUeRrc::DoNotifyRandomAccessFailed ( )
private

Definition at line 478 of file lte-ue-rrc.cc.

References NS_LOG_FUNCTION.

Referenced by ns3::UeMemberLteUeCmacSapUser::NotifyRandomAccessFailed().

+ Here is the caller graph for this function:

void ns3::LteUeRrc::DoReceivePdcpSdu ( LtePdcpSapUser::ReceivePdcpSduParameters  params)
private

Definition at line 427 of file lte-ue-rrc.cc.

References m_asSapUser, NS_LOG_FUNCTION, ns3::LtePdcpSapUser::ReceivePdcpSduParameters::pdcpSdu, and ns3::LteAsSapUser::RecvData().

+ Here is the call graph for this function:

void ns3::LteUeRrc::DoRecvRrcConnectionReconfiguration ( LteRrcSap::RrcConnectionReconfiguration  msg)
private

Definition at line 618 of file lte-ue-rrc.cc.

References ApplyRadioResourceConfigDedicated(), ns3::LteRrcSap::MobilityControlInfo::carrierBandwidth, ns3::LteRrcSap::MobilityControlInfo::carrierFreq, ns3::LteUeCphySapProvider::ConfigureUplink(), CONNECTED_HANDOVER, CONNECTED_NORMALLY, DisposeOldSrb1(), ns3::LteRrcSap::CarrierBandwidthEutra::dlBandwidth, ns3::LteRrcSap::CarrierFreqEutra::dlCarrierFreq, ns3::LteRrcSap::MobilityControlInfo::haveCarrierBandwidth, ns3::LteRrcSap::MobilityControlInfo::haveCarrierFreq, ns3::LteRrcSap::RrcConnectionReconfiguration::haveMobilityControlInfo, ns3::LteRrcSap::MobilityControlInfo::haveRachConfigDedicated, ns3::LteRrcSap::RrcConnectionReconfiguration::haveRadioResourceConfigDedicated, m_cellId, m_cmacSapProvider, m_connectionReconfigurationTrace, m_cphySapProvider, m_drbMap, m_handoverStartTrace, m_imsi, m_lastRrcTransactionIdentifier, ns3::LteRadioBearerInfo::m_rlc, m_rnti, m_rrcSapUser, m_srb0, m_srb1, m_srb1Old, m_state, ns3::LteRrcSap::RrcConnectionReconfiguration::mobilityControlInfo, ns3::LteRrcSap::MobilityControlInfo::newUeIdentity, NS_ASSERT, NS_ASSERT_MSG, NS_FATAL_ERROR, NS_LOG_FUNCTION, NS_LOG_INFO, ns3::LteRrcSap::MobilityControlInfo::rachConfigDedicated, ns3::LteRrcSap::RrcConnectionReconfiguration::radioResourceConfigDedicated, ns3::LteRrcSap::RachConfigDedicated::raPrachMaskIndex, ns3::LteRrcSap::RachConfigDedicated::raPreambleIndex, ns3::LteUeCphySapProvider::Reset(), ns3::LteUeCmacSapProvider::Reset(), ns3::LteRrcSap::RrcConnectionReconfiguration::rrcTransactionIdentifier, ns3::LteRrcSap::RrcConnectionReconfigurationCompleted::rrcTransactionIdentifier, ns3::Simulator::ScheduleNow(), ns3::LteUeRrcSapUser::SendRrcConnectionReconfigurationCompleted(), ns3::LteUeCphySapProvider::SetDlBandwidth(), ns3::LteRlc::SetRnti(), ns3::LteUeCphySapProvider::SetRnti(), ns3::LteUeCmacSapProvider::StartNonContentionBasedRandomAccessProcedure(), SwitchToState(), ns3::LteUeCphySapProvider::SyncronizeWithEnb(), ns3::LteRrcSap::MobilityControlInfo::targetPhysCellId, ns3::ToString(), ns3::LteRrcSap::CarrierBandwidthEutra::ulBandwidth, and ns3::LteRrcSap::CarrierFreqEutra::ulCarrierFreq.

+ Here is the call graph for this function:

void ns3::LteUeRrc::DoRecvRrcConnectionReestablishment ( LteRrcSap::RrcConnectionReestablishment  msg)
private

Definition at line 680 of file lte-ue-rrc.cc.

References CONNECTED_REESTABLISHING, m_state, NS_FATAL_ERROR, and ns3::ToString().

+ Here is the call graph for this function:

void ns3::LteUeRrc::DoRecvRrcConnectionReestablishmentReject ( LteRrcSap::RrcConnectionReestablishmentReject  msg)
private

Definition at line 696 of file lte-ue-rrc.cc.

References CONNECTED_REESTABLISHING, LeaveConnectedMode(), m_state, NS_FATAL_ERROR, NS_LOG_FUNCTION, and ns3::ToString().

+ Here is the call graph for this function:

void ns3::LteUeRrc::DoRecvRrcConnectionReject ( LteRrcSap::RrcConnectionReject  msg)
private

Definition at line 720 of file lte-ue-rrc.cc.

References IDLE_CAMPED_NORMALLY, m_cmacSapProvider, NS_LOG_FUNCTION, ns3::LteUeCmacSapProvider::Reset(), and SwitchToState().

+ Here is the call graph for this function:

void ns3::LteUeRrc::DoRecvRrcConnectionRelease ( LteRrcSap::RrcConnectionRelease  msg)
private

Definition at line 714 of file lte-ue-rrc.cc.

References NS_LOG_FUNCTION.

void ns3::LteUeRrc::DoRecvSystemInformationBlockType1 ( LteRrcSap::SystemInformationBlockType1  msg)
private

Definition at line 563 of file lte-ue-rrc.cc.

References NS_LOG_FUNCTION.

void ns3::LteUeRrc::DoSendData ( Ptr< Packet packet,
uint8_t  bid 
)
private
void ns3::LteUeRrc::DoSetTemporaryCellRnti ( uint16_t  rnti)
private

Definition at line 435 of file lte-ue-rrc.cc.

References m_cphySapProvider, ns3::LteRadioBearerInfo::m_rlc, m_rnti, m_srb0, NS_LOG_FUNCTION, ns3::LteRlc::SetRnti(), and ns3::LteUeCphySapProvider::SetRnti().

Referenced by ns3::UeMemberLteUeCmacSapUser::SetTemporaryCellRnti().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

LteAsSapProvider * ns3::LteUeRrc::GetAsSapProvider ( )
Returns
the AS SAP provider exported by this RRC

Definition at line 268 of file lte-ue-rrc.cc.

References m_asSapProvider.

uint16_t ns3::LteUeRrc::GetCellId ( ) const
uint8_t ns3::LteUeRrc::GetDlBandwidth ( ) const
Returns
the downlink bandwidth in RBs

Definition at line 309 of file lte-ue-rrc.cc.

References m_dlBandwidth, and NS_LOG_FUNCTION.

uint16_t ns3::LteUeRrc::GetDlEarfcn ( ) const
Returns
the downlink carrier frequency (EARFCN)

Definition at line 316 of file lte-ue-rrc.cc.

References m_dlEarfcn.

uint64_t ns3::LteUeRrc::GetImsi ( void  )
Returns
imsi the unique UE identifier

Definition at line 281 of file lte-ue-rrc.cc.

References m_imsi.

LteUeCmacSapUser * ns3::LteUeRrc::GetLteUeCmacSapUser ( )
Returns
s the CMAC SAP User interface offered to the MAC by this RRC

Definition at line 234 of file lte-ue-rrc.cc.

References m_cmacSapUser, and NS_LOG_FUNCTION.

LteUeCphySapUser * ns3::LteUeRrc::GetLteUeCphySapUser ( )
Returns
s the CPHY SAP User interface offered to the PHY by this RRC

Definition at line 220 of file lte-ue-rrc.cc.

References m_cphySapUser, and NS_LOG_FUNCTION.

LteUeRrcSapProvider * ns3::LteUeRrc::GetLteUeRrcSapProvider ( )
Returns
s the RRC SAP Provider interface offered to the MAC by this RRC

Definition at line 248 of file lte-ue-rrc.cc.

References m_rrcSapProvider, and NS_LOG_FUNCTION.

Referenced by ns3::LteEnbRrcProtocolIdeal::DoSendSystemInformation(), and ns3::LteEnbRrcProtocolReal::DoSendSystemInformation().

+ Here is the caller graph for this function:

LteUeRrc::State ns3::LteUeRrc::GetState ( void  )
Returns
the current state

Definition at line 330 of file lte-ue-rrc.cc.

References m_state, and NS_LOG_FUNCTION.

Referenced by ns3::DrbActivator::ActivateDrb().

+ Here is the caller graph for this function:

TypeId ns3::LteUeRrc::GetTypeId ( void  )
static
uint8_t ns3::LteUeRrc::GetUlBandwidth ( ) const
Returns
the uplink bandwidth in RBs

Definition at line 302 of file lte-ue-rrc.cc.

References m_ulBandwidth, and NS_LOG_FUNCTION.

uint16_t ns3::LteUeRrc::GetUlEarfcn ( ) const
Returns
the uplink carrier frequency (EARFCN)

Definition at line 322 of file lte-ue-rrc.cc.

References m_ulEarfcn, and NS_LOG_FUNCTION.

void ns3::LteUeRrc::LeaveConnectedMode ( )
private
void ns3::LteUeRrc::SetAsSapUser ( LteAsSapUser s)

Set the AS SAP user to interact with the NAS entity

Parameters
sthe AS SAP user

Definition at line 262 of file lte-ue-rrc.cc.

References m_asSapUser.

void ns3::LteUeRrc::SetImsi ( uint64_t  imsi)
Parameters
imsithe unique UE identifier

Definition at line 274 of file lte-ue-rrc.cc.

References m_imsi, and NS_LOG_FUNCTION.

Referenced by ns3::LteUeNetDevice::UpdateConfig().

+ Here is the caller graph for this function:

void ns3::LteUeRrc::SetLteMacSapProvider ( LteMacSapProvider s)

set the MAC SAP provider. The ue RRC does not use this directly, but it needs to provide it to newly created RLC instances.

Parameters
sthe MAC SAP provider that will be used by all newly created RLC instances

Definition at line 255 of file lte-ue-rrc.cc.

References m_macSapProvider, and NS_LOG_FUNCTION.

void ns3::LteUeRrc::SetLteUeCmacSapProvider ( LteUeCmacSapProvider s)

set the CMAC SAP this RRC should interact with

Parameters
sthe CMAC SAP Provider to be used by this RRC

Definition at line 227 of file lte-ue-rrc.cc.

References m_cmacSapProvider, and NS_LOG_FUNCTION.

void ns3::LteUeRrc::SetLteUeCphySapProvider ( LteUeCphySapProvider s)

set the CPHY SAP this RRC should use to interact with the PHY

Parameters
sthe CPHY SAP Provider

Definition at line 213 of file lte-ue-rrc.cc.

References m_cphySapProvider, and NS_LOG_FUNCTION.

void ns3::LteUeRrc::SetLteUeRrcSapUser ( LteUeRrcSapUser s)

set the RRC SAP this RRC should interact with

Parameters
sthe RRC SAP User to be used by this RRC

Definition at line 241 of file lte-ue-rrc.cc.

References m_rrcSapUser, and NS_LOG_FUNCTION.

void ns3::LteUeRrc::SetUseRlcSm ( bool  val)
Parameters
valtrue if RLC SM is to be used, false if RLC UM/AM are to be used

Definition at line 337 of file lte-ue-rrc.cc.

References m_useRlcSm, and NS_LOG_FUNCTION.

void ns3::LteUeRrc::StartConnection ( )
private

Definition at line 904 of file lte-ue-rrc.cc.

References IDLE_RANDOM_ACCESS, m_cmacSapProvider, m_connectionPending, NS_LOG_FUNCTION, ns3::LteUeCmacSapProvider::StartContentionBasedRandomAccessProcedure(), and SwitchToState().

Referenced by DoConnect(), and SwitchToState().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Friends And Related Function Documentation

friend class LtePdcpSpecificLtePdcpSapUser< LteUeRrc >
friend

Definition at line 54 of file lte-ue-rrc.h.

friend class MemberLteAsSapProvider< LteUeRrc >
friend

Definition at line 55 of file lte-ue-rrc.h.

friend class MemberLteUeCphySapUser< LteUeRrc >
friend

Definition at line 56 of file lte-ue-rrc.h.

friend class MemberLteUeRrcSapProvider< LteUeRrc >
friend

Definition at line 57 of file lte-ue-rrc.h.

friend class UeMemberLteUeCmacSapUser
friend

Definition at line 52 of file lte-ue-rrc.h.

Referenced by LteUeRrc().

friend class UeRrcMemberLteEnbCmacSapUser
friend

Definition at line 53 of file lte-ue-rrc.h.

Member Data Documentation

LteAsSapProvider* ns3::LteUeRrc::m_asSapProvider
private

Definition at line 281 of file lte-ue-rrc.h.

Referenced by DoDispose(), GetAsSapProvider(), and LteUeRrc().

LteAsSapUser* ns3::LteUeRrc::m_asSapUser
private
std::map<uint8_t, uint8_t> ns3::LteUeRrc::m_bid2DrbidMap
private

Definition at line 267 of file lte-ue-rrc.h.

Referenced by ApplyRadioResourceConfigDedicated(), Bid2Drbid(), and LeaveConnectedMode().

LteUeCmacSapUser* ns3::LteUeRrc::m_cmacSapUser
private

Definition at line 272 of file lte-ue-rrc.h.

Referenced by DoDispose(), GetLteUeCmacSapUser(), and LteUeRrc().

TracedCallback<uint64_t, uint16_t, uint16_t> ns3::LteUeRrc::m_connectionEstablishedTrace
private

Definition at line 310 of file lte-ue-rrc.h.

Referenced by DoRecvRrcConnectionSetup(), and GetTypeId().

bool ns3::LteUeRrc::m_connectionPending
private

true if a connection request by upper layers is pending

Definition at line 318 of file lte-ue-rrc.h.

Referenced by DoConnect(), StartConnection(), and SwitchToState().

TracedCallback<uint64_t, uint16_t, uint16_t> ns3::LteUeRrc::m_connectionReconfigurationTrace
private

Definition at line 312 of file lte-ue-rrc.h.

Referenced by DoRecvRrcConnectionReconfiguration(), and GetTypeId().

LteUeCphySapUser* ns3::LteUeRrc::m_cphySapUser
private

Definition at line 269 of file lte-ue-rrc.h.

Referenced by DoDispose(), GetLteUeCphySapUser(), and LteUeRrc().

uint8_t ns3::LteUeRrc::m_dlBandwidth
private

downlink bandwidth in RBs

Definition at line 299 of file lte-ue-rrc.h.

Referenced by DoRecvMasterInformationBlock(), and GetDlBandwidth().

uint16_t ns3::LteUeRrc::m_dlEarfcn
private

downlink carrier frequency

Definition at line 302 of file lte-ue-rrc.h.

Referenced by DoForceCampedOnEnb(), and GetDlEarfcn().

std::map<uint8_t, Ptr<LteDataRadioBearerInfo> > ns3::LteUeRrc::m_drbMap
private
LtePdcpSapUser* ns3::LteUeRrc::m_drbPdcpSapUser
private

Definition at line 279 of file lte-ue-rrc.h.

Referenced by ApplyRadioResourceConfigDedicated(), DoDispose(), and LteUeRrc().

TracedCallback<uint64_t, uint16_t, uint16_t> ns3::LteUeRrc::m_handoverEndOkTrace
private

Definition at line 316 of file lte-ue-rrc.h.

Referenced by DoNotifyRandomAccessSuccessful(), and GetTypeId().

TracedCallback<uint64_t, uint16_t, uint16_t, uint16_t> ns3::LteUeRrc::m_handoverStartTrace
private

Definition at line 314 of file lte-ue-rrc.h.

Referenced by DoRecvRrcConnectionReconfiguration(), and GetTypeId().

uint8_t ns3::LteUeRrc::m_lastRrcTransactionIdentifier
private
LteMacSapProvider* ns3::LteUeRrc::m_macSapProvider
private
TracedCallback<uint64_t, uint16_t, uint16_t> ns3::LteUeRrc::m_randomAccessSuccessfulTrace
private

Definition at line 308 of file lte-ue-rrc.h.

Referenced by DoNotifyRandomAccessSuccessful(), and GetTypeId().

bool ns3::LteUeRrc::m_receivedMib
private

true if MIB was received for the current cell

Definition at line 319 of file lte-ue-rrc.h.

Referenced by DoRecvMasterInformationBlock(), and DoRecvSystemInformation().

bool ns3::LteUeRrc::m_receivedSib2
private

true if SIB2 was received for the current cell

Definition at line 320 of file lte-ue-rrc.h.

Referenced by DoRecvMasterInformationBlock(), and DoRecvSystemInformation().

LteUeRrcSapProvider* ns3::LteUeRrc::m_rrcSapProvider
private

Definition at line 276 of file lte-ue-rrc.h.

Referenced by DoDispose(), GetLteUeRrcSapProvider(), and LteUeRrc().

Ptr<LteSignalingRadioBearerInfo> ns3::LteUeRrc::m_srb1Old
private

Definition at line 292 of file lte-ue-rrc.h.

Referenced by DisposeOldSrb1(), and DoRecvRrcConnectionReconfiguration().

TracedCallback<uint64_t, uint16_t, uint16_t, State, State> ns3::LteUeRrc::m_stateTransitionTrace
private

Definition at line 306 of file lte-ue-rrc.h.

Referenced by GetTypeId(), and SwitchToState().

uint8_t ns3::LteUeRrc::m_ulBandwidth
private

uplink bandwidth in RBs

Definition at line 300 of file lte-ue-rrc.h.

Referenced by DoRecvSystemInformation(), and GetUlBandwidth().

uint16_t ns3::LteUeRrc::m_ulEarfcn
private

uplink carrier frequency

Definition at line 303 of file lte-ue-rrc.h.

Referenced by DoRecvSystemInformation(), and GetUlEarfcn().

bool ns3::LteUeRrc::m_useRlcSm
private

Definition at line 295 of file lte-ue-rrc.h.

Referenced by ApplyRadioResourceConfigDedicated(), and SetUseRlcSm().


The documentation for this class was generated from the following files: