FD Capability subfield of FILS Discovery Information field. More...
#include "mgt-action-headers.h"
Collaboration diagram for ns3::FilsDiscHeader::FdCapability:Public Member Functions | |
| uint32_t | Deserialize (Buffer::Iterator start) |
| read content from a given buffer | |
| uint8_t | GetMaxNss () const |
| Note that this function returns 5 if the maximum number of supported spatial streams is greater than 4. | |
| MHz_u | GetOpChannelWidth () const |
| WifiStandard | GetStandard (WifiPhyBand band) const |
| void | Serialize (Buffer::Iterator &start) const |
| serialize content to a given buffer | |
| void | SetMaxNss (uint8_t maxNss) |
| Set the Maximum Number of Spatial Streams field. | |
| void | SetOpChannelWidth (MHz_u width) |
| Set the BSS Operating Channel Width field based on the operating channel width. | |
| void | SetStandard (WifiStandard standard) |
| Set the PHY Index field based on the given wifi standard. | |
Public Attributes | |
| uint8_t | m_chWidth: 3 {0} |
| BSS Operating Channel Width. | |
| uint8_t | m_ess: 1 {0} |
| ESS. | |
| uint8_t | m_maxNss: 3 {0} |
| Maximum Number of Spatial Streams. | |
| uint8_t | m_minRate: 3 {0} |
| FILS Minimum Rate. | |
| uint8_t | m_multiBssidPresenceInd: 1 {0} |
| Multiple BSSIDs Presence Indicator. | |
| uint8_t | m_phyIdx: 3 {0} |
| PHY Index. | |
| uint8_t | m_privacy: 1 {0} |
| Privacy. | |
| uint8_t | m_reserved: 1 {0} |
| Reserved Bit. | |
FD Capability subfield of FILS Discovery Information field.
Definition at line 765 of file mgt-action-headers.h.
| uint32_t ns3::FilsDiscHeader::FdCapability::Deserialize | ( | Buffer::Iterator | start | ) |
read content from a given buffer
| start | input buffer iterator |
Definition at line 1749 of file mgt-action-headers.cc.
References m_chWidth, m_ess, m_maxNss, m_minRate, m_multiBssidPresenceInd, m_phyIdx, and m_privacy.
| uint8_t ns3::FilsDiscHeader::FdCapability::GetMaxNss | ( | ) | const |
Note that this function returns 5 if the maximum number of supported spatial streams is greater than 4.
Definition at line 1806 of file mgt-action-headers.cc.
References m_maxNss.
| MHz_u ns3::FilsDiscHeader::FdCapability::GetOpChannelWidth | ( | ) | const |
Definition at line 1776 of file mgt-action-headers.cc.
References m_chWidth, m_phyIdx, and NS_ABORT_MSG.
| WifiStandard ns3::FilsDiscHeader::FdCapability::GetStandard | ( | WifiPhyBand | band | ) | const |
| band | the PHY band in which the device is operating (needed to distinguish between 802.11a and 802.11g) |
Definition at line 1841 of file mgt-action-headers.cc.
References m_phyIdx, NS_ABORT_MSG, NS_ABORT_MSG_IF, ns3::WIFI_PHY_BAND_2_4GHZ, ns3::WIFI_PHY_BAND_5GHZ, ns3::WIFI_STANDARD_80211a, ns3::WIFI_STANDARD_80211ac, ns3::WIFI_STANDARD_80211ax, ns3::WIFI_STANDARD_80211b, ns3::WIFI_STANDARD_80211be, ns3::WIFI_STANDARD_80211g, ns3::WIFI_STANDARD_80211n, and ns3::WIFI_STANDARD_UNSPECIFIED.
| void ns3::FilsDiscHeader::FdCapability::Serialize | ( | Buffer::Iterator & | start | ) | const |
serialize content to a given buffer
| start | given input buffer iterator |
Definition at line 1741 of file mgt-action-headers.cc.
References m_chWidth, m_ess, m_maxNss, m_minRate, m_multiBssidPresenceInd, m_phyIdx, and m_privacy.
| void ns3::FilsDiscHeader::FdCapability::SetMaxNss | ( | uint8_t | maxNss | ) |
Set the Maximum Number of Spatial Streams field.
| maxNss | the maximum number of supported spatial streams |
Definition at line 1797 of file mgt-action-headers.cc.
References m_maxNss, and NS_ABORT_MSG_IF.
| void ns3::FilsDiscHeader::FdCapability::SetOpChannelWidth | ( | MHz_u | width | ) |
Set the BSS Operating Channel Width field based on the operating channel width.
| width | the operating channel width |
Definition at line 1765 of file mgt-action-headers.cc.
References m_chWidth.
| void ns3::FilsDiscHeader::FdCapability::SetStandard | ( | WifiStandard | standard | ) |
Set the PHY Index field based on the given wifi standard.
| standard | the wifi standard |
Definition at line 1812 of file mgt-action-headers.cc.
References m_phyIdx, NS_ABORT_MSG, ns3::WIFI_STANDARD_80211a, ns3::WIFI_STANDARD_80211ac, ns3::WIFI_STANDARD_80211ax, ns3::WIFI_STANDARD_80211b, ns3::WIFI_STANDARD_80211be, ns3::WIFI_STANDARD_80211g, and ns3::WIFI_STANDARD_80211n.
| uint8_t ns3::FilsDiscHeader::FdCapability::m_chWidth |
BSS Operating Channel Width.
Definition at line 769 of file mgt-action-headers.h.
Referenced by Deserialize(), GetOpChannelWidth(), ns3::operator<<(), Serialize(), and SetOpChannelWidth().
| uint8_t ns3::FilsDiscHeader::FdCapability::m_ess |
ESS.
Definition at line 767 of file mgt-action-headers.h.
Referenced by Deserialize(), ns3::operator<<(), and Serialize().
| uint8_t ns3::FilsDiscHeader::FdCapability::m_maxNss |
Maximum Number of Spatial Streams.
Definition at line 770 of file mgt-action-headers.h.
Referenced by Deserialize(), GetMaxNss(), ns3::operator<<(), Serialize(), and SetMaxNss().
| uint8_t ns3::FilsDiscHeader::FdCapability::m_minRate |
FILS Minimum Rate.
Definition at line 774 of file mgt-action-headers.h.
Referenced by Deserialize(), ns3::operator<<(), and Serialize().
| uint8_t ns3::FilsDiscHeader::FdCapability::m_multiBssidPresenceInd |
Multiple BSSIDs Presence Indicator.
Definition at line 772 of file mgt-action-headers.h.
Referenced by Deserialize(), ns3::operator<<(), and Serialize().
| uint8_t ns3::FilsDiscHeader::FdCapability::m_phyIdx |
PHY Index.
Definition at line 773 of file mgt-action-headers.h.
Referenced by Deserialize(), GetOpChannelWidth(), GetStandard(), ns3::operator<<(), Serialize(), and SetStandard().
| uint8_t ns3::FilsDiscHeader::FdCapability::m_privacy |
Privacy.
Definition at line 768 of file mgt-action-headers.h.
Referenced by Deserialize(), ns3::operator<<(), and Serialize().
| uint8_t ns3::FilsDiscHeader::FdCapability::m_reserved |
Reserved Bit.
Definition at line 771 of file mgt-action-headers.h.