5G-LENA nr-v4.0-29-g6d8085cd
The 5G/NR module for the ns-3 simulator
Loading...
Searching...
No Matches
ns3::NrUeCmacSapProvider Class Referenceabstract

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

+ Inheritance diagram for ns3::NrUeCmacSapProvider:

Classes

struct  LogicalChannelConfig
 LogicalChannelConfig structure. More...
 
struct  RachConfig
 RachConfig structure. More...
 

Public Member Functions

virtual void AddLc (uint8_t lcId, LogicalChannelConfig lcConfig, NrMacSapUser *msu)=0
 
virtual void ConfigureRach (RachConfig rc)=0
 
virtual void NotifyConnectionSuccessful ()=0
 Notify MAC about the successful RRC connection establishment.
 
virtual void RemoveLc (uint8_t lcId)=0
 
virtual void Reset ()=0
 
virtual void SetImsi (uint64_t imsi)=0
 A method call by UE RRC to communicate the IMSI to the UE MAC.
 
virtual void SetRnti (uint16_t rnti)=0
 
virtual void StartContentionBasedRandomAccessProcedure ()=0
 
virtual void StartNonContentionBasedRandomAccessProcedure (uint16_t rnti, uint8_t rapId, uint8_t prachMask)=0
 

Detailed Description

Service Access Point (SAP) offered by the UE MAC to the UE RRC

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

Definition at line 20 of file nr-ue-cmac-sap.h.

Member Function Documentation

◆ AddLc()

virtual void ns3::NrUeCmacSapProvider::AddLc ( uint8_t  lcId,
LogicalChannelConfig  lcConfig,
NrMacSapUser msu 
)
pure virtual

add a new Logical Channel (LC)

Parameters
lcIdthe ID of the LC
lcConfigthe LC configuration provided by the RRC
msuthe corresponding NrMacSapUser

◆ ConfigureRach()

virtual void ns3::NrUeCmacSapProvider::ConfigureRach ( RachConfig  rc)
pure virtual

Configure RACH function

Parameters
rcthe RACH config

◆ RemoveLc()

virtual void ns3::NrUeCmacSapProvider::RemoveLc ( uint8_t  lcId)
pure virtual

remove an existing LC

Parameters
lcId

◆ Reset()

virtual void ns3::NrUeCmacSapProvider::Reset ( )
pure virtual

reset the MAC

◆ SetImsi()

virtual void ns3::NrUeCmacSapProvider::SetImsi ( uint64_t  imsi)
pure virtual

A method call by UE RRC to communicate the IMSI to the UE MAC.

Parameters
imsithe IMSI of the UE

◆ SetRnti()

virtual void ns3::NrUeCmacSapProvider::SetRnti ( uint16_t  rnti)
pure virtual
Parameters
rntithe cell-specific UE identifier

◆ StartContentionBasedRandomAccessProcedure()

virtual void ns3::NrUeCmacSapProvider::StartContentionBasedRandomAccessProcedure ( )
pure virtual

tell the MAC to start a contention-based random access procedure, e.g., to perform RRC connection establishment

◆ StartNonContentionBasedRandomAccessProcedure()

virtual void ns3::NrUeCmacSapProvider::StartNonContentionBasedRandomAccessProcedure ( uint16_t  rnti,
uint8_t  rapId,
uint8_t  prachMask 
)
pure virtual

tell the MAC to start a non-contention-based random access procedure, e.g., as a consequence of handover

Parameters
rnti
rapIdRandom Access Preamble Identifier
prachMask

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