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

TID-to-Link Mapping Control subfield IEEE 802.11be D3.1 Figure 9-1002ap. More...

#include "tid-to-link-mapping-element.h"

+ Collaboration diagram for ns3::TidToLinkMapping::Control:

Public Member Functions

uint16_t Deserialize (Buffer::Iterator start)
 Deserialize the TID-to-Link Mapping Control subfield.
 
uint16_t GetSubfieldSize () const
 
void Serialize (Buffer::Iterator &start) const
 Serialize the TID-to-Link Mapping Control subfield.
 

Public Attributes

bool defaultMapping {DEFAULT_WIFI_TID_LINK_MAPPING}
 Default link mapping.
 
WifiDirection direction {DEFAULT_WIFI_TID_LINK_MAP_DIR}
 Direction.
 

Private Attributes

bool expectedDurationPresent {false}
 Expected Duration Present.
 
uint8_t linkMappingSize {1}
 length of the Link Mapping Of TID n field in octets
 
bool mappingSwitchTimePresent {false}
 These members are private to prevent users to manipulate them directly (their values depend on the values of other fields)
 
std::optional< uint8_t > presenceBitmap
 Link Mapping Presence Indicator.
 

Friends

class TidToLinkMapping
 

Detailed Description

TID-to-Link Mapping Control subfield IEEE 802.11be D3.1 Figure 9-1002ap.

Definition at line 49 of file tid-to-link-mapping-element.h.

Member Function Documentation

◆ Deserialize()

uint16_t ns3::TidToLinkMapping::Control::Deserialize ( Buffer::Iterator start)

Deserialize the TID-to-Link Mapping Control subfield.

Parameters
startiterator pointing to where the subfield should be read from
Returns
the number of octets read

Definition at line 51 of file tid-to-link-mapping-element.cc.

References defaultMapping, direction, expectedDurationPresent, linkMappingSize, mappingSwitchTimePresent, and presenceBitmap.

◆ GetSubfieldSize()

uint16_t ns3::TidToLinkMapping::Control::GetSubfieldSize ( ) const

◆ Serialize()

void ns3::TidToLinkMapping::Control::Serialize ( Buffer::Iterator & start) const

Serialize the TID-to-Link Mapping Control subfield.

Parameters
startiterator pointing to where the subfield should be written to

Definition at line 35 of file tid-to-link-mapping-element.cc.

References defaultMapping, direction, expectedDurationPresent, linkMappingSize, mappingSwitchTimePresent, NS_ASSERT_MSG, and presenceBitmap.

Friends And Related Symbol Documentation

◆ TidToLinkMapping

friend class TidToLinkMapping
friend

Definition at line 51 of file tid-to-link-mapping-element.h.

References TidToLinkMapping.

Referenced by TidToLinkMapping.

Member Data Documentation

◆ defaultMapping

bool ns3::TidToLinkMapping::Control::defaultMapping {DEFAULT_WIFI_TID_LINK_MAPPING}

Default link mapping.

Definition at line 54 of file tid-to-link-mapping-element.h.

Referenced by Deserialize(), GetSubfieldSize(), ns3::ApWifiMac::ReceiveAssocRequest(), and Serialize().

◆ direction

WifiDirection ns3::TidToLinkMapping::Control::direction {DEFAULT_WIFI_TID_LINK_MAP_DIR}

Direction.

Definition at line 53 of file tid-to-link-mapping-element.h.

Referenced by Deserialize(), and Serialize().

◆ expectedDurationPresent

bool ns3::TidToLinkMapping::Control::expectedDurationPresent {false}
private

Expected Duration Present.

Definition at line 79 of file tid-to-link-mapping-element.h.

Referenced by Deserialize(), and Serialize().

◆ linkMappingSize

uint8_t ns3::TidToLinkMapping::Control::linkMappingSize {1}
private

length of the Link Mapping Of TID n field in octets

Definition at line 80 of file tid-to-link-mapping-element.h.

Referenced by Deserialize(), and Serialize().

◆ mappingSwitchTimePresent

bool ns3::TidToLinkMapping::Control::mappingSwitchTimePresent {false}
private

These members are private to prevent users to manipulate them directly (their values depend on the values of other fields)

Mapping Switch Time Present

Definition at line 78 of file tid-to-link-mapping-element.h.

Referenced by Deserialize(), and Serialize().

◆ presenceBitmap

std::optional<uint8_t> ns3::TidToLinkMapping::Control::presenceBitmap
private

Link Mapping Presence Indicator.

Definition at line 81 of file tid-to-link-mapping-element.h.

Referenced by Deserialize(), GetSubfieldSize(), and Serialize().


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