A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::PowerSaveManager Class Referenceabstract

PowerSaveManager is an abstract base class. More...

#include "power-save-manager.h"

Inheritance diagram for ns3::PowerSaveManager:
Collaboration diagram for ns3::PowerSaveManager:

Classes

struct  StaInfo
 Information about each STA operating on a given link. More...

Public Member Functions

 ~PowerSaveManager () override
uint32_t GetListenInterval () const
std::optional< TimeGetTimeUntilNextTbtt (linkId_t linkId) const
void NotifyAssocCompleted ()
 Notify that the non-AP STA/MLD has completed association with an AP.
void NotifyBeaconIntervalAndTimestamp (const Time &beaconInterval, const Time &timestamp, linkId_t linkId)
 This function is normally used to notify the Beacon interval and timestamp included in the last Beacon frame advertised by the AP this device is going to associate with.
void NotifyChannelReleased (Ptr< Txop > txop, linkId_t linkId)
 Notify that the given TXOP has released the channel on the given link.
void NotifyDisassociation ()
 Notify that the non-AP STA/MLD has disassociated.
void NotifyPmModeChanged (WifiPowerManagementMode pmMode, linkId_t linkId)
 Notify that the Power Management mode of the non-AP STA operating on the given link has changed.
void NotifyReceivedBeacon (Ptr< const WifiMpdu > mpdu, linkId_t linkId)
 Notify that a Beacon frame has been received from the associated AP on the given link.
void NotifyReceivedFrameAfterPsPoll (Ptr< const WifiMpdu > mpdu, linkId_t linkId)
 Notify the reception of a frame in response to a PS-Poll frame on the given link.
void NotifyReceivedGroupcast (Ptr< const WifiMpdu > mpdu, linkId_t linkId)
 Notify the reception of a groupcast frame (possibly after a DTIM) on the given link.
void NotifyRequestAccess (Ptr< Txop > txop, linkId_t linkId)
 Notify that the given TXOP is requesting channel access on the given link.
void SetPowerSaveMode (const std::map< linkId_t, bool > &linkIdEnableMap)
 Enable or disable Power Save mode on a given set of links.
void SetWifiMac (Ptr< StaWifiMac > mac)
 Set the MAC which is using this Power Save Manager.
void TxDropped (WifiMacDropReason reason, Ptr< const WifiMpdu > mpdu)
 Notify that the given MPDU has been discarded for the given reason.
Public Member Functions inherited from ns3::Object
 Object ()
 Caller graph was not generated because of its size.
 ~Object () override
 Destructor.
void AggregateObject (Ptr< Object > other)
 Aggregate two Objects together.
void Dispose ()
 Dispose of this Object.
AggregateIterator GetAggregateIterator () const
 Get an iterator to the Objects aggregated to this one.
TypeId GetInstanceTypeId () const final
 Get the most derived TypeId for this Object.
template<>
Ptr< ObjectGetObject () const
 Specialization of () for objects of type ns3::Object.
template<typename T>
Ptr< T > GetObject () const
 Get a pointer to the requested aggregated Object.
template<>
Ptr< ObjectGetObject (TypeId tid) const
 Specialization of (TypeId tid) for objects of type ns3::Object.
template<typename T>
Ptr< T > GetObject (TypeId tid) const
 Get a pointer to the requested aggregated Object by TypeId.
void Initialize ()
 Invoke DoInitialize on all Objects aggregated to this one.
bool IsInitialized () const
 Check if the object has been initialized.
void UnidirectionalAggregateObject (Ptr< Object > other)
 Aggregate an Object to another Object.
Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter >
 SimpleRefCount ()
 Default constructor.
uint32_t GetReferenceCount () const
 Get the reference count of the object.
SimpleRefCountoperator= (const SimpleRefCount &o)
 Assignment operator.
void Ref () const
 Increment the reference count.
void Unref () const
 Decrement the reference count.
Public Member Functions inherited from ns3::ObjectBase
virtual ~ObjectBase ()
 Virtual destructor.
void GetAttribute (std::string name, AttributeValue &value, bool permissive=false) const
 Get the value of an attribute, raising fatal errors if unsuccessful.
bool GetAttributeFailSafe (std::string name, AttributeValue &value) const
 Get the value of an attribute without raising errors.
void SetAttribute (std::string name, const AttributeValue &value)
 Set a single attribute, raising fatal errors if unsuccessful.
bool SetAttributeFailSafe (std::string name, const AttributeValue &value)
 Set a single attribute without raising errors.
bool TraceConnect (std::string name, std::string context, const CallbackBase &cb)
 Connect a TraceSource to a Callback with a context.
bool TraceConnectWithoutContext (std::string name, const CallbackBase &cb)
 Connect a TraceSource to a Callback without a context.
bool TraceDisconnect (std::string name, std::string context, const CallbackBase &cb)
 Disconnect from a TraceSource a Callback previously connected with a context.
bool TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb)
 Disconnect from a TraceSource a Callback previously connected without a context.

Static Public Member Functions

static TypeId GetTypeId ()
 Get the type ID.
Static Public Member Functions inherited from ns3::Object
static TypeId GetTypeId ()
 Register this type.
Static Public Member Functions inherited from ns3::ObjectBase
static TypeId GetTypeId ()
 Get the type ID.

Protected Member Functions

void DoDispose () override
 Destructor implementation.
void DoInitialize () override
 Initialize() implementation.
virtual void DoNotifyAssocCompleted ()=0
 Notify subclasses that the non-AP STA/MLD has completed association with an AP.
virtual void DoNotifyChannelReleased (Ptr< Txop > txop, linkId_t linkId)=0
 Notify subclasses that the given TXOP is releasing the channel on the given link.
virtual void DoNotifyDisassociation ()=0
 Notify subclasses that the non-AP STA/MLD has disassociated.
virtual void DoNotifyPmModeChanged (WifiPowerManagementMode pmMode, linkId_t linkId)=0
 Notify subclasses that the Power Management mode of the non-AP STA operating on the given link has changed.
virtual void DoNotifyReceivedBeacon (const MgtBeaconHeader &beacon, linkId_t linkId)=0
 Notify subclasses that a Beacon frame has been received from the associated AP on the given link.
virtual void DoNotifyReceivedFrameAfterPsPoll (Ptr< const WifiMpdu > mpdu, linkId_t linkId)=0
 Notify subclasses of the reception of a frame in response to a PS-Poll frame on the given link.
virtual void DoNotifyReceivedGroupcast (Ptr< const WifiMpdu > mpdu, linkId_t linkId)=0
 Notify subclasses of the reception of a groupcast frame (possibly after a DTIM) on the given link.
virtual void DoNotifyRequestAccess (Ptr< Txop > txop, linkId_t linkId)=0
 Notify subclasses that the given TXOP is requesting channel access on the given link.
virtual void DoTxDropped (WifiMacDropReason reason, Ptr< const WifiMpdu > mpdu)=0
 Notify subclasses that the given MPDU has been discarded for the given reason.
StaInfoGetStaInfo (linkId_t linkId)
 Get the information about the STA operating on the given link.
Ptr< StaWifiMacGetStaMac () const
bool HasRequestedOrGainedChannel (linkId_t linkId) const
 Get whether any Access Category has requested (or gained) the channel on the given link.
Protected Member Functions inherited from ns3::Object
 Object (const Object &o)
 Copy an Object.
virtual void NotifyNewAggregate ()
 Notify all Objects aggregated to this one of a new Object being aggregated.
Protected Member Functions inherited from ns3::ObjectBase
void ConstructSelf (const AttributeConstructionList &attributes)
 Complete construction of ObjectBase; invoked by derived classes.
virtual void NotifyConstructionCompleted ()
 Notifier called once the ObjectBase is fully constructed.

Private Types

using PmModeChangeCallback = void (*)(linkId_t, WifiPowerManagementMode)
 TracedCallback signature for power management mode change events.

Private Attributes

std::map< linkId_t, bool > m_linkIdEnableMap
 a link ID-indexed map indicating whether to enable or not power save mode on the link with the given ID (used before initialization)
uint32_t m_listenInterval
 beacon listen interval
TracedCallback< linkId_t, WifiPowerManagementModem_pmModeLogger
 link ID-indexed power management mode logger
std::map< linkId_t, StaInfom_staInfo
 link ID-indexed map of STA infos
Ptr< StaWifiMacm_staMac
 MAC which is using this Power Save Manager.

Additional Inherited Members

Detailed Description

PowerSaveManager is an abstract base class.

Each subclass defines a logic to switch a STA in powersave mode between active state and doze state.

Config Paths

ns3::PowerSaveManager is accessible through the following paths with Config::Set and Config::Connect:

  • "/NodeList/[i]/DeviceList/[i]/$ns3::WifiNetDevice/Mac/$ns3::StaWifiMac/PowerSaveManager"

Attributes

TraceSources

  • PmMode: Traces every change in the power management mode of the STAs affiliated with this device. Provides the ID of the link on which the STA that changed power management mode is operating and the new power management mode of the STA.

Group: Wifi
Size of this type is 192 bytes (on a 64-bit architecture).

Definition at line 38 of file power-save-manager.h.

Member Typedef Documentation

◆ PmModeChangeCallback

TracedCallback signature for power management mode change events.

Definition at line 274 of file power-save-manager.h.

Constructor & Destructor Documentation

◆ ~PowerSaveManager()

ns3::PowerSaveManager::~PowerSaveManager ( )
override

Definition at line 68 of file power-save-manager.cc.

References NS_LOG_FUNCTION_NOARGS.

Member Function Documentation

◆ DoDispose()

void ns3::PowerSaveManager::DoDispose ( )
overrideprotectedvirtual

Destructor implementation.

This method is called by Dispose() or by the Object's destructor, whichever comes first.

Subclasses are expected to implement their real destruction code in an overridden version of this method and chain up to their parent's implementation once they are done. i.e, for simplicity, the destructor of every subclass should be empty and its content should be moved to the associated DoDispose() method.

It is safe to call GetObject() from within this method.

Caller graph was not generated because of its size.

Reimplemented from ns3::Object.

Definition at line 86 of file power-save-manager.cc.

References ns3::Object::DoDispose(), m_staMac, ns3::MakeCallback(), NS_LOG_FUNCTION, and TxDropped().

Here is the call graph for this function:

◆ DoInitialize()

void ns3::PowerSaveManager::DoInitialize ( )
overrideprotectedvirtual

Initialize() implementation.

This method is called only once by Initialize(). If the user calls Initialize() multiple times, DoInitialize() is called only the first time.

Subclasses are expected to override this method and chain up to their parent's implementation once they are done. It is safe to call GetObject() and AggregateObject() from within this method.

Reimplemented from ns3::Object.

Definition at line 74 of file power-save-manager.cc.

References m_linkIdEnableMap, m_staMac, and NS_LOG_FUNCTION.

◆ DoNotifyAssocCompleted()

virtual void ns3::PowerSaveManager::DoNotifyAssocCompleted ( )
protectedpure virtual

Notify subclasses that the non-AP STA/MLD has completed association with an AP.

Implemented in ns3::DefaultPowerSaveManager.

Referenced by NotifyAssocCompleted().

Here is the caller graph for this function:

◆ DoNotifyChannelReleased()

virtual void ns3::PowerSaveManager::DoNotifyChannelReleased ( Ptr< Txop > txop,
linkId_t linkId )
protectedpure virtual

Notify subclasses that the given TXOP is releasing the channel on the given link.

Parameters
txopthe DCF/EDCAF releasing the channel
linkIdthe ID of the given link

Implemented in ns3::DefaultPowerSaveManager.

Referenced by NotifyChannelReleased().

Here is the caller graph for this function:

◆ DoNotifyDisassociation()

virtual void ns3::PowerSaveManager::DoNotifyDisassociation ( )
protectedpure virtual

Notify subclasses that the non-AP STA/MLD has disassociated.

Implemented in ns3::DefaultPowerSaveManager.

Referenced by NotifyDisassociation().

Here is the caller graph for this function:

◆ DoNotifyPmModeChanged()

virtual void ns3::PowerSaveManager::DoNotifyPmModeChanged ( WifiPowerManagementMode pmMode,
linkId_t linkId )
protectedpure virtual

Notify subclasses that the Power Management mode of the non-AP STA operating on the given link has changed.

Parameters
pmModethe new PM mode
linkIdthe ID of the given link

Implemented in ns3::DefaultPowerSaveManager.

Referenced by NotifyPmModeChanged().

Here is the caller graph for this function:

◆ DoNotifyReceivedBeacon()

virtual void ns3::PowerSaveManager::DoNotifyReceivedBeacon ( const MgtBeaconHeader & beacon,
linkId_t linkId )
protectedpure virtual

Notify subclasses that a Beacon frame has been received from the associated AP on the given link.

Parameters
beaconthe Beacon frame
linkIdthe ID of the given link

Implemented in ns3::DefaultPowerSaveManager.

Referenced by NotifyReceivedBeacon().

Here is the caller graph for this function:

◆ DoNotifyReceivedFrameAfterPsPoll()

virtual void ns3::PowerSaveManager::DoNotifyReceivedFrameAfterPsPoll ( Ptr< const WifiMpdu > mpdu,
linkId_t linkId )
protectedpure virtual

Notify subclasses of the reception of a frame in response to a PS-Poll frame on the given link.

The notification is sent a SIFS after the reception of the frame.

Parameters
mpduthe received MPDU
linkIdthe ID of the given link

Implemented in ns3::DefaultPowerSaveManager.

Referenced by NotifyReceivedFrameAfterPsPoll().

Here is the caller graph for this function:

◆ DoNotifyReceivedGroupcast()

virtual void ns3::PowerSaveManager::DoNotifyReceivedGroupcast ( Ptr< const WifiMpdu > mpdu,
linkId_t linkId )
protectedpure virtual

Notify subclasses of the reception of a groupcast frame (possibly after a DTIM) on the given link.

Parameters
mpduthe received MPDU
linkIdthe ID of the given link

Implemented in ns3::DefaultPowerSaveManager.

Referenced by NotifyReceivedGroupcast().

Here is the caller graph for this function:

◆ DoNotifyRequestAccess()

virtual void ns3::PowerSaveManager::DoNotifyRequestAccess ( Ptr< Txop > txop,
linkId_t linkId )
protectedpure virtual

Notify subclasses that the given TXOP is requesting channel access on the given link.

Parameters
txopthe DCF/EDCAF requesting channel access
linkIdthe ID of the given link

Implemented in ns3::DefaultPowerSaveManager.

Referenced by NotifyRequestAccess().

Here is the caller graph for this function:

◆ DoTxDropped()

virtual void ns3::PowerSaveManager::DoTxDropped ( WifiMacDropReason reason,
Ptr< const WifiMpdu > mpdu )
protectedpure virtual

Notify subclasses that the given MPDU has been discarded for the given reason.

Parameters
reasonthe reason why the MPDU was dropped
mpduthe dropped MPDU

Implemented in ns3::DefaultPowerSaveManager.

Referenced by TxDropped().

Here is the caller graph for this function:

◆ GetListenInterval()

uint32_t ns3::PowerSaveManager::GetListenInterval ( ) const
Returns
the Listen interval

Definition at line 111 of file power-save-manager.cc.

References m_listenInterval.

Referenced by ns3::DefaultPowerSaveManager::GoToSleepIfPossible().

Here is the caller graph for this function:

◆ GetStaInfo()

PowerSaveManager::StaInfo & ns3::PowerSaveManager::GetStaInfo ( linkId_t linkId)
protected

Get the information about the STA operating on the given link.

Parameters
linkIdthe ID of the given link
Returns
the information about the STA operating on the given link

Definition at line 117 of file power-save-manager.cc.

References m_staInfo, and NS_ASSERT.

Referenced by ns3::DefaultPowerSaveManager::DoNotifyReceivedBeacon(), ns3::DefaultPowerSaveManager::DoNotifyReceivedFrameAfterPsPoll(), ns3::DefaultPowerSaveManager::DoTxDropped(), ns3::DefaultPowerSaveManager::GoToSleepIfPossible(), NotifyReceivedBeacon(), NotifyReceivedFrameAfterPsPoll(), and NotifyReceivedGroupcast().

Here is the caller graph for this function:

◆ GetStaMac()

Ptr< StaWifiMac > ns3::PowerSaveManager::GetStaMac ( ) const
protected

◆ GetTimeUntilNextTbtt()

std::optional< Time > ns3::PowerSaveManager::GetTimeUntilNextTbtt ( linkId_t linkId) const
Parameters
linkIdthe ID of the given link
Returns
the remaining time until the next Target Beacon Transmission Time (TBTT) on the given link, if known

Definition at line 166 of file power-save-manager.cc.

References m_staInfo, and ns3::Simulator::Now().

Here is the call graph for this function:

◆ GetTypeId()

TypeId ns3::PowerSaveManager::GetTypeId ( )
static

Get the type ID.

Returns
the object TypeId

Definition at line 32 of file power-save-manager.cc.

References ns3::Object::Object(), m_listenInterval, m_pmModeLogger, ns3::MakeAttributeContainerAccessor(), ns3::MakeAttributeContainerChecker(), ns3::MakeBooleanChecker(), ns3::MakePairChecker(), ns3::MakeTraceSourceAccessor(), ns3::MakeUintegerAccessor(), ns3::MakeUintegerChecker(), ns3::TypeId::SetParent(), and SetPowerSaveMode().

Here is the call graph for this function:

◆ HasRequestedOrGainedChannel()

bool ns3::PowerSaveManager::HasRequestedOrGainedChannel ( linkId_t linkId) const
protected

Get whether any Access Category has requested (or gained) the channel on the given link.

Parameters
linkIdthe ID of the given link
Returns
whether any AC has requested (or gained) the channel on the given link

Definition at line 124 of file power-save-manager.cc.

References ns3::AC_BE_NQOS, ns3::edcaAcIndices, GetStaMac(), ns3::Txop::GRANTED, and ns3::Txop::REQUESTED.

Referenced by ns3::DefaultPowerSaveManager::GoToSleepIfPossible().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NotifyAssocCompleted()

void ns3::PowerSaveManager::NotifyAssocCompleted ( )

Notify that the non-AP STA/MLD has completed association with an AP.

Definition at line 182 of file power-save-manager.cc.

References DoNotifyAssocCompleted(), m_staInfo, m_staMac, and NS_LOG_FUNCTION.

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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NotifyBeaconIntervalAndTimestamp()

void ns3::PowerSaveManager::NotifyBeaconIntervalAndTimestamp ( const Time & beaconInterval,
const Time & timestamp,
linkId_t linkId )

This function is normally used to notify the Beacon interval and timestamp included in the last Beacon frame advertised by the AP this device is going to associate with.

The purpose is to be able to put the PHY operating on the given link to sleep (if needed) right after association is completed.

Parameters
beaconIntervalthe Beacon interval
timestampthe timestamp included in the Beacon frame
linkIdthe ID of the link on which the Beacon frame was sent

Definition at line 157 of file power-save-manager.cc.

References m_staInfo, and NS_LOG_FUNCTION.

◆ NotifyChannelReleased()

void ns3::PowerSaveManager::NotifyChannelReleased ( Ptr< Txop > txop,
linkId_t linkId )

Notify that the given TXOP has released the channel on the given link.

Parameters
txopthe DCF/EDCAF releasing the channel
linkIdthe ID of the given link

Definition at line 313 of file power-save-manager.cc.

References DoNotifyChannelReleased(), and NS_LOG_FUNCTION.

Here is the call graph for this function:

◆ NotifyDisassociation()

void ns3::PowerSaveManager::NotifyDisassociation ( )

Notify that the non-AP STA/MLD has disassociated.

Definition at line 196 of file power-save-manager.cc.

References DoNotifyDisassociation(), m_staInfo, m_staMac, and NS_LOG_FUNCTION.

Here is the call graph for this function:

◆ NotifyPmModeChanged()

void ns3::PowerSaveManager::NotifyPmModeChanged ( WifiPowerManagementMode pmMode,
linkId_t linkId )

Notify that the Power Management mode of the non-AP STA operating on the given link has changed.

Parameters
pmModethe new PM mode
linkIdthe ID of the given link

Definition at line 214 of file power-save-manager.cc.

References DoNotifyPmModeChanged(), m_pmModeLogger, m_staMac, NS_LOG_FUNCTION, and ns3::WIFI_PM_ACTIVE.

Here is the call graph for this function:

◆ NotifyReceivedBeacon()

void ns3::PowerSaveManager::NotifyReceivedBeacon ( Ptr< const WifiMpdu > mpdu,
linkId_t linkId )

Notify that a Beacon frame has been received from the associated AP on the given link.

Parameters
mpduthe MPDU carrying the Beacon frame
linkIdthe ID of the given link

Definition at line 232 of file power-save-manager.cc.

References DoNotifyReceivedBeacon(), GetStaInfo(), ns3::MgtBeaconHeader::GetTimestamp(), ns3::Tim::HasAid(), ns3::MgtBeaconHeader::m_beaconInterval, m_staMac, ns3::MicroSeconds(), NS_ASSERT, and NS_LOG_FUNCTION.

Here is the call graph for this function:

◆ NotifyReceivedFrameAfterPsPoll()

void ns3::PowerSaveManager::NotifyReceivedFrameAfterPsPoll ( Ptr< const WifiMpdu > mpdu,
linkId_t linkId )

Notify the reception of a frame in response to a PS-Poll frame on the given link.

Parameters
mpduthe received MPDU
linkIdthe ID of the given link

Definition at line 254 of file power-save-manager.cc.

References DoNotifyReceivedFrameAfterPsPoll(), GetStaInfo(), GetStaMac(), m_staMac, NS_LOG_DEBUG, NS_LOG_FUNCTION, ns3::Simulator::Schedule(), and ns3::WIFI_PM_POWERSAVE.

Here is the call graph for this function:

◆ NotifyReceivedGroupcast()

void ns3::PowerSaveManager::NotifyReceivedGroupcast ( Ptr< const WifiMpdu > mpdu,
linkId_t linkId )

Notify the reception of a groupcast frame (possibly after a DTIM) on the given link.

Parameters
mpduthe received MPDU
linkIdthe ID of the given link

Definition at line 283 of file power-save-manager.cc.

References DoNotifyReceivedGroupcast(), GetStaInfo(), GetStaMac(), NS_LOG_DEBUG, NS_LOG_FUNCTION, and ns3::WIFI_PM_POWERSAVE.

Here is the call graph for this function:

◆ NotifyRequestAccess()

void ns3::PowerSaveManager::NotifyRequestAccess ( Ptr< Txop > txop,
linkId_t linkId )

Notify that the given TXOP is requesting channel access on the given link.

Parameters
txopthe DCF/EDCAF requesting channel access
linkIdthe ID of the given link

Definition at line 305 of file power-save-manager.cc.

References DoNotifyRequestAccess(), and NS_LOG_FUNCTION.

Here is the call graph for this function:

◆ SetPowerSaveMode()

void ns3::PowerSaveManager::SetPowerSaveMode ( const std::map< linkId_t, bool > & linkIdEnableMap)

Enable or disable Power Save mode on a given set of links.

If this object is not initialized yet, the settings are recorded and notified to the STA wifi MAC upon initialization.

Parameters
linkIdEnableMapa link ID-indexed map indicating whether to enable or not power save mode on the link with the given ID

Definition at line 141 of file power-save-manager.cc.

References m_linkIdEnableMap, and m_staMac.

Referenced by GetTypeId().

Here is the caller graph for this function:

◆ SetWifiMac()

void ns3::PowerSaveManager::SetWifiMac ( Ptr< StaWifiMac > mac)

Set the MAC which is using this Power Save Manager.

Parameters
maca pointer to the MAC

Definition at line 96 of file power-save-manager.cc.

References m_staMac, ns3::MakeCallback(), NS_LOG_FUNCTION, and TxDropped().

Here is the call graph for this function:

◆ TxDropped()

void ns3::PowerSaveManager::TxDropped ( WifiMacDropReason reason,
Ptr< const WifiMpdu > mpdu )

Notify that the given MPDU has been discarded for the given reason.

Parameters
reasonthe reason why the MPDU was dropped
mpduthe dropped MPDU

Definition at line 321 of file power-save-manager.cc.

References DoTxDropped(), GetStaMac(), and NS_LOG_FUNCTION.

Referenced by DoDispose(), and SetWifiMac().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ m_linkIdEnableMap

std::map<linkId_t, bool> ns3::PowerSaveManager::m_linkIdEnableMap
private

a link ID-indexed map indicating whether to enable or not power save mode on the link with the given ID (used before initialization)

Definition at line 267 of file power-save-manager.h.

Referenced by DoInitialize(), and SetPowerSaveMode().

◆ m_listenInterval

uint32_t ns3::PowerSaveManager::m_listenInterval
private

beacon listen interval

Definition at line 269 of file power-save-manager.h.

Referenced by GetListenInterval(), and GetTypeId().

◆ m_pmModeLogger

TracedCallback<linkId_t, WifiPowerManagementMode> ns3::PowerSaveManager::m_pmModeLogger
private

link ID-indexed power management mode logger

Definition at line 271 of file power-save-manager.h.

Referenced by GetTypeId(), and NotifyPmModeChanged().

◆ m_staInfo

std::map<linkId_t, StaInfo> ns3::PowerSaveManager::m_staInfo
private

link ID-indexed map of STA infos

Definition at line 265 of file power-save-manager.h.

Referenced by GetStaInfo(), GetTimeUntilNextTbtt(), NotifyAssocCompleted(), NotifyBeaconIntervalAndTimestamp(), and NotifyDisassociation().

◆ m_staMac

Ptr<StaWifiMac> ns3::PowerSaveManager::m_staMac
private

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