5G-LENA nr-v3.3-159-ga6832aa7
The 5G/NR module for the ns-3 simulator
Loading...
Searching...
No Matches
ns3::NrNoOpComponentCarrierManager Class Reference

The default component carrier manager that forwards all traffic, the uplink and the downlink, over the primary carrier, and will not use secondary carriers. To enable carrier aggregation feature, select another component carrier manager class, i.e., some of child classes of NrGnbComponentCarrierManager of NrNoOpComponentCarrierManager. More...

#include "nr-no-op-component-carrier-manager.h"

+ Inheritance diagram for ns3::NrNoOpComponentCarrierManager:
+ Collaboration diagram for ns3::NrNoOpComponentCarrierManager:

Static Public Member Functions

static TypeId GetTypeId ()
 Get the type ID.
 
- Static Public Member Functions inherited from ns3::NrGnbComponentCarrierManager
static TypeId GetTypeId ()
 Get the type ID.
 

Protected Member Functions

virtual void DoAddLc (NrGnbCmacSapProvider::LcInfo lcInfo, NrMacSapUser *msu)
 Add LC.
 
virtual void DoAddUe (uint16_t rnti, uint8_t state)
 Add UE.
 
virtual NrMacSapUserDoConfigureSignalBearer (NrGnbCmacSapProvider::LcInfo lcinfo, NrMacSapUser *msu)
 Configure the signal bearer.
 
void DoDispose () override
 
void DoInitialize () override
 
virtual void DoNotifyHarqDeliveryFailure ()
 Notify HARQ delivery failure.
 
virtual void DoNotifyPrbOccupancy (double prbOccupancy, uint8_t componentCarrierId)
 Function implements the function of the SAP interface of CCM instance which is used by MAC to notify the PRB occupancy reported by scheduler.
 
virtual void DoNotifyTxOpportunity (NrMacSapUser::TxOpportunityParameters txOpParams)
 Notify transmit opportunity.
 
virtual void DoReceivePdu (NrMacSapUser::ReceivePduParameters rxPduParams)
 Receive PDU.
 
virtual std::vector< uint8_t > DoReleaseDataRadioBearer (uint16_t rnti, uint8_t lcid)
 Release data radio bearer.
 
virtual void DoRemoveUe (uint16_t rnti)
 Remove UE.
 
void DoReportUeMeas (uint16_t rnti, NrRrcSap::MeasResults measResults) override
 Implementation of ReportUeMeas.
 
virtual std::vector< NrCcmRrcSapProvider::LcsConfigDoSetupDataRadioBearer (NrEpsBearer bearer, uint8_t bearerId, uint16_t rnti, uint8_t lcid, uint8_t lcGroup, NrMacSapUser *msu)
 Setup data radio bearer.
 
virtual void DoTransmitBufferStatusReport (NrMacSapProvider::BufferStatusReportParameters params)
 Buffer status report.
 
virtual void DoTransmitPdu (NrMacSapProvider::TransmitPduParameters params)
 Transmit PDU.
 
virtual void DoUlReceiveMacCe (nr::MacCeListElement_s bsr, uint8_t componentCarrierId)
 Forwards uplink BSR to CCM, called by MAC through CCM SAP interface.
 
virtual void DoUlReceiveSr (uint16_t rnti, uint8_t componentCarrierId)
 Forward uplink SR to CCM, called by MAC through CCM SAP interface.
 
- Protected Member Functions inherited from ns3::NrGnbComponentCarrierManager
void DoDispose () override
 

Protected Attributes

std::map< uint8_t, double > m_ccPrbOccupancy
 The physical resource block occupancy per carrier.
 
- Protected Attributes inherited from ns3::NrGnbComponentCarrierManager
std::map< uint8_t, NrCcmMacSapProvider * > m_ccmMacSapProviderMap
 
NrCcmMacSapUserm_ccmMacSapUser
 
NrCcmRrcSapProviderm_ccmRrcSapProvider
 
NrCcmRrcSapUserm_ccmRrcSapUser
 
NrMacSapProviderm_macSapProvider
 
std::map< uint8_t, NrMacSapProvider * > m_macSapProvidersMap
 A map of pointers to real SAP interfaces of MAC instances.
 
uint16_t m_noOfComponentCarriers
 
Ptr< NrGnbRrcm_rrc
 A pointer to the RRC instance of this eNb.
 
std::map< uint16_t, NrUeInfom_ueInfo
 The map from RNTI to UE information.
 

Friends

class GnbMacMemberNrMacSapProvider< NrNoOpComponentCarrierManager >
 allow GnbMacMemberNrMacSapProvider<NrNoOpComponentCarrierManager> class friend access
 
class MemberNrCcmMacSapUser< NrNoOpComponentCarrierManager >
 allow MemberNrCcmMacSapUser<NrNoOpComponentCarrierManager> class friend access
 
class MemberNrCcmRrcSapProvider< NrNoOpComponentCarrierManager >
 allow MemberNrCcmRrcSapProvider<NrNoOpComponentCarrierManager> class friend access
 
class MemberNrCcmRrcSapUser< NrNoOpComponentCarrierManager >
 allow MemberNrCcmRrcSapUser<NrNoOpComponentCarrierManager> class friend access
 

Additional Inherited Members

- Public Member Functions inherited from ns3::NrGnbComponentCarrierManager
virtual NrCcmMacSapUserGetNrCcmMacSapUser ()
 This function returns a pointer to the NrCcmMacSapUser interface, which is used by MAC to communicate to CCM when e.g. UL buffer status report is received, or to notify CCM about PRB occupancy, and similar. Functions that are specific for the communication between MAC and CCM.
 
virtual NrCcmRrcSapProviderGetNrCcmRrcSapProvider ()
 Export the "provider" part of the NrComponentCarrier Management SAP interface.
 
virtual NrMacSapProviderGetNrMacSapProvider ()
 Returns the pointer to the NrMacSapProvider interface, the provider of MAC, which is this new architecture served by NrGnbComponentCarrierManager object which will behave as a proxy, and will forward calls between to MAC objects of component carriers based on the logic implemented in the specific component carrier manager.
 
virtual bool SetCcmMacSapProviders (uint8_t componentCarrierId, NrCcmMacSapProvider *sap)
 Set NrCcmMacSapProvider interface for the MAC object of the specified component carrier. Through this interface CCM communicates with MAC, e.g. it notifies MAC of the specific carrier when to scheduler UL BSR.
 
virtual bool SetMacSapProvider (uint8_t componentCarrierId, NrMacSapProvider *sap)
 Set NrMacSapProvider interface for the MAC object of the specified component carrier.
 
virtual void SetNrCcmRrcSapUser (NrCcmRrcSapUser *s)
 Set the "user" part of the NrComponentCarrier Management SAP interface that this NrComponentCarrier algorithm instance will interact with.
 
virtual void SetNumberOfComponentCarriers (uint16_t noOfComponentCarriers)
 Sets the total number of component carriers.
 

Detailed Description

The default component carrier manager that forwards all traffic, the uplink and the downlink, over the primary carrier, and will not use secondary carriers. To enable carrier aggregation feature, select another component carrier manager class, i.e., some of child classes of NrGnbComponentCarrierManager of NrNoOpComponentCarrierManager.

Config Paths

ns3::NrNoOpComponentCarrierManager is accessible through the following paths with Config::Set and Config::Connect:

No Attributes are defined for this type.
No TraceSources are defined for this type.
Size of this type is 296 bytes (on a 64-bit architecture).

Definition at line 32 of file nr-no-op-component-carrier-manager.h.

Constructor & Destructor Documentation

◆ NrNoOpComponentCarrierManager()

ns3::NrNoOpComponentCarrierManager::NrNoOpComponentCarrierManager ( )

Definition at line 24 of file nr-no-op-component-carrier-manager.cc.

◆ ~NrNoOpComponentCarrierManager()

ns3::NrNoOpComponentCarrierManager::~NrNoOpComponentCarrierManager ( )
override

Definition at line 33 of file nr-no-op-component-carrier-manager.cc.

Member Function Documentation

◆ DoAddLc()

void ns3::NrNoOpComponentCarrierManager::DoAddLc ( NrGnbCmacSapProvider::LcInfo  lcInfo,
NrMacSapUser msu 
)
protectedvirtual

◆ DoAddUe()

void ns3::NrNoOpComponentCarrierManager::DoAddUe ( uint16_t  rnti,
uint8_t  state 
)
protectedvirtual

◆ DoConfigureSignalBearer()

NrMacSapUser * ns3::NrNoOpComponentCarrierManager::DoConfigureSignalBearer ( NrGnbCmacSapProvider::LcInfo  lcinfo,
NrMacSapUser msu 
)
protectedvirtual

◆ DoDispose()

void ns3::NrNoOpComponentCarrierManager::DoDispose ( )
overrideprotected

Definition at line 39 of file nr-no-op-component-carrier-manager.cc.

◆ DoInitialize()

void ns3::NrNoOpComponentCarrierManager::DoInitialize ( )
overrideprotected

Definition at line 58 of file nr-no-op-component-carrier-manager.cc.

◆ DoNotifyHarqDeliveryFailure()

void ns3::NrNoOpComponentCarrierManager::DoNotifyHarqDeliveryFailure ( )
protectedvirtual

Notify HARQ delivery failure.

Definition at line 112 of file nr-no-op-component-carrier-manager.cc.

◆ DoNotifyPrbOccupancy()

void ns3::NrNoOpComponentCarrierManager::DoNotifyPrbOccupancy ( double  prbOccupancy,
uint8_t  componentCarrierId 
)
protectedvirtual

Function implements the function of the SAP interface of CCM instance which is used by MAC to notify the PRB occupancy reported by scheduler.

Parameters
prbOccupancythe PRB occupancy
componentCarrierIdthe component carrier ID

Definition at line 293 of file nr-no-op-component-carrier-manager.cc.

References m_ccPrbOccupancy.

◆ DoNotifyTxOpportunity()

◆ DoReceivePdu()

void ns3::NrNoOpComponentCarrierManager::DoReceivePdu ( NrMacSapUser::ReceivePduParameters  rxPduParams)
protectedvirtual

◆ DoReleaseDataRadioBearer()

std::vector< uint8_t > ns3::NrNoOpComponentCarrierManager::DoReleaseDataRadioBearer ( uint16_t  rnti,
uint8_t  lcid 
)
protectedvirtual

Release data radio bearer.

Parameters
rntithe RNTI
lcidthe LCID
Returns
updated data radio bearer list

Definition at line 240 of file nr-no-op-component-carrier-manager.cc.

References ns3::NrGnbComponentCarrierManager::m_ueInfo.

◆ DoRemoveUe()

void ns3::NrNoOpComponentCarrierManager::DoRemoveUe ( uint16_t  rnti)
protectedvirtual

Remove UE.

Parameters
rntithe RNTI

Definition at line 158 of file nr-no-op-component-carrier-manager.cc.

References ns3::NrGnbComponentCarrierManager::m_ueInfo.

◆ DoReportUeMeas()

void ns3::NrNoOpComponentCarrierManager::DoReportUeMeas ( uint16_t  rnti,
NrRrcSap::MeasResults  measResults 
)
overrideprotectedvirtual

Implementation of ReportUeMeas.

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

Implements ns3::NrGnbComponentCarrierManager.

Definition at line 118 of file nr-no-op-component-carrier-manager.cc.

References ns3::NrRrcSap::MeasResults::measId.

◆ DoSetupDataRadioBearer()

◆ DoTransmitBufferStatusReport()

void ns3::NrNoOpComponentCarrierManager::DoTransmitBufferStatusReport ( NrMacSapProvider::BufferStatusReportParameters  params)
protectedvirtual

Buffer status report.

Parameters
paramsthe buffer status report parameters

Reimplemented in ns3::BwpManagerGnb, and ns3::NrRrComponentCarrierManager.

Definition at line 80 of file nr-no-op-component-carrier-manager.cc.

References ns3::NrCcmRrcSapUser::GetUeManager(), ns3::NrGnbComponentCarrierManager::m_ccmRrcSapUser, ns3::NrGnbComponentCarrierManager::m_macSapProvidersMap, and ns3::NrMacSapProvider::BufferStatusReportParameters::rnti.

+ Here is the call graph for this function:

◆ DoTransmitPdu()

void ns3::NrNoOpComponentCarrierManager::DoTransmitPdu ( NrMacSapProvider::TransmitPduParameters  params)
protectedvirtual

Transmit PDU.

Parameters
paramsthe transmit PDU parameters

Definition at line 69 of file nr-no-op-component-carrier-manager.cc.

References ns3::NrMacSapProvider::TransmitPduParameters::componentCarrierId, and ns3::NrGnbComponentCarrierManager::m_macSapProvidersMap.

◆ DoUlReceiveMacCe()

void ns3::NrNoOpComponentCarrierManager::DoUlReceiveMacCe ( nr::MacCeListElement_s  bsr,
uint8_t  componentCarrierId 
)
protectedvirtual

◆ DoUlReceiveSr()

void ns3::NrNoOpComponentCarrierManager::DoUlReceiveSr ( uint16_t  rnti,
uint8_t  componentCarrierId 
)
protectedvirtual

Forward uplink SR to CCM, called by MAC through CCM SAP interface.

Parameters
rntiRNTI of the UE that requested SR
componentCarrierIdthe component carrier ID that forwarded the SR

Reimplemented in ns3::BwpManagerGnb, and ns3::NrRrComponentCarrierManager.

Definition at line 351 of file nr-no-op-component-carrier-manager.cc.

References ns3::NrGnbComponentCarrierManager::m_ccmMacSapProviderMap.

◆ GetTypeId()

TypeId ns3::NrNoOpComponentCarrierManager::GetTypeId ( )
static

Get the type ID.

Returns
the object TypeId

Definition at line 48 of file nr-no-op-component-carrier-manager.cc.

Friends And Related Symbol Documentation

◆ GnbMacMemberNrMacSapProvider< NrNoOpComponentCarrierManager >

allow GnbMacMemberNrMacSapProvider<NrNoOpComponentCarrierManager> class friend access

Definition at line 1 of file nr-no-op-component-carrier-manager.h.

◆ MemberNrCcmMacSapUser< NrNoOpComponentCarrierManager >

allow MemberNrCcmMacSapUser<NrNoOpComponentCarrierManager> class friend access

Definition at line 1 of file nr-no-op-component-carrier-manager.h.

◆ MemberNrCcmRrcSapProvider< NrNoOpComponentCarrierManager >

allow MemberNrCcmRrcSapProvider<NrNoOpComponentCarrierManager> class friend access

Definition at line 1 of file nr-no-op-component-carrier-manager.h.

◆ MemberNrCcmRrcSapUser< NrNoOpComponentCarrierManager >

allow MemberNrCcmRrcSapUser<NrNoOpComponentCarrierManager> class friend access

Definition at line 1 of file nr-no-op-component-carrier-manager.h.

Member Data Documentation

◆ m_ccPrbOccupancy

std::map<uint8_t, double> ns3::NrNoOpComponentCarrierManager::m_ccPrbOccupancy
protected

The physical resource block occupancy per carrier.

Definition at line 152 of file nr-no-op-component-carrier-manager.h.

Referenced by DoNotifyPrbOccupancy().


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