Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1496)

Unified Diff: src/wifi/model/sta-wifi-mac.h

Issue 333660043: 802.11 PCF implementation
Patch Set: Fix wifi-blockack example in previous patchset Created 5 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/wifi/model/sta-wifi-mac.h
===================================================================
--- a/src/wifi/model/sta-wifi-mac.h
+++ b/src/wifi/model/sta-wifi-mac.h
@@ -23,7 +23,7 @@
#ifndef STA_WIFI_MAC_H
#define STA_WIFI_MAC_H
-#include "regular-wifi-mac.h"
+#include "infrastructure-wifi-mac.h"
#include "supported-rates.h"
#include "capability-information.h"
@@ -36,7 +36,7 @@
*
* The Wifi MAC high model for a non-AP STA in a BSS.
*/
-class StaWifiMac : public RegularWifiMac
+class StaWifiMac : public InfrastructureWifiMac
{
public:
/**
@@ -49,6 +49,13 @@
virtual ~StaWifiMac ();
/**
+ * Set up WifiRemoteStationManager associated with this StaWifiMac.
+ *
+ * \param stationManager the station manager attached to this MAC.
+ */
+ void SetWifiRemoteStationManager (const Ptr<WifiRemoteStationManager> stationManager);
+
+ /**
* \param packet the packet to send.
* \param to the address to which the packet should be sent.
*
@@ -107,6 +114,10 @@
*/
void SendAssociationRequest (bool isReassoc);
/**
+ * Forward a CF-Poll response packet to the CFP queue.
+ */
+ void SendCfPollResponse (void);
+ /**
* Try to ensure that we are associated with an AP by taking an appropriate action
* depending on the current association status.
*/

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b