Static Public Member Functions | Private Attributes

ns3::dot11s::AirtimeLinkMetricCalculator Class Reference
[IEEE 802.11s draft]

airtime link metric calculator More...

#include <airtime-metric.h>

Inheritance diagram for ns3::dot11s::AirtimeLinkMetricCalculator:
Inheritance graph
[legend]
Collaboration diagram for ns3::dot11s::AirtimeLinkMetricCalculator:
Collaboration graph
[legend]

List of all members.

Static Public Member Functions

static TypeId GetTypeId ()
 This method returns the TypeId associated to ns3::dot11s::AirtimeLinkMetricCalculator.

Private Attributes

uint32_t m_testLength
 Bt value.
uint16_t m_headerLength
 header length (used in overhead)
uint16_t m_meshHeaderLength
 meshHeader length (6 octets usually)

Detailed Description

airtime link metric calculator

Airtime link metric is defined in 11B.10 of 802.11s Draft D3.0 as:

airtime = (O + Bt/r)* (1 + average retry counter), where

o -- the PHY dependent channel access which includes frame headers, training sequences, access protocol frames, etc. bt -- the test packet length in bits (8192 by default), r -- the current bitrate of the packet,

Final result is expressed in units of 0.01 Time Unit = 10.24 us (as required by 802.11s draft)


Member Function Documentation

static TypeId ns3::dot11s::AirtimeLinkMetricCalculator::GetTypeId ( void   )  [static]

This method returns the TypeId associated to ns3::dot11s::AirtimeLinkMetricCalculator.

Attributes defined for this type:

  • OverheadNanosec: Overhead expressed in nanoseconds:DIFS+ 2* SIFS + 2* PREAMBLE + 2* ACK
  • TestLength: Rate should be estimated using test length.
  • Dot11MacHeaderLength: Length of the 802.11 header
  • Dot11sMeshHeaderLength: Length of the mesh header

No TraceSources defined for this type.

Reimplemented from ns3::Object.


The documentation for this class was generated from the following files: