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

EHT MAC Capabilities Info subfield. More...

#include "eht-capabilities.h"

+ Collaboration diagram for ns3::EhtMacCapabilities:

Public Member Functions

uint16_t Deserialize (Buffer::Iterator start)
 Deserialize the EHT MAC capabilities subfield.
 
uint16_t GetSize () const
 Get the size of the serialized EHT MAC capabilities subfield.
 
void Serialize (Buffer::Iterator &start) const
 Serialize the EHT MAC capabilities subfield.
 

Public Attributes

uint8_t ehtOmControlSupport: 1
 EHT OM Control Support.
 
uint8_t epcsPriorityAccessSupported: 1
 EPCS Priority Access Supported.
 
uint8_t maxAmpduLengthExponentExtension: 1
 Maximum A-MPDU length exponent extension.
 
uint8_t maxMpduLength: 2
 Maximum MPDU Length.
 
uint8_t restrictedTwtSupport: 1
 Restricted TWT Support.
 
uint8_t scsTrafficDescriptionSupport: 1
 SCS Traffic Description Support.
 
uint8_t triggeredTxopSharingMode1Support: 1
 Triggered TXOP Sharing Mode 1 Support.
 
uint8_t triggeredTxopSharingMode2Support: 1
 Triggered TXOP Sharing Mode 2 Support.
 

Detailed Description

EHT MAC Capabilities Info subfield.

See IEEE 802.11be D1.5 9.4.2.313.2 EHT MAC Capabilities Information subfield

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

Member Function Documentation

◆ Deserialize()

uint16_t ns3::EhtMacCapabilities::Deserialize ( Buffer::Iterator start)

Deserialize the EHT MAC capabilities subfield.

Parameters
startiterator pointing to where the EHT MAC capabilities subfield should be read from
Returns
the number of bytes read

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

References ehtOmControlSupport, epcsPriorityAccessSupported, maxAmpduLengthExponentExtension, maxMpduLength, ns3::Buffer::Iterator::ReadLsbtohU16(), restrictedTwtSupport, scsTrafficDescriptionSupport, triggeredTxopSharingMode1Support, and triggeredTxopSharingMode2Support.

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::EhtMacCapabilities::GetSize ( ) const

Get the size of the serialized EHT MAC capabilities subfield.

Returns
the size of the serialized EHT MAC capabilities subfield

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

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

+ Here is the caller graph for this function:

◆ Serialize()

void ns3::EhtMacCapabilities::Serialize ( Buffer::Iterator & start) const

Serialize the EHT MAC capabilities subfield.

Parameters
startiterator pointing to where the EHT MAC capabilities subfield should be written to

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

References ehtOmControlSupport, epcsPriorityAccessSupported, maxAmpduLengthExponentExtension, maxMpduLength, restrictedTwtSupport, scsTrafficDescriptionSupport, triggeredTxopSharingMode1Support, and triggeredTxopSharingMode2Support.

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

+ Here is the caller graph for this function:

Member Data Documentation

◆ ehtOmControlSupport

uint8_t ns3::EhtMacCapabilities::ehtOmControlSupport

EHT OM Control Support.

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

Referenced by Deserialize(), and Serialize().

◆ epcsPriorityAccessSupported

uint8_t ns3::EhtMacCapabilities::epcsPriorityAccessSupported

EPCS Priority Access Supported.

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

Referenced by Deserialize(), and Serialize().

◆ maxAmpduLengthExponentExtension

uint8_t ns3::EhtMacCapabilities::maxAmpduLengthExponentExtension

Maximum A-MPDU length exponent extension.

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

Referenced by Deserialize(), ns3::EhtCapabilities::GetMaxAmpduLength(), Serialize(), and ns3::EhtCapabilities::SetMaxAmpduLength().

◆ maxMpduLength

uint8_t ns3::EhtMacCapabilities::maxMpduLength

◆ restrictedTwtSupport

uint8_t ns3::EhtMacCapabilities::restrictedTwtSupport

Restricted TWT Support.

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

Referenced by Deserialize(), and Serialize().

◆ scsTrafficDescriptionSupport

uint8_t ns3::EhtMacCapabilities::scsTrafficDescriptionSupport

SCS Traffic Description Support.

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

Referenced by Deserialize(), and Serialize().

◆ triggeredTxopSharingMode1Support

uint8_t ns3::EhtMacCapabilities::triggeredTxopSharingMode1Support

Triggered TXOP Sharing Mode 1 Support.

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

Referenced by Deserialize(), and Serialize().

◆ triggeredTxopSharingMode2Support

uint8_t ns3::EhtMacCapabilities::triggeredTxopSharingMode2Support

Triggered TXOP Sharing Mode 2 Support.

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

Referenced by Deserialize(), and Serialize().


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