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

Component carrier manager implementation which simply does nothing. More...

#include "nr-simple-ue-component-carrier-manager.h"

+ Inheritance diagram for ns3::NrSimpleUeComponentCarrierManager:
+ Collaboration diagram for ns3::NrSimpleUeComponentCarrierManager:

Public Member Functions

 NrSimpleUeComponentCarrierManager ()
 Creates a No-op CCS algorithm instance.
 
NrMacSapProviderGetNrMacSapProvider () override
 Returns the MAC sap provider interface that if forwarding calls to the instance of the NrUeComponentCarrierManager.
 
- Public Member Functions inherited from ns3::NrUeComponentCarrierManager
virtual NrUeCcmRrcSapProviderGetNrCcmRrcSapProvider ()
 Exports the "provider" part of the NrComponentCarrier Management SAP interface.
 
bool SetComponentCarrierMacSapProviders (uint8_t componentCarrierId, NrMacSapProvider *sap)
 Sets a pointer to SAP interface of MAC instance for the specified carrier.
 
virtual void SetNrCcmRrcSapUser (NrUeCcmRrcSapUser *s)
 Set the "user" part of the NrComponentCarrier Management SAP interface that this UE component carrier manager will interact with.
 
void SetNumberOfComponentCarriers (uint8_t noOfComponentCarriers)
 Sets number of component carriers that are supported by this UE.
 

Static Public Member Functions

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

Protected Member Functions

virtual std::vector< NrUeCcmRrcSapProvider::LcsConfigDoAddLc (uint8_t lcId, NrUeCmacSapProvider::LogicalChannelConfig lcConfig, NrMacSapUser *msu)
 Add LC function.
 
virtual NrMacSapUserDoConfigureSignalBearer (uint8_t lcId, NrUeCmacSapProvider::LogicalChannelConfig lcConfig, NrMacSapUser *msu)
 Configure signal bearer function.
 
void DoDispose () override
 
void DoInitialize () override
 
void DoNotifyHarqDeliveryFailure ()
 Notify HARQ deliver failure.
 
void DoNotifyTxOpportunity (NrMacSapUser::TxOpportunityParameters txOpParams)
 Notify TX opportunity function.
 
void DoReceivePdu (NrMacSapUser::ReceivePduParameters rxPduParams)
 Receive PDU function.
 
std::vector< uint16_t > DoRemoveLc (uint8_t lcid)
 Remove LC function.
 
void DoReportUeMeas (uint16_t rnti, NrRrcSap::MeasResults measResults)
 Report Ue Measure function.
 
void DoReset ()
 Reset LC map.
 
virtual void DoTransmitBufferStatusReport (NrMacSapProvider::BufferStatusReportParameters params)
 Buffer status report function.
 
void DoTransmitPdu (NrMacSapProvider::TransmitPduParameters params)
 Transmit PDU function.
 
- Protected Member Functions inherited from ns3::NrUeComponentCarrierManager
void DoDispose () override
 

Protected Attributes

NrMacSapProviderm_ccmMacSapProvider
 Receive API calls from the UE RLC instance.
 
NrMacSapUserm_ccmMacSapUser
 Interface to the UE RLC instance.
 
- Protected Attributes inherited from ns3::NrUeComponentCarrierManager
NrUeCcmRrcSapProviderm_ccmRrcSapProvider
 Receive API calls from the UE RRC instance.
 
NrUeCcmRrcSapUserm_ccmRrcSapUser
 Interface to the UE RRC instance.
 
std::map< uint8_t, std::map< uint8_t, NrMacSapProvider * > > m_componentCarrierLcMap
 Flow configuration per flow Id of this UE.
 
std::map< uint8_t, NrMacSapUser * > m_lcAttached
 
std::map< uint8_t, NrMacSapProvider * > m_macSapProvidersMap
 
uint8_t m_noOfComponentCarriers
 The number of component carriers that this UE can support.
 

Friends

class MemberNrUeCcmRrcSapProvider< NrSimpleUeComponentCarrierManager >
 let the forwarder class access the protected and private members
 
class NrSimpleUeCcmMacSapProvider
 allow NrSimpleUeCcmMacSapProvider class friend access
 
class NrSimpleUeCcmMacSapUser
 allow NrSimpleUeCcmMacSapUser class friend access
 

Detailed Description

Component carrier manager implementation which simply does nothing.

Selecting this component carrier selection algorithm is equivalent to disabling automatic triggering of component carrier selection. This is the default choice.

Config Paths

ns3::NrSimpleUeComponentCarrierManager 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 240 bytes (on a 64-bit architecture).

Definition at line 29 of file nr-simple-ue-component-carrier-manager.h.

Constructor & Destructor Documentation

◆ NrSimpleUeComponentCarrierManager()

ns3::NrSimpleUeComponentCarrierManager::NrSimpleUeComponentCarrierManager ( )

Creates a No-op CCS algorithm instance.

Definition at line 117 of file nr-simple-ue-component-carrier-manager.cc.

◆ ~NrSimpleUeComponentCarrierManager()

ns3::NrSimpleUeComponentCarrierManager::~NrSimpleUeComponentCarrierManager ( )
override

Definition at line 125 of file nr-simple-ue-component-carrier-manager.cc.

Member Function Documentation

◆ DoAddLc()

std::vector< NrUeCcmRrcSapProvider::LcsConfig > ns3::NrSimpleUeComponentCarrierManager::DoAddLc ( uint8_t  lcId,
NrUeCmacSapProvider::LogicalChannelConfig  lcConfig,
NrMacSapUser msu 
)
protectedvirtual

Add LC function.

Parameters
lcIdthe LCID
lcConfigthe logical channel config
msuthe MSU
Returns
updated LC config list

Reimplemented in ns3::BwpManagerUe.

Definition at line 294 of file nr-simple-ue-component-carrier-manager.cc.

References ns3::NrUeCcmRrcSapProvider::LcsConfig::componentCarrierId, ns3::NrUeCcmRrcSapProvider::LcsConfig::lcConfig, and ns3::NrUeCcmRrcSapProvider::LcsConfig::msu.

Referenced by ns3::BwpManagerUe::DoAddLc().

+ Here is the caller graph for this function:

◆ DoConfigureSignalBearer()

NrMacSapUser * ns3::NrSimpleUeComponentCarrierManager::DoConfigureSignalBearer ( uint8_t  lcId,
NrUeCmacSapProvider::LogicalChannelConfig  lcConfig,
NrMacSapUser msu 
)
protectedvirtual

Configure signal bearer function.

Parameters
lcIdthe LCID
lcConfigthe logical channel config
msuthe MSU
Returns
NrMacSapUser *

Reimplemented in ns3::BwpManagerUe.

Definition at line 334 of file nr-simple-ue-component-carrier-manager.cc.

Referenced by ns3::BwpManagerUe::DoConfigureSignalBearer().

+ Here is the caller graph for this function:

◆ DoDispose()

void ns3::NrSimpleUeComponentCarrierManager::DoDispose ( )
overrideprotected

Definition at line 131 of file nr-simple-ue-component-carrier-manager.cc.

◆ DoInitialize()

void ns3::NrSimpleUeComponentCarrierManager::DoInitialize ( )
overrideprotected

Definition at line 157 of file nr-simple-ue-component-carrier-manager.cc.

◆ DoNotifyHarqDeliveryFailure()

void ns3::NrSimpleUeComponentCarrierManager::DoNotifyHarqDeliveryFailure ( )
protected

Notify HARQ deliver failure.

Definition at line 206 of file nr-simple-ue-component-carrier-manager.cc.

◆ DoNotifyTxOpportunity()

◆ DoReceivePdu()

void ns3::NrSimpleUeComponentCarrierManager::DoReceivePdu ( NrMacSapUser::ReceivePduParameters  rxPduParams)
protected

Receive PDU function.

Parameters
rxPduParamsthe NrMacSapUser::ReceivePduParameters

Definition at line 231 of file nr-simple-ue-component-carrier-manager.cc.

References ns3::NrMacSapUser::ReceivePduParameters::lcid.

◆ DoRemoveLc()

std::vector< uint16_t > ns3::NrSimpleUeComponentCarrierManager::DoRemoveLc ( uint8_t  lcid)
protected

Remove LC function.

Parameters
lcidthe LCID
Returns
updated LC list

Definition at line 247 of file nr-simple-ue-component-carrier-manager.cc.

◆ DoReportUeMeas()

void ns3::NrSimpleUeComponentCarrierManager::DoReportUeMeas ( uint16_t  rnti,
NrRrcSap::MeasResults  measResults 
)
protected

Report Ue Measure function.

Parameters
rntithe RNTI
measResultsthe measure results

Definition at line 164 of file nr-simple-ue-component-carrier-manager.cc.

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

◆ DoReset()

void ns3::NrSimpleUeComponentCarrierManager::DoReset ( )
protected

Reset LC map.

Definition at line 273 of file nr-simple-ue-component-carrier-manager.cc.

◆ DoTransmitBufferStatusReport()

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

Buffer status report function.

Parameters
paramsNrMacSapProvider::BufferStatusReportParameters

Reimplemented in ns3::BwpManagerUe.

Definition at line 182 of file nr-simple-ue-component-carrier-manager.cc.

References ns3::NrMacSapProvider::BufferStatusReportParameters::lcid.

◆ DoTransmitPdu()

void ns3::NrSimpleUeComponentCarrierManager::DoTransmitPdu ( NrMacSapProvider::TransmitPduParameters  params)
protected

◆ GetNrMacSapProvider()

NrMacSapProvider * ns3::NrSimpleUeComponentCarrierManager::GetNrMacSapProvider ( )
overridevirtual

Returns the MAC sap provider interface that if forwarding calls to the instance of the NrUeComponentCarrierManager.

Returns
the reference to the "provider" part of the interface

Implements ns3::NrUeComponentCarrierManager.

Definition at line 150 of file nr-simple-ue-component-carrier-manager.cc.

◆ GetTypeId()

TypeId ns3::NrSimpleUeComponentCarrierManager::GetTypeId ( )
static

Get the type ID.

Returns
the object TypeId

Definition at line 140 of file nr-simple-ue-component-carrier-manager.cc.

Friends And Related Symbol Documentation

◆ MemberNrUeCcmRrcSapProvider< NrSimpleUeComponentCarrierManager >

let the forwarder class access the protected and private members

Definition at line 44 of file nr-simple-ue-component-carrier-manager.h.

◆ NrSimpleUeCcmMacSapProvider

friend class NrSimpleUeCcmMacSapProvider
friend

allow NrSimpleUeCcmMacSapProvider class friend access

Definition at line 51 of file nr-simple-ue-component-carrier-manager.h.

◆ NrSimpleUeCcmMacSapUser

friend class NrSimpleUeCcmMacSapUser
friend

allow NrSimpleUeCcmMacSapUser class friend access

Definition at line 53 of file nr-simple-ue-component-carrier-manager.h.

Member Data Documentation

◆ m_ccmMacSapProvider

NrMacSapProvider* ns3::NrSimpleUeComponentCarrierManager::m_ccmMacSapProvider
protected

Receive API calls from the UE RLC instance.

Definition at line 130 of file nr-simple-ue-component-carrier-manager.h.

◆ m_ccmMacSapUser

NrMacSapUser* ns3::NrSimpleUeComponentCarrierManager::m_ccmMacSapUser
protected

Interface to the UE RLC instance.

Definition at line 129 of file nr-simple-ue-component-carrier-manager.h.


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