ns3::ConstantRateWifiManager Class Reference

use constant rates for data and control transmissions More...

#include <constant-rate-wifi-manager.h>

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

List of all members.

Public Member Functions

 ConstantRateWifiManager ()
virtual ~ConstantRateWifiManager ()
WifiMode GetDataMode (void) const
WifiMode GetCtlMode (void) const

Static Public Member Functions

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

Private Member Functions

virtual class WifiRemoteStationCreateStation (void)

Private Attributes

WifiMode m_dataMode
WifiMode m_ctlMode

Detailed Description

use constant rates for data and control transmissions

This class uses always the same transmission rate for every packet sent.

Definition at line 35 of file constant-rate-wifi-manager.h.


Constructor & Destructor Documentation

ns3::ConstantRateWifiManager::ConstantRateWifiManager (  ) 

Definition at line 88 of file constant-rate-wifi-manager.cc.

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

Definition at line 90 of file constant-rate-wifi-manager.cc.


Member Function Documentation

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

Implements ns3::WifiRemoteStationManager.

Definition at line 106 of file constant-rate-wifi-manager.cc.

WifiMode ns3::ConstantRateWifiManager::GetCtlMode ( void   )  const

Definition at line 99 of file constant-rate-wifi-manager.cc.

References m_dataMode.

WifiMode ns3::ConstantRateWifiManager::GetDataMode ( void   )  const

Definition at line 94 of file constant-rate-wifi-manager.cc.

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

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

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

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

Attributes defined for this type:

  • DataMode: The transmission mode to use for every data packet transmission
    • Set with class: WifiModeValue
    • Underlying type: WifiMode
    • Initial value: wifia-6mbs
    • Flags: construct write read
  • ControlMode: The transmission mode to use for every control packet transmission.
    • Set with class: WifiModeValue
    • Underlying type: WifiMode
    • Initial value: wifia-6mbs
    • Flags: construct write read

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 71 of file constant-rate-wifi-manager.cc.


Member Data Documentation

Definition at line 48 of file constant-rate-wifi-manager.h.

Definition at line 47 of file constant-rate-wifi-manager.h.

Referenced by GetCtlMode().


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