|
A Discrete-Event Network Simulator
|
API
|
Go to the documentation of this file.
21 #ifndef PARF_WIFI_MANAGER_H
22 #define PARF_WIFI_MANAGER_H
24 #include "ns3/wifi-remote-station-manager.h"
28 struct ParfWifiRemoteStation;
61 double rxSnr,
WifiMode txMode)
override;
65 double ctsSnr,
WifiMode ctsMode,
double rtsSnr)
override;
67 double dataSnr, uint16_t dataChannelWidth, uint8_t dataNss)
override;
a unique identifier for an interface.
Hold per-remote-station state for PARF Wifi manager.
WifiRemoteStation * DoCreateStation(void) const override
TracedCallback< DataRate, DataRate, Mac48Address > m_rateChange
The trace source fired when the transmission rate changes.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
uint32_t m_successThreshold
The minimum number of successful transmissions to try a new power or rate.
hold a list of per-remote-station state.
This class mimics the TXVECTOR which is to be passed to the PHY in order to define the parameters whi...
static TypeId GetTypeId(void)
Register this type.
WifiTxVector DoGetRtsTxVector(WifiRemoteStation *station) override
represent a single transmission mode
uint32_t m_attemptThreshold
The minimum number of transmission attempts to try a new power or rate.
void DoReportRtsOk(WifiRemoteStation *station, double ctsSnr, WifiMode ctsMode, double rtsSnr) override
This method is a pure virtual method that must be implemented by the sub-class.
void DoReportFinalRtsFailed(WifiRemoteStation *station) override
This method is a pure virtual method that must be implemented by the sub-class.
void SetupPhy(const Ptr< WifiPhy > phy) override
Set up PHY associated with this device since it is the object that knows the full set of transmit rat...
virtual ~ParfWifiManager()
void DoReportRtsFailed(WifiRemoteStation *station) override
This method is a pure virtual method that must be implemented by the sub-class.
void DoReportRxOk(WifiRemoteStation *station, double rxSnr, WifiMode txMode) override
This method is a pure virtual method that must be implemented by the sub-class.
void CheckInit(ParfWifiRemoteStation *station)
Check for initializations.
uint8_t m_minPower
Minimal power level.
hold per-remote-station state.
void DoReportDataFailed(WifiRemoteStation *station) override
This method is a pure virtual method that must be implemented by the sub-class.
WifiTxVector DoGetDataTxVector(WifiRemoteStation *station) override
TracedCallback< double, double, Mac48Address > m_powerChange
The trace source fired when the transmission power changes.
void DoInitialize(void) override
Initialize() implementation.
Forward calls to a chain of Callback.
PARF Rate control algorithm.
uint8_t m_maxPower
Maximal power level.
void DoReportFinalDataFailed(WifiRemoteStation *station) override
This method is a pure virtual method that must be implemented by the sub-class.
void DoReportDataOk(WifiRemoteStation *station, double ackSnr, WifiMode ackMode, double dataSnr, uint16_t dataChannelWidth, uint8_t dataNss) override
This method is a pure virtual method that must be implemented by the sub-class.