5G-LENA  nr-v3.0-29-g83cc959
The 5G/NR module for the ns-3 simulator
ns3::OperationBandInfo Struct Reference

Operation band information structure. More...

#include "cc-bwp-helper.h"

+ Collaboration diagram for ns3::OperationBandInfo:

Public Member Functions

bool AddCc (ComponentCarrierInfoPtr &&cc)
 Adds the component carrier definition given as an input reference to the current operation band configuration. More...
 
BandwidthPartInfoPtrGetBwpAt (uint32_t ccId, uint32_t bwpId) const
 Get the BWP at the cc/bwp specified. More...
 
BandwidthPartInfoPtrVector GetBwps () const
 Get the list of all the BWPs to pass to NrHelper. More...
 

Public Attributes

uint8_t m_bandId {0}
 Operation band id.
 
std::vector< ComponentCarrierInfoPtrm_cc
 Operation band component carriers.
 
double m_centralFrequency {0.0}
 Operation band central frequency.
 
double m_channelBandwidth {0}
 Operation band bandwidth.
 
double m_higherFrequency {0.0}
 Operation band higher frequency.
 
double m_lowerFrequency {0.0}
 Operation band lower frequency.
 

Detailed Description

Operation band information structure.

Defines the range of frequencies of an operation band and includes a list of component carriers (CC) and their contiguousness

Definition at line 191 of file cc-bwp-helper.h.

Member Function Documentation

◆ AddCc()

bool ns3::OperationBandInfo::AddCc ( ComponentCarrierInfoPtr &&  cc)

Adds the component carrier definition given as an input reference to the current operation band configuration.

Parameters
ccThe information of the component carrier to be created

Definition at line 63 of file cc-bwp-helper.cc.

References m_cc, m_higherFrequency, and m_lowerFrequency.

Referenced by ns3::CcBwpCreator::CreateOperationBandContiguousCc(), and ns3::CcBwpCreator::CreateOperationBandNonContiguousCc().

+ Here is the caller graph for this function:

◆ GetBwpAt()

BandwidthPartInfoPtr & ns3::OperationBandInfo::GetBwpAt ( uint32_t  ccId,
uint32_t  bwpId 
) const

Get the BWP at the cc/bwp specified.

Parameters
ccIdComponent carrier Index
bwpIdBandwidth Part index
Returns
a pointer to the BWP

Definition at line 101 of file cc-bwp-helper.cc.

References m_cc.

◆ GetBwps()

BandwidthPartInfoPtrVector ns3::OperationBandInfo::GetBwps ( ) const

Get the list of all the BWPs to pass to NrHelper.

Returns
a list of BWP to pass to NrHelper::InitializeOperationBand()

Definition at line 107 of file cc-bwp-helper.cc.

References m_cc.


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