A Discrete-Event Network Simulator
API
ns3::WifiMac::LinkEntity Struct Reference

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

#include "wifi-mac.h"

+ Inheritance diagram for ns3::WifiMac::LinkEntity:
+ Collaboration diagram for ns3::WifiMac::LinkEntity:

Public Member Functions

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

Public Attributes

Ptr< ChannelAccessManagerchannelAccessManager
 channel access manager object More...
 
bool dsssSupported {false}
 set to true iff this WifiMac is to model 802.11b More...
 
bool erpSupported {false}
 set to true iff this WifiMac is to model 802.11g More...
 
Ptr< FrameExchangeManagerfeManager
 Frame Exchange Manager object. More...
 
uint8_t id
 Link ID (starting at 0) More...
 
Ptr< WifiPhyphy
 Wifi PHY object. More...
 
Ptr< WifiRemoteStationManagerstationManager
 Remote station manager (rate control, RTS/CTS/ fragmentation thresholds etc.) 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. Therefore, "link" has not to be confused with the general concept of link for a NetDevice (used by the m_linkUp and m_linkDown callbacks).

Definition at line 613 of file wifi-mac.h.

Constructor & Destructor Documentation

◆ ~LinkEntity()

ns3::WifiMac::LinkEntity::~LinkEntity ( )
virtual

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

Definition at line 366 of file wifi-mac.cc.

References channelAccessManager, ns3::Object::Dispose(), and feManager.

+ Here is the call graph for this function:

Member Data Documentation

◆ channelAccessManager

◆ dsssSupported

bool ns3::WifiMac::LinkEntity::dsssSupported {false}

set to true iff this WifiMac is to model 802.11b

Definition at line 626 of file wifi-mac.h.

Referenced by ns3::WifiMac::GetDsssSupported(), and ns3::WifiMac::SetDsssSupported().

◆ erpSupported

bool ns3::WifiMac::LinkEntity::erpSupported {false}

set to true iff this WifiMac is to model 802.11g

Definition at line 624 of file wifi-mac.h.

Referenced by ns3::WifiMac::GetErpSupported(), and ns3::WifiMac::SetErpSupported().

◆ feManager

◆ id

uint8_t ns3::WifiMac::LinkEntity::id

Link ID (starting at 0)

Definition at line 618 of file wifi-mac.h.

◆ phy

◆ stationManager

Ptr<WifiRemoteStationManager> ns3::WifiMac::LinkEntity::stationManager

Remote station manager (rate control, RTS/CTS/ fragmentation thresholds etc.)

Definition at line 622 of file wifi-mac.h.

Referenced by ns3::WifiMac::GetWifiRemoteStationManager(), and ns3::WifiMac::NotifyChannelSwitching().


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