equal
deleted
inserted
replaced
43 */ |
43 */ |
44 class AirtimeLinkMetricCalculator : public Object |
44 class AirtimeLinkMetricCalculator : public Object |
45 { |
45 { |
46 public: |
46 public: |
47 static TypeId GetTypeId (); |
47 static TypeId GetTypeId (); |
48 uint32_t CalculateMetric(Mac48Address peerAddress, Ptr<MeshWifiInterfaceMac> mac); |
48 uint32_t CalculateMetric (Mac48Address peerAddress, Ptr<MeshWifiInterfaceMac> mac); |
49 private: |
49 private: |
50 //\brief Overhead expressed in nanoseconds:DIFS+ 2* SIFS + 2*PREAMBLE + 2* ACK |
50 //\brief Overhead expressed in nanoseconds:DIFS+ 2* SIFS + 2*PREAMBLE + 2* ACK |
51 uint32_t m_overheadNanosec; |
51 uint32_t m_overheadNanosec; |
52 ///\brief Bt value |
52 ///\brief Bt value |
53 uint32_t m_testLength; |
53 uint32_t m_testLength; |