a channel segment, as a struct with units for channel width More...
#include "wifi-types.h"
Public Member Functions | |
Segment (const SegmentWithoutUnits &s) | |
Converting constructor (to be deprecated when using strong types) | |
Segment (uint8_t n, MHz_u w, WifiPhyBand b, uint8_t i) | |
Constructor. | |
auto | operator<=> (const Segment &rhs) const =default |
Three-way comparison operator. | |
Public Attributes | |
WifiPhyBand | band {WIFI_PHY_BAND_UNSPECIFIED} |
PHY band. | |
uint8_t | number {} |
channel number | |
uint8_t | p20Index {} |
primary20 index | |
MHz_u | width {} |
channel width | |
a channel segment, as a struct with units for channel width
Definition at line 122 of file wifi-types.h.
|
inline |
Constructor.
n | the channel number |
w | the channel width |
b | the PHY band |
i | the primary20 index |
Definition at line 137 of file wifi-types.h.
References band, number, p20Index, and width.
Referenced by operator<=>().
|
inline |
|
default |
Three-way comparison operator.
rhs | right hand side |
References Segment().
WifiPhyBand ns3::WifiChannelConfig::Segment::band {WIFI_PHY_BAND_UNSPECIFIED} |
PHY band.
Definition at line 126 of file wifi-types.h.
Referenced by Segment(), Segment(), and ns3::WifiPhy::SetOperatingChannel().
uint8_t ns3::WifiChannelConfig::Segment::number {} |
channel number
Definition at line 124 of file wifi-types.h.
Referenced by Segment(), Segment(), and ns3::WifiPhy::SetOperatingChannel().
uint8_t ns3::WifiChannelConfig::Segment::p20Index {} |
primary20 index
Definition at line 127 of file wifi-types.h.
Referenced by Segment(), Segment(), and ns3::WifiPhy::SetOperatingChannel().
MHz_u ns3::WifiChannelConfig::Segment::width {} |
channel width
Definition at line 125 of file wifi-types.h.
Referenced by Segment(), Segment(), and ns3::WifiPhy::SetOperatingChannel().