A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::FrequencyChannelInfo Struct Reference

A structure containing the information about a frequency channel. More...

#include "wifi-phy-operating-channel.h"

+ Collaboration diagram for ns3::FrequencyChannelInfo:

Public Member Functions

auto operator<=> (const FrequencyChannelInfo &info) const =default
 spaceship operator.
 

Public Attributes

WifiPhyBand band {WifiPhyBand::WIFI_PHY_BAND_UNSPECIFIED}
 the PHY band
 
MHz_u frequency {0}
 the center frequency
 
uint8_t number {0}
 the channel number
 
FrequencyChannelType type {FrequencyChannelType::OFDM}
 the frequency channel type
 
MHz_u width {0}
 the channel width
 

Detailed Description

A structure containing the information about a frequency channel.

Definition at line 29 of file wifi-phy-operating-channel.h.

Member Function Documentation

◆ operator<=>()

auto ns3::FrequencyChannelInfo::operator<=> ( const FrequencyChannelInfo & info) const
default

spaceship operator.

Parameters
infothe frequency channel info
Returns
-1 if the provided channel info is located at a lower channel number, 0 if the provided channel info is identical or 1 if the provided channel info is located at a higher channel number

Member Data Documentation

◆ band

WifiPhyBand ns3::FrequencyChannelInfo::band {WifiPhyBand::WIFI_PHY_BAND_UNSPECIFIED}

the PHY band

Definition at line 43 of file wifi-phy-operating-channel.h.

Referenced by ns3::operator<<().

◆ frequency

MHz_u ns3::FrequencyChannelInfo::frequency {0}

the center frequency

Definition at line 41 of file wifi-phy-operating-channel.h.

Referenced by ns3::operator<<().

◆ number

uint8_t ns3::FrequencyChannelInfo::number {0}

the channel number

Definition at line 40 of file wifi-phy-operating-channel.h.

Referenced by ns3::operator<<().

◆ type

FrequencyChannelType ns3::FrequencyChannelInfo::type {FrequencyChannelType::OFDM}

the frequency channel type

Definition at line 44 of file wifi-phy-operating-channel.h.

◆ width


The documentation for this struct was generated from the following file: