ns3::BandwidthPartInfo struct

Spectrum part.

This is the minimum unit of usable spectrum by a PHY class. For creating any GNB or UE, you will be asked to provide a list of BandwidthPartInfo to the methods NrHelper::InstallGnbDevice() and NrHelper::InstallUeDevice(). The reason is that the helper will, for every GNB and UE in the scenario, create a PHY class that will be attached to the channels included in this struct.

For every bandwidth part (in this context, referred to a spectrum part) you have to indicate the central frequency and the higher/lower frequency, as well as the entire bandwidth plus the modeling.

The pointers to the channels, if left empty, will be initialized by NrHelper::InitializeOperationBand().

Public types

enum Scenario { RMa, RMa_LoS, RMa_nLoS, UMa_LoS, UMa_nLoS, UMa, UMi_StreetCanyon, UMi_StreetCanyon_LoS, UMi_StreetCanyon_nLoS, InH_OfficeOpen, InH_OfficeOpen_LoS, InH_OfficeOpen_nLoS, InH_OfficeMixed, InH_OfficeMixed_LoS, InH_OfficeMixed_nLoS, UMa_Buildings, UMi_Buildings, V2V_Highway, V2V_Urban }
Different types for the propagation loss model of this bandwidth part.

Public functions

auto GetScenario() const -> std::string
Retrieve a string version of the scenario.

Public variables

Ptr<PhasedArraySpectrumPropagationLossModel> m_3gppChannel
Nr Channel. Leave it nullptr to let the helper fill it.
uint8_t m_bwpId
BWP id.
double m_centralFrequency
BWP central frequency.
Ptr<SpectrumChannel> m_channel
Channel for the Bwp. Leave it nullptr to let the helper fill it.
double m_channelBandwidth
BWP bandwidth.
double m_higherFrequency
BWP higher frequency.
double m_lowerFrequency
BWP lower frequency.
Ptr<PropagationLossModel> m_propagation
Propagation model. Leave it nullptr to let the helper fill it.

Enum documentation

enum ns3::BandwidthPartInfo::Scenario

Different types for the propagation loss model of this bandwidth part.

Enumerators
RMa

RMa.

RMa_LoS

RMa where all the nodes will be in Line-of-Sight.

RMa_nLoS

RMA where all the nodes will not be in Line-of-Sight.

UMa_LoS

UMa where all the nodes will be in Line-of-Sight.

UMa_nLoS

UMa where all the nodes will not be in Line-of-Sight.

UMa

UMa.

UMi_StreetCanyon

UMi_StreetCanyon.

UMi_StreetCanyon_LoS

UMi_StreetCanyon where all the nodes will be in Line-of-Sight.

UMi_StreetCanyon_nLoS

UMi_StreetCanyon where all the nodes will not be in Line-of-Sight

InH_OfficeOpen

InH_OfficeOpen.

InH_OfficeOpen_LoS

indoor office where all the nodes will be in Line-of-Sight

InH_OfficeOpen_nLoS

indoor office where all the nodes will not be in Line-of-Sight

InH_OfficeMixed

InH_OfficeMixed.

InH_OfficeMixed_LoS

indoor office where all the nodes will be in Line-of-Sight

InH_OfficeMixed_nLoS

indoor office where all the nodes will not be in Line-of-Sight

UMa_Buildings

UMa with buildings.

UMi_Buildings

UMi_StreetCanyon with buildings.

V2V_Highway

V2V_Highway.

V2V_Urban

V2V_Urban.

Function documentation

std::string ns3::BandwidthPartInfo::GetScenario() const

Retrieve a string version of the scenario.

Returns the string-fied version of the scenario