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. |
*/ |