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

Common Info field of the Basic Multi-Link element. More...

#include "multi-link-element.h"

+ Collaboration diagram for ns3::CommonInfoBasicMle:

Classes

struct  EmlCapabilities
 EML Capabilities subfield. More...
 
struct  MediumSyncDelayInfo
 Medium Synchronization Delay Information subfield. More...
 
struct  MldCapabilities
 MLD Capabilities subfield. More...
 

Public Member Functions

uint8_t Deserialize (Buffer::Iterator start, uint16_t presence)
 Deserialize the Common Info field. More...
 
uint16_t GetPresenceBitmap () const
 Get the Presence Bitmap subfield of the Common Info field. More...
 
uint8_t GetSize () const
 Get the size of the serialized Common Info field. More...
 
void Serialize (Buffer::Iterator &start) const
 Serialize the Common Info field. More...
 

Public Attributes

std::optional< uint8_t > m_bssParamsChangeCount
 BSS Parameters Change Count. More...
 
std::optional< EmlCapabilitiesm_emlCapabilities
 EML Capabilities. More...
 
std::optional< uint8_t > m_linkIdInfo
 Link ID Info. More...
 
std::optional< MediumSyncDelayInfom_mediumSyncDelayInfo
 Medium Synchronization Delay Information. More...
 
std::optional< MldCapabilitiesm_mldCapabilities
 MLD Capabilities. More...
 
Mac48Address m_mldMacAddress
 Subfields. More...
 

Detailed Description

Common Info field of the Basic Multi-Link element.

See Sec. 9.4.2.312.2.2 of 802.11be D1.5

Definition at line 46 of file multi-link-element.h.

Member Function Documentation

◆ Deserialize()

uint8_t ns3::CommonInfoBasicMle::Deserialize ( Buffer::Iterator  start,
uint16_t  presence 
)

Deserialize the Common Info field.

Parameters
startiterator pointing to where the Common Info field should be read from
presencethe value of the Presence Bitmap field indicating which subfields are present in the Common Info field
Returns
the number of bytes read

Definition at line 99 of file multi-link-element.cc.

References m_bssParamsChangeCount, m_emlCapabilities, m_linkIdInfo, m_mediumSyncDelayInfo, m_mldCapabilities, m_mldMacAddress, NS_ABORT_MSG_IF, ns3::ReadFrom(), ns3::Buffer::Iterator::ReadLsbtohU16(), ns3::Buffer::Iterator::ReadU8(), and two-ray-to-three-gpp-ch-calibration::start.

+ Here is the call graph for this function:

◆ GetPresenceBitmap()

uint16_t ns3::CommonInfoBasicMle::GetPresenceBitmap ( ) const

Get the Presence Bitmap subfield of the Common Info field.

CommonInfoBasicMle.

Returns
the Presence Bitmap subfield of the Common Info field

Definition at line 35 of file multi-link-element.cc.

References m_bssParamsChangeCount, m_emlCapabilities, m_linkIdInfo, m_mediumSyncDelayInfo, and m_mldCapabilities.

◆ GetSize()

uint8_t ns3::CommonInfoBasicMle::GetSize ( ) const

Get the size of the serialized Common Info field.

Returns
the size of the serialized Common Info field

Definition at line 46 of file multi-link-element.cc.

References m_bssParamsChangeCount, m_emlCapabilities, m_linkIdInfo, m_mediumSyncDelayInfo, and m_mldCapabilities.

Referenced by Serialize().

+ Here is the caller graph for this function:

◆ Serialize()

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

Serialize the Common Info field.

Parameters
startiterator pointing to where the Common Info field should be written to

Definition at line 60 of file multi-link-element.cc.

References GetSize(), m_bssParamsChangeCount, m_emlCapabilities, m_linkIdInfo, m_mediumSyncDelayInfo, m_mldCapabilities, m_mldMacAddress, two-ray-to-three-gpp-ch-calibration::start, and ns3::WriteTo().

+ Here is the call graph for this function:

Member Data Documentation

◆ m_bssParamsChangeCount

std::optional<uint8_t> ns3::CommonInfoBasicMle::m_bssParamsChangeCount

◆ m_emlCapabilities

std::optional<EmlCapabilities> ns3::CommonInfoBasicMle::m_emlCapabilities

EML Capabilities.

Definition at line 91 of file multi-link-element.h.

Referenced by Deserialize(), GetPresenceBitmap(), GetSize(), and Serialize().

◆ m_linkIdInfo

std::optional<uint8_t> ns3::CommonInfoBasicMle::m_linkIdInfo

◆ m_mediumSyncDelayInfo

std::optional<MediumSyncDelayInfo> ns3::CommonInfoBasicMle::m_mediumSyncDelayInfo

◆ m_mldCapabilities

std::optional<MldCapabilities> ns3::CommonInfoBasicMle::m_mldCapabilities

MLD Capabilities.

Definition at line 92 of file multi-link-element.h.

Referenced by Deserialize(), GetPresenceBitmap(), GetSize(), and Serialize().

◆ m_mldMacAddress

Mac48Address ns3::CommonInfoBasicMle::m_mldMacAddress

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