A Discrete-Event Network Simulator
API
ns3::EnbRrcMemberLteEnbCmacSapUser Class Reference

Class for forwarding CMAC SAP User functions. More...

+ Inheritance diagram for ns3::EnbRrcMemberLteEnbCmacSapUser:
+ Collaboration diagram for ns3::EnbRrcMemberLteEnbCmacSapUser:

Public Member Functions

 EnbRrcMemberLteEnbCmacSapUser (LteEnbRrc *rrc, uint8_t componentCarrierId)
 Constructor. More...
 
uint16_t AllocateTemporaryCellRnti () override
 request the allocation of a Temporary C-RNTI More...
 
bool IsRandomAccessCompleted (uint16_t rnti) override
 Is random access completed function. More...
 
void NotifyLcConfigResult (uint16_t rnti, uint8_t lcid, bool success) override
 notify the result of the last LC config operation More...
 
void RrcConfigurationUpdateInd (UeConfig params) override
 Notify the RRC of a UE config updated requested by the MAC (normally, by the scheduler) More...
 
- Public Member Functions inherited from ns3::LteEnbCmacSapUser
virtual ~LteEnbCmacSapUser ()
 

Private Attributes

uint8_t m_componentCarrierId
 Component carrier ID. More...
 
LteEnbRrcm_rrc
 the RRC More...
 

Detailed Description

Class for forwarding CMAC SAP User functions.

Definition at line 60 of file lte-enb-rrc.cc.

Constructor & Destructor Documentation

◆ EnbRrcMemberLteEnbCmacSapUser()

ns3::EnbRrcMemberLteEnbCmacSapUser::EnbRrcMemberLteEnbCmacSapUser ( LteEnbRrc rrc,
uint8_t  componentCarrierId 
)

Constructor.

Parameters
rrcENB RRC
componentCarrierId

Definition at line 81 of file lte-enb-rrc.cc.

Member Function Documentation

◆ AllocateTemporaryCellRnti()

uint16_t ns3::EnbRrcMemberLteEnbCmacSapUser::AllocateTemporaryCellRnti ( )
overridevirtual

request the allocation of a Temporary C-RNTI

Returns
the T-C-RNTI

Implements ns3::LteEnbCmacSapUser.

Definition at line 89 of file lte-enb-rrc.cc.

References ns3::LteEnbRrc::DoAllocateTemporaryCellRnti(), m_componentCarrierId, and m_rrc.

+ Here is the call graph for this function:

◆ IsRandomAccessCompleted()

bool ns3::EnbRrcMemberLteEnbCmacSapUser::IsRandomAccessCompleted ( uint16_t  rnti)
overridevirtual

Is random access completed function.

This method is executed to decide if the non contention based preamble has to be reused or not upon preamble expiry. If the random access in connected mode is completed, then the preamble can be reused by other UEs. If not, the same UE retains the preamble and other available preambles are assigned to the required UEs.

Parameters
rntithe C-RNTI identifying the user
Returns
true if the random access in connected mode is completed

Implements ns3::LteEnbCmacSapUser.

Definition at line 107 of file lte-enb-rrc.cc.

References ns3::LteEnbRrc::IsRandomAccessCompleted(), and m_rrc.

+ Here is the call graph for this function:

◆ NotifyLcConfigResult()

void ns3::EnbRrcMemberLteEnbCmacSapUser::NotifyLcConfigResult ( uint16_t  rnti,
uint8_t  lcid,
bool  success 
)
overridevirtual

notify the result of the last LC config operation

Parameters
rntithe rnti of the user
lcidthe logical channel id
successtrue if the operation was successful, false otherwise

Implements ns3::LteEnbCmacSapUser.

Definition at line 95 of file lte-enb-rrc.cc.

References ns3::LteEnbRrc::DoNotifyLcConfigResult(), and m_rrc.

+ Here is the call graph for this function:

◆ RrcConfigurationUpdateInd()

void ns3::EnbRrcMemberLteEnbCmacSapUser::RrcConfigurationUpdateInd ( UeConfig  params)
overridevirtual

Notify the RRC of a UE config updated requested by the MAC (normally, by the scheduler)

Parameters
params

Implements ns3::LteEnbCmacSapUser.

Definition at line 101 of file lte-enb-rrc.cc.

References ns3::LteEnbRrc::DoRrcConfigurationUpdateInd(), m_rrc, and two-ray-to-three-gpp-ch-calibration::params.

+ Here is the call graph for this function:

Member Data Documentation

◆ m_componentCarrierId

uint8_t ns3::EnbRrcMemberLteEnbCmacSapUser::m_componentCarrierId
private

Component carrier ID.

Definition at line 78 of file lte-enb-rrc.cc.

Referenced by AllocateTemporaryCellRnti().

◆ m_rrc

LteEnbRrc* ns3::EnbRrcMemberLteEnbCmacSapUser::m_rrc
private

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