21 #ifndef CONSTANT_RATE_WIFI_MANAGER_H 22 #define CONSTANT_RATE_WIFI_MANAGER_H 24 #include "ns3/wifi-remote-station-manager.h" 50 double rxSnr,
WifiMode txMode)
override;
54 double ctsSnr,
WifiMode ctsMode,
double rtsSnr)
override;
56 double dataSnr, uint16_t dataChannelWidth, uint8_t dataNss)
override;
This class mimics the TXVECTOR which is to be passed to the PHY in order to define the parameters whi...
WifiTxVector DoGetRtsTxVector(WifiRemoteStation *station) override
void DoReportFinalDataFailed(WifiRemoteStation *station) override
This method is a pure virtual method that must be implemented by the sub-class.
use constant rates for data and RTS transmissions
represent a single transmission modeA WifiMode is implemented by a single integer which is used to lo...
void DoReportRtsFailed(WifiRemoteStation *station) 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 DoReportRxOk(WifiRemoteStation *station, double rxSnr, WifiMode txMode) override
This method is a pure virtual method that must be implemented by the sub-class.
hold a list of per-remote-station state.
void DoReportDataFailed(WifiRemoteStation *station) override
This method is a pure virtual method that must be implemented by the sub-class.
WifiMode m_ctlMode
Wifi mode for RTS frames.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
ConstantRateWifiManager()
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.
WifiMode m_dataMode
Wifi mode for unicast Data frames.
WifiRemoteStation * DoCreateStation(void) const override
virtual ~ConstantRateWifiManager()
static TypeId GetTypeId(void)
Get the type ID.
a unique identifier for an interface.
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.
hold per-remote-station state.
WifiTxVector DoGetDataTxVector(WifiRemoteStation *station) override