5G-LENA nr-v3.3-67-g8257369a
The 5G/NR module for the ns-3 simulator
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
ns3::NrGnbCmacSapUser Class Referenceabstract

#include "nr-gnb-cmac-sap.h"

+ Inheritance diagram for ns3::NrGnbCmacSapUser:

Classes

struct  UeConfig
 Parameters for [re]configuring the UE. More...
 

Public Member Functions

virtual uint16_t AllocateTemporaryCellRnti ()=0
 
virtual bool IsRandomAccessCompleted (uint16_t rnti)=0
 Is random access completed function.
 
virtual void NotifyLcConfigResult (uint16_t rnti, uint8_t lcid, bool success)=0
 
virtual void RrcConfigurationUpdateInd (UeConfig params)=0
 

Detailed Description

Service Access Point (SAP) offered by the MAC to the RRC See Femto Forum MAC Scheduler Interface Specification v 1.11, Figure 1

This is the MAC SAP User, i.e., the part of the SAP that contains the RRC methods called by the MAC

Definition at line 161 of file nr-gnb-cmac-sap.h.

Member Function Documentation

◆ AllocateTemporaryCellRnti()

virtual uint16_t ns3::NrGnbCmacSapUser::AllocateTemporaryCellRnti ( )
pure virtual

request the allocation of a Temporary C-RNTI

Returns
the T-C-RNTI

◆ IsRandomAccessCompleted()

virtual bool ns3::NrGnbCmacSapUser::IsRandomAccessCompleted ( uint16_t  rnti)
pure 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

◆ NotifyLcConfigResult()

virtual void ns3::NrGnbCmacSapUser::NotifyLcConfigResult ( uint16_t  rnti,
uint8_t  lcid,
bool  success 
)
pure 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

◆ RrcConfigurationUpdateInd()

virtual void ns3::NrGnbCmacSapUser::RrcConfigurationUpdateInd ( UeConfig  params)
pure virtual

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

Parameters
params

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