A Discrete-Event Network Simulator
API
ns3::EhtMcsAndNssSet Struct Reference

EHT MCS and NSS Set subfield. More...

#include "eht-capabilities.h"

+ Collaboration diagram for ns3::EhtMcsAndNssSet:

Public Types

enum  EhtMcsMapType : uint8_t {
  EHT_MCS_MAP_TYPE_20_MHZ_ONLY = 0 , EHT_MCS_MAP_TYPE_NOT_LARGER_THAN_80_MHZ , EHT_MCS_MAP_TYPE_160_MHZ , EHT_MCS_MAP_TYPE_320_MHZ ,
  EHT_MCS_MAP_TYPE_MAX
}
 The different EHT-MCS map types as defined in 9.4.2.313.4 Supported EHT-MCS And NSS Set field. More...
 

Public Member Functions

uint16_t Deserialize (Buffer::Iterator start, bool is2_4Ghz, uint8_t heSupportedChannelWidthSet, bool support320MhzIn6Ghz)
 Deserialize the Supported EHT-MCS And NSS Set subfield. More...
 
uint16_t GetSize () const
 Get the size of the serialized Supported EHT-MCS And NSS Set subfield. More...
 
void Serialize (Buffer::Iterator &start) const
 Serialize the Supported EHT-MCS And NSS Set subfield. More...
 

Public Attributes

std::map< EhtMcsMapType, std::vector< uint8_t > > supportedEhtMcsAndNssSet
 Supported EHT-MCS And NSS Set. More...
 

Detailed Description

EHT MCS and NSS Set subfield.

See IEEE 802.11be D1.5 9.4.2.313.4 Supported EHT-MCS And NSS Set subfield

Definition at line 155 of file eht-capabilities.h.

Member Enumeration Documentation

◆ EhtMcsMapType

The different EHT-MCS map types as defined in 9.4.2.313.4 Supported EHT-MCS And NSS Set field.

Enumerator
EHT_MCS_MAP_TYPE_20_MHZ_ONLY 
EHT_MCS_MAP_TYPE_NOT_LARGER_THAN_80_MHZ 
EHT_MCS_MAP_TYPE_160_MHZ 
EHT_MCS_MAP_TYPE_320_MHZ 
EHT_MCS_MAP_TYPE_MAX 

Definition at line 161 of file eht-capabilities.h.

Member Function Documentation

◆ Deserialize()

uint16_t ns3::EhtMcsAndNssSet::Deserialize ( Buffer::Iterator  start,
bool  is2_4Ghz,
uint8_t  heSupportedChannelWidthSet,
bool  support320MhzIn6Ghz 
)

Deserialize the Supported EHT-MCS And NSS Set subfield.

Parameters
startiterator pointing to where the Supported EHT-MCS And NSS Set subfield should be read from
is2_4Ghzindicating whether PHY is operating in 2.4 GHz based on previously serialized IEs
heSupportedChannelWidthSetsupported channel width set based on previously deserialized HE capabilities IE
support320MhzIn6Ghzflag whether 320 MHz is supported in 6 GHz band based on EHT PHY capabilities subfield
Returns
the number of bytes read

Definition at line 188 of file eht-capabilities.cc.

References EHT_MCS_MAP_TYPE_160_MHZ, EHT_MCS_MAP_TYPE_20_MHZ_ONLY, EHT_MCS_MAP_TYPE_320_MHZ, EHT_MCS_MAP_TYPE_NOT_LARGER_THAN_80_MHZ, ns3::Buffer::Iterator::ReadU8(), two-ray-to-three-gpp-ch-calibration::start, and supportedEhtMcsAndNssSet.

Referenced by ns3::EhtCapabilities::DeserializeInformationField().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetSize()

uint16_t ns3::EhtMcsAndNssSet::GetSize ( void  ) const

Get the size of the serialized Supported EHT-MCS And NSS Set subfield.

Returns
the size of the serialized Supported EHT-MCS And NSS Set subfield

Definition at line 160 of file eht-capabilities.cc.

References supportedEhtMcsAndNssSet.

Referenced by ns3::EhtCapabilities::GetInformationFieldSize().

+ Here is the caller graph for this function:

◆ Serialize()

void ns3::EhtMcsAndNssSet::Serialize ( Buffer::Iterator start) const

Serialize the Supported EHT-MCS And NSS Set subfield.

Parameters
startiterator pointing to where the Supported EHT-MCS And NSS Set subfield should be written to

Definition at line 175 of file eht-capabilities.cc.

References NS_ASSERT, two-ray-to-three-gpp-ch-calibration::start, and supportedEhtMcsAndNssSet.

Referenced by ns3::EhtCapabilities::SerializeInformationField().

+ Here is the caller graph for this function:

Member Data Documentation

◆ supportedEhtMcsAndNssSet


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