ns-3
|
Airtime link metric calculator. More...
#include <airtime-metric.h>
Public Member Functions | |
uint32_t | CalculateMetric (Mac48Address peerAddress, Ptr< MeshWifiInterfaceMac > mac) |
void | SetTestLength (uint16_t testLength) |
void | SetHeaderTid (uint8_t tid) |
Static Public Member Functions | |
static TypeId | GetTypeId () |
This method returns the TypeId associated to ns3::dot11s::AirtimeLinkMetricCalculator. |
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:
Final result is expressed in units of 0.01 Time Unit = 10.24 us (as required by 802.11s draft)
TypeId ns3::dot11s::AirtimeLinkMetricCalculator::GetTypeId | ( | void | ) | [static] |
This method returns the TypeId associated to ns3::dot11s::AirtimeLinkMetricCalculator.
This object is accessible through the following paths with Config::Set and Config::Connect:
Attributes defined for this type:
No TraceSources defined for this type.
Reimplemented from ns3::Object.
References ns3::TypeId::SetParent().