A Discrete-Event Network Simulator
API
ns3::ApWifiMac::ApLinkEntity Struct Reference

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

#include "ap-wifi-mac.h"

+ Inheritance diagram for ns3::ApWifiMac::ApLinkEntity:
+ Collaboration diagram for ns3::ApWifiMac::ApLinkEntity:

Public Member Functions

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

Public Attributes

EventId beaconEvent
 Event to generate one beacon. More...
 
uint16_t numNonErpStations {0}
 Number of non-ERP stations currently associated to the AP. More...
 
uint16_t numNonHtStations {0}
 Number of non-HT stations currently associated to the AP. More...
 
bool shortPreambleEnabled {false}
 Flag whether short preamble is enabled in the BSS. More...
 
bool shortSlotTimeEnabled {false}
 Flag whether short slot time is enabled within the BSS. More...
 
std::map< uint16_t, Mac48AddressstaList
 Map of all stations currently associated to the AP with their association ID. 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 160 of file ap-wifi-mac.h.

Constructor & Destructor Documentation

◆ ~ApLinkEntity()

ns3::ApWifiMac::ApLinkEntity::~ApLinkEntity ( )
virtual

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

Definition at line 129 of file ap-wifi-mac.cc.

References beaconEvent, ns3::EventId::Cancel(), and NS_LOG_FUNCTION_NOARGS.

+ Here is the call graph for this function:

Member Data Documentation

◆ beaconEvent

EventId ns3::ApWifiMac::ApLinkEntity::beaconEvent

Event to generate one beacon.

Definition at line 165 of file ap-wifi-mac.h.

Referenced by ~ApLinkEntity(), ns3::ApWifiMac::DoInitialize(), and ns3::ApWifiMac::SetBeaconGeneration().

◆ numNonErpStations

uint16_t ns3::ApWifiMac::ApLinkEntity::numNonErpStations {0}

Number of non-ERP stations currently associated to the AP.

Definition at line 169 of file ap-wifi-mac.h.

Referenced by ns3::ApWifiMac::GetUseNonErpProtection(), and ns3::ApWifiMac::Receive().

◆ numNonHtStations

uint16_t ns3::ApWifiMac::ApLinkEntity::numNonHtStations {0}

Number of non-HT stations currently associated to the AP.

Definition at line 168 of file ap-wifi-mac.h.

Referenced by ns3::ApWifiMac::Receive().

◆ shortPreambleEnabled

bool ns3::ApWifiMac::ApLinkEntity::shortPreambleEnabled {false}

Flag whether short preamble is enabled in the BSS.

Definition at line 171 of file ap-wifi-mac.h.

◆ shortSlotTimeEnabled

bool ns3::ApWifiMac::ApLinkEntity::shortSlotTimeEnabled {false}

Flag whether short slot time is enabled within the BSS.

Definition at line 170 of file ap-wifi-mac.h.

◆ staList

std::map<uint16_t, Mac48Address> ns3::ApWifiMac::ApLinkEntity::staList

Map of all stations currently associated to the AP with their association ID.

Definition at line 166 of file ap-wifi-mac.h.

Referenced by ns3::ApWifiMac::GetStaList(), and ns3::ApWifiMac::Receive().


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