ns3::OnoeWifiManager Class Reference

an implementation of rate control algorithm developed by Atsushi Onoe More...

#include <onoe-wifi-manager.h>

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

List of all members.

Public Member Functions

 OnoeWifiManager ()

Static Public Member Functions

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

Private Member Functions

virtual WifiRemoteStationCreateStation (void)

Private Attributes

Time m_updatePeriod
uint32_t m_addCreditThreshold
uint32_t m_raiseThreshold

Friends

class OnoeWifiRemoteStation

Detailed Description

an implementation of rate control algorithm developed by Atsushi Onoe

This algorithm is well known because it has been used as the default rate control algorithm for the madwifi driver. I am not aware of any publication or reference about this algorithm beyond the madwifi source code.

Definition at line 37 of file onoe-wifi-manager.h.


Constructor & Destructor Documentation

ns3::OnoeWifiManager::OnoeWifiManager (  ) 

Definition at line 55 of file onoe-wifi-manager.cc.


Member Function Documentation

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

Implements ns3::WifiRemoteStationManager.

Definition at line 58 of file onoe-wifi-manager.cc.

References OnoeWifiRemoteStation.

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

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

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

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

Attributes defined for this type:

  • UpdatePeriod: The interval between decisions about rate control changes
    • Set with class: TimeValue
    • Underlying type: Time
    • Initial value: 1000000000ns
    • Flags: construct write read
  • RaiseThreshold: Attempt to raise the rate if we hit that threshold
  • AddCreditThreshold: Add credit threshold

Attributes defined in parent class ns3::WifiRemoteStationManager:

  • 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 33 of file onoe-wifi-manager.cc.

References ns3::TypeId::AddAttribute(), m_addCreditThreshold, m_raiseThreshold, m_updatePeriod, ns3::Seconds(), and ns3::TypeId::SetParent().


Friends And Related Function Documentation

friend class OnoeWifiRemoteStation [friend]

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

Referenced by CreateStation().


Member Data Documentation

Definition at line 49 of file onoe-wifi-manager.h.

Referenced by GetTypeId().

Definition at line 50 of file onoe-wifi-manager.h.

Referenced by GetTypeId().

Definition at line 48 of file onoe-wifi-manager.h.

Referenced by GetTypeId().


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