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

TID-to-Link Mapping Control subfield IEEE 802.11be D2.0 Figure 9-1002an. 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.
 
TidLinkMapDir direction {DEFAULT_WIFI_TID_LINK_MAP_DIR}
 Direction.
 
std::optional< uint8_t > presenceBitmap
 Link Mapping Presence Indicator.
 

Detailed Description

TID-to-Link Mapping Control subfield IEEE 802.11be D2.0 Figure 9-1002an.

Definition at line 72 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 55 of file tid-to-link-mapping-element.cc.

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

+ Here is the caller graph for this function:

◆ GetSubfieldSize()

uint16_t ns3::TidToLinkMapping::Control::GetSubfieldSize ( ) const
Returns
Serialized size of TID-to-Link Mapping Control in octets

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

References defaultMapping, NS_ASSERT_MSG, presenceBitmap, ns3::WIFI_LINK_MAPPING_PRESENCE_IND_SIZE_B, and ns3::WIFI_TID_TO_LINK_MAPPING_CONTROL_BASIC_SIZE_B.

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

+ Here is the caller graph for this function:

◆ 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 41 of file tid-to-link-mapping-element.cc.

References NS_ASSERT_MSG.

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

+ Here is the caller graph for this function:

Member Data Documentation

◆ defaultMapping

◆ direction

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

◆ presenceBitmap

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

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