A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
anonymous_namespace{wifi-ppdu.cc} Namespace Reference

Functions

std::vector< ns3::MHz_uGetChannelCenterFrequenciesPerSegment (const ns3::WifiPhyOperatingChannel &channel, ns3::MHz_u channelWidth)
 Get the center frequency of each segment covered by the provided channel width.
 

Function Documentation

◆ GetChannelCenterFrequenciesPerSegment()

std::vector< ns3::MHz_u > anonymous_namespace{wifi-ppdu.cc}::GetChannelCenterFrequenciesPerSegment ( const ns3::WifiPhyOperatingChannel & channel,
ns3::MHz_u channelWidth )

Get the center frequency of each segment covered by the provided channel width.

If the specified channel width is contained in a single frequency segment, a single center frequency is returned. If the specified channel width is spread over multiple frequency segments (e.g. 160 MHz if operating channel is 80+80MHz), multiple center frequencies are returned.

Parameters
channelthe operating channel of the PHY
channelWidththe channel width
Returns
the center frequency of each segment covered by the given width

Definition at line 29 of file wifi-ppdu.cc.