Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Friends

ns3::WifiRemoteStationManager Class Reference

hold a list of per-remote-station state. More...

#include <wifi-remote-station-manager.h>

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

List of all members.

Public Types

typedef BasicModes::const_iterator BasicModesIterator

Public Member Functions

virtual void SetupPhy (Ptr< WifiPhy > phy)
uint32_t GetMaxSsrc (void) const
uint32_t GetMaxSlrc (void) const
uint32_t GetRtsCtsThreshold (void) const
uint32_t GetFragmentationThreshold (void) const
void SetMaxSsrc (uint32_t maxSsrc)
void SetMaxSlrc (uint32_t maxSlrc)
void SetRtsCtsThreshold (uint32_t threshold)
void SetFragmentationThreshold (uint32_t threshold)
void Reset (void)
void AddBasicMode (WifiMode mode)
WifiMode GetDefaultMode (void) const
uint32_t GetNBasicModes (void) const
WifiMode GetBasicMode (uint32_t i) const
BasicModesIterator BeginBasicModes (void) const
BasicModesIterator EndBasicModes (void) const
bool IsLowLatency (void) const
WifiMode GetNonUnicastMode (void) const
WifiRemoteStationLookup (Mac48Address address)
WifiRemoteStationLookupNonUnicast (void)

Static Public Member Functions

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

Protected Member Functions

virtual void DoDispose (void)

Friends

class WifiRemoteStation

Detailed Description

hold a list of per-remote-station state.

See also:
ns3::WifiRemoteStation.

Member Function Documentation

virtual void ns3::WifiRemoteStationManager::DoDispose ( void   )  [protected, virtual]

This method is called by Object::Dispose or by the object's destructor, whichever comes first.

Subclasses are expected to implement their real destruction code in an overriden version of this method and chain up to their parent's implementation once they are done. i.e., for simplicity, the destructor of every subclass should be empty and its content should be moved to the associated DoDispose method.

It is safe to call GetObject from within this method.

Reimplemented from ns3::Object.

static TypeId ns3::WifiRemoteStationManager::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]/$ns3::WifiNetDevice/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.
  • NonUnicastMode: Wifi mode used for non-unicast transmissions.
    • Set with class: WifiModeValue
    • Underlying type: WifiMode
    • Initial value: Invalid-WifiMode
    • Flags: construct write read

TraceSources defined for this type:

  • MacTxRtsFailed: The transmission of a RTS by the MAC layer has failed
  • MacTxDataFailed: The transmission of a data packet by the MAC layer has failed
  • MacTxFinalRtsFailed: The transmission of a RTS has exceeded the maximum number of attempts
  • MacTxFinalDataFailed: The transmission of a data packet has exceeded the maximum number of attempts

Reimplemented from ns3::Object.

Reimplemented in ns3::AarfWifiManager, ns3::AarfcdWifiManager, ns3::AmrrWifiManager, ns3::ArfWifiManager, ns3::CaraWifiManager, ns3::ConstantRateWifiManager, ns3::IdealWifiManager, ns3::MinstrelWifiManager, ns3::OnoeWifiManager, and ns3::RraaWifiManager.


The documentation for this class was generated from the following files: