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

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

Public Attributes

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

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 170 of file ap-wifi-mac.h.

Constructor & Destructor Documentation

◆ ~ApLinkEntity()

ns3::ApWifiMac::ApLinkEntity::~ApLinkEntity ( )
override

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

Definition at line 137 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 175 of file ap-wifi-mac.h.

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

◆ numNonErpStations

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

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

Definition at line 179 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 178 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 183 of file ap-wifi-mac.h.

◆ shortSlotTimeEnabled

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

Flag whether short slot time is enabled within the BSS.

Definition at line 181 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 176 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: