Public Member Functions | Static Public Member Functions

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.

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.

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.

This object is accessible through the following paths with Config::Set and Config::Connect:

  • /NodeList/[i]/DeviceList/[i]/$ns3::AlohaNoackNetDevice/Phy/$ns3::dot11s::AirtimeLinkMetricCalculator
  • /NodeList/[i]/DeviceList/[i]/$ns3::BaseStationNetDevice/BsIpcsPacketClassifier/$ns3::dot11s::AirtimeLinkMetricCalculator
  • /NodeList/[i]/DeviceList/[i]/$ns3::BaseStationNetDevice/LinkManager/$ns3::dot11s::AirtimeLinkMetricCalculator
  • /NodeList/[i]/DeviceList/[i]/$ns3::BaseStationNetDevice/SSManager/$ns3::dot11s::AirtimeLinkMetricCalculator
  • /NodeList/[i]/DeviceList/[i]/$ns3::BaseStationNetDevice/ServiceFlowManager/$ns3::dot11s::AirtimeLinkMetricCalculator
  • /NodeList/[i]/DeviceList/[i]/$ns3::NonCommunicatingNetDevice/Phy/$ns3::dot11s::AirtimeLinkMetricCalculator
  • /NodeList/[i]/DeviceList/[i]/$ns3::SubscriberStationNetDevice/Classifier/$ns3::dot11s::AirtimeLinkMetricCalculator
  • /NodeList/[i]/DeviceList/[i]/$ns3::SubscriberStationNetDevice/LinkManager/$ns3::dot11s::AirtimeLinkMetricCalculator
  • /NodeList/[i]/DeviceList/[i]/$ns3::SubscriberStationNetDevice/SSScheduler/$ns3::dot11s::AirtimeLinkMetricCalculator
  • /NodeList/[i]/DeviceList/[i]/$ns3::UanNetDevice/Channel/NoiseModel/$ns3::dot11s::AirtimeLinkMetricCalculator
  • /NodeList/[i]/DeviceList/[i]/$ns3::UanNetDevice/Channel/PropagationModel/$ns3::dot11s::AirtimeLinkMetricCalculator
  • /NodeList/[i]/DeviceList/[i]/$ns3::UanNetDevice/Mac/$ns3::dot11s::AirtimeLinkMetricCalculator
  • /NodeList/[i]/DeviceList/[i]/$ns3::UanNetDevice/Phy/$ns3::dot11s::AirtimeLinkMetricCalculator
  • /NodeList/[i]/DeviceList/[i]/$ns3::UanNetDevice/Transducer/$ns3::dot11s::AirtimeLinkMetricCalculator
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::BaseStationNetDevice/BsIpcsPacketClassifier/$ns3::dot11s::AirtimeLinkMetricCalculator
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::BaseStationNetDevice/LinkManager/$ns3::dot11s::AirtimeLinkMetricCalculator
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::BaseStationNetDevice/SSManager/$ns3::dot11s::AirtimeLinkMetricCalculator
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::BaseStationNetDevice/ServiceFlowManager/$ns3::dot11s::AirtimeLinkMetricCalculator
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::SubscriberStationNetDevice/Classifier/$ns3::dot11s::AirtimeLinkMetricCalculator
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::SubscriberStationNetDevice/LinkManager/$ns3::dot11s::AirtimeLinkMetricCalculator
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::SubscriberStationNetDevice/SSScheduler/$ns3::dot11s::AirtimeLinkMetricCalculator
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/BandwidthManager/$ns3::dot11s::AirtimeLinkMetricCalculator
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/BurstProfileManager/$ns3::dot11s::AirtimeLinkMetricCalculator
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/Channel/$ns3::UanChannel/NoiseModel/$ns3::dot11s::AirtimeLinkMetricCalculator
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/Channel/$ns3::UanChannel/PropagationModel/$ns3::dot11s::AirtimeLinkMetricCalculator
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/ConnectionManager/$ns3::dot11s::AirtimeLinkMetricCalculator
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/Phy/Channel/$ns3::UanChannel/NoiseModel/$ns3::dot11s::AirtimeLinkMetricCalculator
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/Phy/Channel/$ns3::UanChannel/PropagationModel/$ns3::dot11s::AirtimeLinkMetricCalculator

Attributes defined for this type:

  • TestLength: Rate should be estimated using test length.
  • Dot11MetricTid: TID used to calculate metric (data rate)
  • 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: