5G-LENA nr-v3.1-14-g738b08bc
The 5G/NR module for the ns-3 simulator
|
Operation band information structure. More...
#include "cc-bwp-helper.h"
Public Member Functions | |
bool | AddCc (ComponentCarrierInfoPtr &&cc) |
Adds the component carrier definition given as an input reference to the current operation band configuration. | |
BandwidthPartInfoPtr & | GetBwpAt (uint32_t ccId, uint32_t bwpId) const |
Get the BWP at the cc/bwp specified. | |
BandwidthPartInfoPtrVector | GetBwps () const |
Get the list of all the BWPs to pass to NrHelper. | |
Public Attributes | |
uint8_t | m_bandId {0} |
Operation band id. | |
std::vector< ComponentCarrierInfoPtr > | m_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. | |
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 189 of file cc-bwp-helper.h.
bool ns3::OperationBandInfo::AddCc | ( | ComponentCarrierInfoPtr && | cc | ) |
Adds the component carrier definition given as an input reference to the current operation band configuration.
cc | The information of the component carrier to be created |
Definition at line 61 of file cc-bwp-helper.cc.
References m_cc, m_higherFrequency, and m_lowerFrequency.
Referenced by ns3::CcBwpCreator::CreateOperationBandContiguousCc(), and ns3::CcBwpCreator::CreateOperationBandNonContiguousCc().
BandwidthPartInfoPtr & ns3::OperationBandInfo::GetBwpAt | ( | uint32_t | ccId, |
uint32_t | bwpId | ||
) | const |
Get the BWP at the cc/bwp specified.
ccId | Component carrier Index |
bwpId | Bandwidth Part index |
Definition at line 99 of file cc-bwp-helper.cc.
References m_cc.
BandwidthPartInfoPtrVector ns3::OperationBandInfo::GetBwps | ( | ) | const |
Get the list of all the BWPs to pass to NrHelper.
Definition at line 105 of file cc-bwp-helper.cc.
References m_cc.
Referenced by ns3::CcBwpCreator::GetAllBwps().
uint8_t ns3::OperationBandInfo::m_bandId {0} |
Operation band id.
Definition at line 191 of file cc-bwp-helper.h.
Referenced by ns3::CcBwpCreator::CreateOperationBandContiguousCc(), ns3::CcBwpCreator::CreateOperationBandNonContiguousCc(), ns3::LenaV2Utils::SetLenaV2SimulatorParameters(), and ns3::LenaV2Utils::SetLenaV2SimulatorParameters().
std::vector<ComponentCarrierInfoPtr> ns3::OperationBandInfo::m_cc |
Operation band component carriers.
Definition at line 197 of file cc-bwp-helper.h.
Referenced by AddCc(), ns3::CcBwpCreator::CreateOperationBandContiguousCc(), GetBwpAt(), GetBwps(), ns3::NrHelper::InitializeOperationBand(), ns3::LenaV2Utils::SetLenaV2SimulatorParameters(), and ns3::LenaV2Utils::SetLenaV2SimulatorParameters().
double ns3::OperationBandInfo::m_centralFrequency {0.0} |
Operation band central frequency.
Definition at line 192 of file cc-bwp-helper.h.
Referenced by ns3::CcBwpCreator::CreateOperationBandContiguousCc().
double ns3::OperationBandInfo::m_channelBandwidth {0} |
Operation band bandwidth.
Definition at line 195 of file cc-bwp-helper.h.
Referenced by ns3::CcBwpCreator::CreateOperationBandContiguousCc().
double ns3::OperationBandInfo::m_higherFrequency {0.0} |
Operation band higher frequency.
Definition at line 194 of file cc-bwp-helper.h.
Referenced by AddCc(), and ns3::CcBwpCreator::CreateOperationBandContiguousCc().
double ns3::OperationBandInfo::m_lowerFrequency {0.0} |
Operation band lower frequency.
Definition at line 193 of file cc-bwp-helper.h.
Referenced by AddCc(), ns3::CcBwpCreator::CreateOperationBandContiguousCc(), and ns3::CcBwpCreator::CreateOperationBandNonContiguousCc().