src/devices/mesh/dot11s/airtime-metric.h
changeset 5130 b5062e8e0da1
parent 5129 5688b8da4526
child 5132 aee541a30256
equal deleted inserted replaced
5129:5688b8da4526 5130:b5062e8e0da1
    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;