--- a/src/devices/wifi/wifi-remote-station-manager.h Fri Jul 03 10:10:25 2009 +0400
+++ b/src/devices/wifi/wifi-remote-station-manager.h Fri Jul 03 12:02:30 2009 +0400
@@ -260,7 +260,10 @@
* handshake.
*/
WifiMode GetAckMode (WifiMode dataMode);
- double GetAvgSlrc ();
+ /**
+ * \return exponentially weighted average SLRC, this is used by Airtime link metric of 802.11s
+ */
+ double GetAvgSlrc () const;
private:
virtual Ptr<WifiRemoteStationManager> GetManager (void) const = 0;
virtual WifiMode DoGetDataMode (uint32_t size) = 0;
@@ -289,13 +292,8 @@
SupportedModes m_modes;
TracedValue<uint32_t> m_ssrc;
TracedValue<uint32_t> m_slrc;
- ///\name needed to calculate average SLRC
- ///\{
- ///\brief the coefficient: we valculate averages slrc as
- //m_avgSlrc = m_avgSlr*coefficient + m_slrc*(1-coefficient);
double m_avgSlrcCoefficient;
double m_avgSlrc;
- ///\}
};
} // namespace ns3