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...
 
virtual uint16_t AllocateTemporaryCellRnti ()
 request the allocation of a Temporary C-RNTI More...
 
virtual bool IsRandomAccessCompleted (uint16_t rnti)
 Is random access completed function. More...
 
virtual void NotifyLcConfigResult (uint16_t rnti, uint8_t lcid, bool success)
 notify the result of the last LC config operation More...
 
virtual void RrcConfigurationUpdateInd (UeConfig params)
 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 ()
 
virtual uint16_t AllocateTemporaryCellRnti ()=0
 request the allocation of a Temporary C-RNTI More...
 
virtual bool IsRandomAccessCompleted (uint16_t rnti)=0
 Is random access completed function. More...
 
virtual void NotifyLcConfigResult (uint16_t rnti, uint8_t lcid, bool success)=0
 notify the result of the last LC config operation More...
 
virtual void RrcConfigurationUpdateInd (UeConfig params)=0
 Notify the RRC of a UE config updated requested by the MAC (normally, by the scheduler) More...
 

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 62 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 83 of file lte-enb-rrc.cc.

Member Function Documentation

◆ AllocateTemporaryCellRnti()

uint16_t ns3::EnbRrcMemberLteEnbCmacSapUser::AllocateTemporaryCellRnti ( )
virtual

request the allocation of a Temporary C-RNTI

Returns
the T-C-RNTI

Implements ns3::LteEnbCmacSapUser.

Definition at line 90 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)
virtual

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 108 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 
)
virtual

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 96 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)
virtual

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

Parameters
params

Implements ns3::LteEnbCmacSapUser.

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

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

+ 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 80 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: