ns3::RraaWifiManager Class Reference

Robust Rate Adaptation Algorithm. More...

#include <rraa-wifi-manager.h>

Inheritance diagram for ns3::RraaWifiManager:
Inheritance graph
[legend]
Collaboration diagram for ns3::RraaWifiManager:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 RraaWifiManager ()
virtual ~RraaWifiManager ()
bool OnlyBasic (void)
Time GetTimeout (void) const
ThresholdsItem GetThresholds (WifiMode mode) const

Static Public Member Functions

static TypeId GetTypeId (void)
 This method returns the TypeId associated to ns3::WifiRemoteStationManager.

Private Member Functions

virtual class WifiRemoteStationCreateStation (void)

Private Attributes

bool m_basic
Time m_timeout
uint32_t m_ewndfor54
uint32_t m_ewndfor48
uint32_t m_ewndfor36
uint32_t m_ewndfor24
uint32_t m_ewndfor18
uint32_t m_ewndfor12
uint32_t m_ewndfor9
uint32_t m_ewndfor6
double m_porifor48
double m_porifor36
double m_porifor24
double m_porifor18
double m_porifor12
double m_porifor9
double m_porifor6
double m_pmtlfor54
double m_pmtlfor48
double m_pmtlfor36
double m_pmtlfor24
double m_pmtlfor18
double m_pmtlfor12
double m_pmtlfor9

Detailed Description

Robust Rate Adaptation Algorithm.

This is an implementation of RRAA as described in "Robust rate adaptation for 802.11 wireless networks" by "Starsky H. Y. Wong", "Hao Yang", "Songwu Lu", and, "Vaduvur Bharghavan" published in Mobicom 06.

Definition at line 45 of file rraa-wifi-manager.h.


Constructor & Destructor Documentation

ns3::RraaWifiManager::RraaWifiManager (  ) 

Definition at line 319 of file rraa-wifi-manager.cc.

ns3::RraaWifiManager::~RraaWifiManager (  )  [virtual]

Definition at line 321 of file rraa-wifi-manager.cc.


Member Function Documentation

WifiRemoteStation * ns3::RraaWifiManager::CreateStation ( void   )  [private, virtual]

Implements ns3::WifiRemoteStationManager.

Definition at line 325 of file rraa-wifi-manager.cc.

ThresholdsItem ns3::RraaWifiManager::GetThresholds ( WifiMode  mode  )  const
Time ns3::RraaWifiManager::GetTimeout ( void   )  const

Definition at line 337 of file rraa-wifi-manager.cc.

References m_timeout.

TypeId ns3::RraaWifiManager::GetTypeId ( void   )  [static]

This method returns the TypeId associated to ns3::WifiRemoteStationManager.

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

  • /NodeList/[i]/DeviceList/[i]/$ns3WifiNetDevice/RemoteStationManager

Attributes defined for this type:

  • IsLowLatency: If true, we attempt to modelize a so-called low-latency device: a device where decisions about tx parameters can be made on a per-packet basis and feedback about the transmission of each packet is obtained before sending the next. Otherwise, we modelize a high-latency device, that is a device where we cannot update our decision about tx parameters after every packet transmission.
    • Set with class: BooleanValue
    • Underlying type: bool
    • Initial value: true
    • Flags: construct write read
  • MaxSsrc: The maximum number of retransmission attempts for an RTS. This value will not have any effect on some rate control algorithms.
  • MaxSlrc: The maximum number of retransmission attempts for a DATA packet. This value will not have any effect on some rate control algorithms.
  • RtsCtsThreshold: If a data packet is bigger than this value, we use an RTS/CTS handshake before sending the data. This value will not have any effect on some rate control algorithms.
  • FragmentationThreshold: If a data packet is bigger than this value, we fragment it such that the size of the fragments are equal or smaller than this value. This value will not have any effect on some rate control algorithms.

No TraceSources defined for this type.

Reimplemented from ns3::WifiRemoteStationManager.

Definition at line 189 of file rraa-wifi-manager.cc.

References ns3::TypeId::AddAttribute(), m_basic, m_ewndfor12, m_ewndfor18, m_ewndfor24, m_ewndfor36, m_ewndfor48, m_ewndfor54, m_ewndfor6, m_ewndfor9, m_pmtlfor12, m_pmtlfor18, m_pmtlfor24, m_pmtlfor36, m_pmtlfor48, m_pmtlfor54, m_pmtlfor9, m_porifor12, m_porifor18, m_porifor24, m_porifor36, m_porifor48, m_porifor6, m_porifor9, m_timeout, ns3::Seconds(), and ns3::TypeId::SetParent().

bool ns3::RraaWifiManager::OnlyBasic ( void   ) 

Definition at line 331 of file rraa-wifi-manager.cc.

References m_basic.


Member Data Documentation

Definition at line 57 of file rraa-wifi-manager.h.

Referenced by GetTypeId(), and OnlyBasic().

Definition at line 64 of file rraa-wifi-manager.h.

Referenced by GetThresholds(), and GetTypeId().

Definition at line 63 of file rraa-wifi-manager.h.

Referenced by GetThresholds(), and GetTypeId().

Definition at line 62 of file rraa-wifi-manager.h.

Referenced by GetThresholds(), and GetTypeId().

Definition at line 61 of file rraa-wifi-manager.h.

Referenced by GetThresholds(), and GetTypeId().

Definition at line 60 of file rraa-wifi-manager.h.

Referenced by GetThresholds(), and GetTypeId().

Definition at line 59 of file rraa-wifi-manager.h.

Referenced by GetThresholds(), and GetTypeId().

Definition at line 66 of file rraa-wifi-manager.h.

Referenced by GetThresholds(), and GetTypeId().

Definition at line 65 of file rraa-wifi-manager.h.

Referenced by GetThresholds(), and GetTypeId().

Definition at line 79 of file rraa-wifi-manager.h.

Referenced by GetThresholds(), and GetTypeId().

Definition at line 78 of file rraa-wifi-manager.h.

Referenced by GetThresholds(), and GetTypeId().

Definition at line 77 of file rraa-wifi-manager.h.

Referenced by GetThresholds(), and GetTypeId().

Definition at line 76 of file rraa-wifi-manager.h.

Referenced by GetThresholds(), and GetTypeId().

Definition at line 75 of file rraa-wifi-manager.h.

Referenced by GetThresholds(), and GetTypeId().

Definition at line 74 of file rraa-wifi-manager.h.

Referenced by GetThresholds(), and GetTypeId().

Definition at line 80 of file rraa-wifi-manager.h.

Referenced by GetThresholds(), and GetTypeId().

Definition at line 71 of file rraa-wifi-manager.h.

Referenced by GetThresholds(), and GetTypeId().

Definition at line 70 of file rraa-wifi-manager.h.

Referenced by GetThresholds(), and GetTypeId().

Definition at line 69 of file rraa-wifi-manager.h.

Referenced by GetThresholds(), and GetTypeId().

Definition at line 68 of file rraa-wifi-manager.h.

Referenced by GetThresholds(), and GetTypeId().

Definition at line 67 of file rraa-wifi-manager.h.

Referenced by GetThresholds(), and GetTypeId().

Definition at line 73 of file rraa-wifi-manager.h.

Referenced by GetThresholds(), and GetTypeId().

Definition at line 72 of file rraa-wifi-manager.h.

Referenced by GetThresholds(), and GetTypeId().

Definition at line 58 of file rraa-wifi-manager.h.

Referenced by GetTimeout(), and GetTypeId().


The documentation for this class was generated from the following files:
Generated on Thu Dec 3 14:11:22 2009 for NS-3 by  doxygen 1.6.3