5G-LENA nr-v3.3-81-g75c7590d
The 5G/NR module for the ns-3 simulator
Loading...
Searching...
No Matches
ns3::NrCcmRrcSapProvider Class Referenceabstract

Service Access Point (SAP) offered by the Component Carrier Manager (CCM) instance to the eNodeB RRC instance. More...

#include "nr-ccm-rrc-sap.h"

+ Inheritance diagram for ns3::NrCcmRrcSapProvider:

Classes

struct  LcsConfig
 LcsConfig structure. More...
 

Public Member Functions

virtual void AddLc (NrGnbCmacSapProvider::LcInfo lcInfo, NrMacSapUser *msu)=0
 Add a new logical channel.
 
virtual void AddUe (uint16_t rnti, uint8_t state)=0
 Add a new UE in the NrGnbComponentCarrierManager.
 
virtual NrMacSapUserConfigureSignalBearer (NrGnbCmacSapProvider::LcInfo lcInfo, NrMacSapUser *rlcMacSapUser)=0
 Add the Signal Bearer for a specific Ue in NrGnbComponenCarrierManager.
 
virtual std::vector< uint8_t > ReleaseDataRadioBearer (uint16_t rnti, uint8_t lcid)=0
 Release an existing Data Radio Bearer for a Ue in the NrGnbComponentCarrierManager.
 
virtual void RemoveUe (uint16_t rnti)=0
 Remove an existing UE.
 
virtual void ReportUeMeas (uint16_t rnti, NrRrcSap::MeasResults measResults)=0
 Reports UE measurements to the component carrier manager.
 
virtual std::vector< NrCcmRrcSapProvider::LcsConfigSetupDataRadioBearer (NrEpsBearer bearer, uint8_t bearerId, uint16_t rnti, uint8_t lcid, uint8_t lcGroup, NrMacSapUser *msu)=0
 Add a new Bearer for the Ue in the NrGnbComponentCarrierManager.
 

Friends

class NrMacSapUser
 allow NrMacSapUser class friend access
 
class NrUeManager
 allow NrUeManager class friend access
 

Detailed Description

Service Access Point (SAP) offered by the Component Carrier Manager (CCM) instance to the eNodeB RRC instance.

This is the Component Carrier Manager SAP Provider, i.e., the part of the SAP that contains the CCM methods called by the eNodeB RRC instance.

Definition at line 32 of file nr-ccm-rrc-sap.h.

Member Function Documentation

◆ AddLc()

virtual void ns3::NrCcmRrcSapProvider::AddLc ( NrGnbCmacSapProvider::LcInfo  lcInfo,
NrMacSapUser msu 
)
pure virtual

Add a new logical channel.

Parameters
lcInfo- information about newly created logical channel
msu- pointer to corresponding rlc interface

Implemented in ns3::MemberNrCcmRrcSapProvider< C >.

◆ AddUe()

virtual void ns3::NrCcmRrcSapProvider::AddUe ( uint16_t  rnti,
uint8_t  state 
)
pure virtual

Add a new UE in the NrGnbComponentCarrierManager.

Parameters
rntiRadio Network Temporary Identity, an integer identifying the UE.
stateThe current rrc state of the UE.

Implemented in ns3::MemberNrCcmRrcSapProvider< C >.

◆ ConfigureSignalBearer()

virtual NrMacSapUser * ns3::NrCcmRrcSapProvider::ConfigureSignalBearer ( NrGnbCmacSapProvider::LcInfo  lcInfo,
NrMacSapUser rlcMacSapUser 
)
pure virtual

Add the Signal Bearer for a specific Ue in NrGnbComponenCarrierManager.

Parameters
lcInfothis structure it is hard-coded in the NrGnbRrc
rlcMacSapUserit is the MacSapUser of the Rlc instance
Returns
the NrMacSapUser of the ComponentCarrierManager

Implemented in ns3::MemberNrCcmRrcSapProvider< C >.

◆ ReleaseDataRadioBearer()

virtual std::vector< uint8_t > ns3::NrCcmRrcSapProvider::ReleaseDataRadioBearer ( uint16_t  rnti,
uint8_t  lcid 
)
pure virtual

Release an existing Data Radio Bearer for a Ue in the NrGnbComponentCarrierManager.

Parameters
rntiRadio Network Temporary Identity, an integer identifying the UE where the report originates from
lcidthe Logical Channel Id
Returns
vector of integer the componentCarrierId of the NrComponentCarrier where the bearer is enabled

Implemented in ns3::MemberNrCcmRrcSapProvider< C >.

◆ RemoveUe()

virtual void ns3::NrCcmRrcSapProvider::RemoveUe ( uint16_t  rnti)
pure virtual

Remove an existing UE.

Parameters
rntiRadio Network Temporary Identity, an integer identifying the UE where the report originates from

Implemented in ns3::MemberNrCcmRrcSapProvider< C >.

◆ ReportUeMeas()

virtual void ns3::NrCcmRrcSapProvider::ReportUeMeas ( uint16_t  rnti,
NrRrcSap::MeasResults  measResults 
)
pure virtual

Reports UE measurements to the component carrier manager.

Parameters
rntiRadio Network Temporary Identity, an integer identifying the UE where the measurement report originates from.
measResultsa single report of one measurement identity

The received measurement report is a result of the UE measurements configuration previously configured by calling NrCcmRrcSapProvider::AddUeMeasReportConfigForComponentCarrier. The report may be stored and utilized for the purpose of making decision if and when to use the secondary carriers.

Implemented in ns3::MemberNrCcmRrcSapProvider< C >.

◆ SetupDataRadioBearer()

virtual std::vector< NrCcmRrcSapProvider::LcsConfig > ns3::NrCcmRrcSapProvider::SetupDataRadioBearer ( NrEpsBearer  bearer,
uint8_t  bearerId,
uint16_t  rnti,
uint8_t  lcid,
uint8_t  lcGroup,
NrMacSapUser msu 
)
pure virtual

Add a new Bearer for the Ue in the NrGnbComponentCarrierManager.

Parameters
bearera pointer to the NrEpsBearer object
bearerIda unique identifier for the bearer
rntiRadio Network Temporary Identity, an integer identifying the UE where the report originates from
lcidthe Logical Channel id
lcGroupthe Logical Channel group
msua pointer to the NrMacSapUser, the NrGnbComponentCarrierManager has to store a NrMacSapUser for each Rlc instance, in order to properly redirect the packet
Returns
vector of LcsConfig contains the lc configuration for each Mac the size of the vector is equal to the number of component carrier enabled.

The Logical Channel configurations for each component carrier depend on the algorithm used to split the traffic between the component carriers themself.

Implemented in ns3::MemberNrCcmRrcSapProvider< C >.

Friends And Related Symbol Documentation

◆ NrMacSapUser

friend class NrMacSapUser
friend

allow NrMacSapUser class friend access

Definition at line 37 of file nr-ccm-rrc-sap.h.

◆ NrUeManager

friend class NrUeManager
friend

allow NrUeManager class friend access

Definition at line 35 of file nr-ccm-rrc-sap.h.


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