![]() |
5G-LENA nr-v3.3-161-gad18933f
The 5G/NR module for the ns-3 simulator
|
Component carrier manager implementation which simply does nothing. More...
#include "nr-simple-ue-component-carrier-manager.h"
Public Member Functions | |
NrSimpleUeComponentCarrierManager () | |
Creates a No-op CCS algorithm instance. | |
NrMacSapProvider * | GetNrMacSapProvider () override |
Returns the MAC sap provider interface that if forwarding calls to the instance of the NrUeComponentCarrierManager. | |
![]() | |
virtual NrUeCcmRrcSapProvider * | GetNrCcmRrcSapProvider () |
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 TypeId | GetTypeId () |
Get the type ID. | |
Protected Member Functions | |
virtual std::vector< NrUeCcmRrcSapProvider::LcsConfig > | DoAddLc (uint8_t lcId, NrUeCmacSapProvider::LogicalChannelConfig lcConfig, NrMacSapUser *msu) |
Add LC function. | |
virtual NrMacSapUser * | DoConfigureSignalBearer (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. | |
![]() | |
void | DoDispose () override |
Protected Attributes | |
NrMacSapProvider * | m_ccmMacSapProvider |
Receive API calls from the UE RLC instance. | |
NrMacSapUser * | m_ccmMacSapUser |
Interface to the UE RLC instance. | |
![]() | |
NrUeCcmRrcSapProvider * | m_ccmRrcSapProvider |
Receive API calls from the UE RRC instance. | |
NrUeCcmRrcSapUser * | m_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 | |
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.
ns3::NrSimpleUeComponentCarrierManager is accessible through the following paths with Config::Set and Config::Connect:
/NodeList/[i]/DeviceList/[i]/$ns3::NrNetDevice/$ns3::NrUeNetDevice/NrUeComponentCarrierManager/$ns3::NrSimpleUeComponentCarrierManager
/NodeList/[i]/DeviceList/[i]/$ns3::NrUeNetDevice/NrUeComponentCarrierManager/$ns3::NrSimpleUeComponentCarrierManager
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.
ns3::NrSimpleUeComponentCarrierManager::NrSimpleUeComponentCarrierManager | ( | ) |
Creates a No-op CCS algorithm instance.
Definition at line 117 of file nr-simple-ue-component-carrier-manager.cc.
|
override |
Definition at line 125 of file nr-simple-ue-component-carrier-manager.cc.
|
protectedvirtual |
Add LC function.
lcId | the LCID |
lcConfig | the logical channel config |
msu | the MSU |
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().
|
protectedvirtual |
Configure signal bearer function.
lcId | the LCID |
lcConfig | the logical channel config |
msu | the MSU |
Reimplemented in ns3::BwpManagerUe.
Definition at line 334 of file nr-simple-ue-component-carrier-manager.cc.
Referenced by ns3::BwpManagerUe::DoConfigureSignalBearer().
|
overrideprotected |
Definition at line 131 of file nr-simple-ue-component-carrier-manager.cc.
|
overrideprotected |
Definition at line 157 of file nr-simple-ue-component-carrier-manager.cc.
|
protected |
Notify HARQ deliver failure.
Definition at line 206 of file nr-simple-ue-component-carrier-manager.cc.
|
protected |
Notify TX opportunity function.
txOpParams | the NrMacSapUser::TxOpportunityParameters |
Definition at line 212 of file nr-simple-ue-component-carrier-manager.cc.
References ns3::NrMacSapUser::TxOpportunityParameters::bytes, ns3::NrMacSapUser::TxOpportunityParameters::componentCarrierId, ns3::NrMacSapUser::TxOpportunityParameters::layer, ns3::NrMacSapUser::TxOpportunityParameters::lcid, and ns3::NrMacSapUser::TxOpportunityParameters::rnti.
|
protected |
Receive PDU function.
rxPduParams | the NrMacSapUser::ReceivePduParameters |
Definition at line 231 of file nr-simple-ue-component-carrier-manager.cc.
References ns3::NrMacSapUser::ReceivePduParameters::lcid.
|
protected |
Remove LC function.
lcid | the LCID |
Definition at line 247 of file nr-simple-ue-component-carrier-manager.cc.
|
protected |
Report Ue Measure function.
rnti | the RNTI |
measResults | the measure results |
Definition at line 164 of file nr-simple-ue-component-carrier-manager.cc.
References ns3::NrRrcSap::MeasResults::measId.
|
protected |
Reset LC map.
Definition at line 273 of file nr-simple-ue-component-carrier-manager.cc.
|
protectedvirtual |
Buffer status report function.
params | NrMacSapProvider::BufferStatusReportParameters |
Reimplemented in ns3::BwpManagerUe.
Definition at line 182 of file nr-simple-ue-component-carrier-manager.cc.
References ns3::NrMacSapProvider::BufferStatusReportParameters::lcid.
|
protected |
Transmit PDU function.
params | NrMacSapProvider::TransmitPduParameters |
Definition at line 170 of file nr-simple-ue-component-carrier-manager.cc.
References ns3::NrMacSapProvider::TransmitPduParameters::componentCarrierId.
|
overridevirtual |
Returns the MAC sap provider interface that if forwarding calls to the instance of the NrUeComponentCarrierManager.
Implements ns3::NrUeComponentCarrierManager.
Definition at line 150 of file nr-simple-ue-component-carrier-manager.cc.
|
static |
Get the type ID.
Definition at line 140 of file nr-simple-ue-component-carrier-manager.cc.
|
friend |
let the forwarder class access the protected and private members
Definition at line 44 of file nr-simple-ue-component-carrier-manager.h.
|
friend |
allow NrSimpleUeCcmMacSapProvider class friend access
Definition at line 51 of file nr-simple-ue-component-carrier-manager.h.
|
friend |
allow NrSimpleUeCcmMacSapUser class friend access
Definition at line 53 of file nr-simple-ue-component-carrier-manager.h.
|
protected |
Receive API calls from the UE RLC instance.
Definition at line 130 of file nr-simple-ue-component-carrier-manager.h.
|
protected |
Interface to the UE RLC instance.
Definition at line 129 of file nr-simple-ue-component-carrier-manager.h.