23 #ifndef STA_WIFI_MAC_H
24 #define STA_WIFI_MAC_H
32 class MgtAddBaRequestHeader;
bool IsWaitAssocResp(void) const
Return whether we are waiting for an association response from an AP.
void SetWifiPhy(const Ptr< WifiPhy > phy)
TracedCallback< Mac48Address > m_deAssocLogger
deassoc logger
SupportedRates GetSupportedRates(void) const
Return an instance of SupportedRates that contains all rates that we support including HT rates...
Simulation virtual time values and global simulation resolution.
Time m_assocRequestTimeout
assoc request timeout
void Receive(Ptr< Packet > packet, const WifiMacHeader *hdr)
This method acts as the MacRxMiddle receive callback and is invoked to notify us that a frame has bee...
void SetEdcaParameters(AcIndex ac, uint32_t cwMin, uint32_t cwMax, uint8_t aifsn, Time txopLimit)
Set the EDCA parameters.
void SetState(MacState value)
Set the current MAC state.
void AssocRequestTimeout(void)
This method is called after the association timeout occurred.
Time m_probeRequestTimeout
probe request timeout
Forward calls to a chain of Callback.
TracedCallback< Mac48Address > m_assocLogger
assoc logger
EventId m_assocRequestEvent
assoc request event
The Supported Rates Information ElementThis class knows how to serialise and deserialise the Supporte...
void SendProbeRequest(void)
Forward a probe request packet to the DCF.
base class for all MAC-level wifi objects.
void ProbeRequestTimeout(void)
This method is called after the probe request timeout occurred.
MacState
The current MAC state of the STA.
MacState m_state
MAC state.
void MissedBeacons(void)
This method is called after we have not received a beacon from the AP.
bool GetActiveProbing(void) const
Return whether active probing is enabled.
uint32_t m_maxMissedBeacons
maximum missed beacons
EventId m_beaconWatchdog
beacon watchdog
Every class exported by the ns3 library is enclosed in the ns3 namespace.
void PhyCapabilitiesChanged(void)
Indicate that PHY capabilities have changed.
static TypeId GetTypeId(void)
Get the type ID.
void RestartBeaconWatchdog(Time delay)
Restarts the beacon timer.
CapabilityInformation GetCapabilities(void) const
Return the Capability information of the current STA.
void TryToEnsureAssociated(void)
Try to ensure that we are associated with an AP by taking an appropriate action depending on the curr...
void SetActiveProbing(bool enable)
Enable or disable active probing.
An identifier for simulation events.
void Enqueue(Ptr< const Packet > packet, Mac48Address to)
Time m_beaconWatchdogEnd
beacon watchdog end
bool m_activeProbing
active probing
EventId m_probeRequestEvent
probe request event
bool IsAssociated(void) const
Return whether we are associated with an AP.
a unique identifier for an interface.
AcIndex
This enumeration defines the Access Categories as an enumeration with values corresponding to the AC ...
void SendAssociationRequest(bool isReassoc)
Forward an association or reassociation request packet to the DCF.
The Wifi MAC high model for a non-AP STA in a BSS.