![]() |
5G-LENA nr-v4.0-29-g6d8085cd
The 5G/NR module for the ns-3 simulator
|
#include "nr-ue-cmac-sap.h"
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 |
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.
|
pure virtual |
add a new Logical Channel (LC)
lcId | the ID of the LC |
lcConfig | the LC configuration provided by the RRC |
msu | the corresponding NrMacSapUser |
|
pure virtual |
Configure RACH function
rc | the RACH config |
|
pure virtual |
remove an existing LC
lcId |
|
pure virtual |
reset the MAC
|
pure virtual |
A method call by UE RRC to communicate the IMSI to the UE MAC.
imsi | the IMSI of the UE |
|
pure virtual |
rnti | the cell-specific UE identifier |
|
pure virtual |
tell the MAC to start a contention-based random access procedure, e.g., to perform RRC connection establishment
|
pure virtual |
tell the MAC to start a non-contention-based random access procedure, e.g., as a consequence of handover
rnti | |
rapId | Random Access Preamble Identifier |
prachMask |