From 24bcb4de33587f48c2efdbaeb51f89248efec672 Mon Sep 17 00:00:00 2001 From: Stefano Avallone Date: Sun, 12 Jun 2022 15:36:19 +0200 Subject: [PATCH] wifi: Make some StaWifiMac methods public ...so that they can be called by the Association Manager --- src/wifi/model/sta-wifi-mac.h | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/src/wifi/model/sta-wifi-mac.h b/src/wifi/model/sta-wifi-mac.h index 72ba84f75..b70b405aa 100644 --- a/src/wifi/model/sta-wifi-mac.h +++ b/src/wifi/model/sta-wifi-mac.h @@ -131,6 +131,19 @@ public: */ void SetWifiPhys (const std::vector>& phys) override; + /** + * Forward a probe request packet to the DCF. The standard is not clear on the correct + * queue for management frames if QoS is supported. We always use the DCF. + */ + void SendProbeRequest (void); + + /** + * This method is called after wait beacon timeout or wait probe request timeout has + * occurred. This will trigger association process from beacons or probe responses + * gathered while scanning. + */ + void ScanningTimeout (void); + /** * Return whether we are associated with an AP. * @@ -207,11 +220,6 @@ private: */ void UpdateCandidateApList (ApInfo newApInfo); - /** - * Forward a probe request packet to the DCF. The standard is not clear on the correct - * queue for management frames if QoS is supported. We always use the DCF. - */ - void SendProbeRequest (void); /** * Forward an association or reassociation request packet to the DCF. * The standard is not clear on the correct queue for management frames if QoS is supported. @@ -236,12 +244,6 @@ private: * active probing flag. */ void StartScanning (void); - /** - * This method is called after wait beacon timeout or wait probe request timeout has - * occurred. This will trigger association process from beacons or probe responses - * gathered while scanning. - */ - void ScanningTimeout (void); /** * Return whether we are waiting for an association response from an AP. *