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 60 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 62 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 32 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 46 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:

Friends And Related Function Documentation

◆ TidToLinkMapping

friend class TidToLinkMapping
friend

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

Member Data Documentation

◆ defaultMapping

◆ direction

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

Direction.

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

Referenced by TidToLinkMappingElementTest::DoSetup().

◆ expectedDurationPresent

◆ linkMappingSize

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

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

Referenced by ns3::TidToLinkMapping::DeserializeInformationField(), ns3::TidToLinkMapping::GetInformationFieldSize(), ns3::TidToLinkMapping::GetMappingSwitchTime(), ns3::TidToLinkMapping::SerializeInformationField(), and ns3::TidToLinkMapping::SetMappingSwitchTime().

◆ presenceBitmap

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

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