ns3::OperationBandInfo struct

Operation band information structure.

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

Public functions

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

Public variables

uint8_t m_bandId
Operation band id.
std::vector<ComponentCarrierInfoPtr> m_cc
Operation band component carriers.
double m_centralFrequency
Operation band central frequency.
double m_channelBandwidth
Operation band bandwidth.
double m_higherFrequency
Operation band higher frequency.
double m_lowerFrequency
Operation band lower frequency.

Function documentation

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

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

Parameters
cc The information of the component carrier to be created

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

Get the BWP at the cc/bwp specified.

Parameters
ccId Component carrier Index
bwpId Bandwidth Part index
Returns a pointer to the BWP

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()