A Discrete-Event Network Simulator
API
ns3::StaWifiMac::StaLinkEntity Struct Reference

Structure holding information specific to a single link. More...

#include "sta-wifi-mac.h"

+ Inheritance diagram for ns3::StaWifiMac::StaLinkEntity:
+ Collaboration diagram for ns3::StaWifiMac::StaLinkEntity:

Public Member Functions

 ~StaLinkEntity () override
 Destructor (a virtual method is needed to make this struct polymorphic) More...
 

Public Attributes

std::optional< Mac48Addressbssid
 BSSID of the AP to associate with over this link. More...
 
bool emlsrEnabled {false}
 whether EMLSR mode is enabled on this link More...
 
WifiPowerManagementMode pmMode {WIFI_PM_ACTIVE}
 the current PM mode, if the STA is associated, or the PM mode to switch to upon association, otherwise More...
 
bool sendAssocReq
 whether this link is used to send the Association Request frame More...
 

Detailed Description

Structure holding information specific to a single link.

Here, the meaning of "link" is that of the 11be amendment which introduced multi-link devices. For previous amendments, only one link can be created.

Definition at line 347 of file sta-wifi-mac.h.

Constructor & Destructor Documentation

◆ ~StaLinkEntity()

ns3::StaWifiMac::StaLinkEntity::~StaLinkEntity ( )
override

Destructor (a virtual method is needed to make this struct polymorphic)

Definition at line 210 of file sta-wifi-mac.cc.

References NS_LOG_FUNCTION_NOARGS.

Member Data Documentation

◆ bssid

std::optional<Mac48Address> ns3::StaWifiMac::StaLinkEntity::bssid

◆ emlsrEnabled

bool ns3::StaWifiMac::StaLinkEntity::emlsrEnabled {false}

whether EMLSR mode is enabled on this link

Definition at line 358 of file sta-wifi-mac.h.

Referenced by ns3::StaWifiMac::IsEmlsrLink().

◆ pmMode

WifiPowerManagementMode ns3::StaWifiMac::StaLinkEntity::pmMode {WIFI_PM_ACTIVE}

the current PM mode, if the STA is associated, or the PM mode to switch to upon association, otherwise

Definition at line 355 of file sta-wifi-mac.h.

Referenced by ns3::StaWifiMac::GetPmMode().

◆ sendAssocReq

bool ns3::StaWifiMac::StaLinkEntity::sendAssocReq

whether this link is used to send the Association Request frame

Definition at line 352 of file sta-wifi-mac.h.

Referenced by ns3::StaWifiMac::ScanningTimeout(), and ns3::StaWifiMac::SendAssociationRequest().


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