A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
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)
 

Public Attributes

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

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 319 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 213 of file sta-wifi-mac.cc.

References NS_LOG_FUNCTION_NOARGS.

Member Data Documentation

◆ bssid

◆ emlsrEnabled

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

whether EMLSR mode is enabled on this link

Definition at line 330 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 327 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 324 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: