20 #ifndef CARA_WIFI_MANAGER_H
21 #define CARA_WIFI_MANAGER_H
53 double ctsSnr,
WifiMode ctsMode,
double rtsSnr);
55 double ackSnr,
WifiMode ackMode,
double dataSnr);
This class mimics the TXVECTOR which is to be passed to the PHY in order to define the parameters whi...
virtual WifiRemoteStation * DoCreateStation(void) const
virtual bool IsLowLatency(void) const
virtual ~CaraWifiManager()
virtual void DoReportFinalDataFailed(WifiRemoteStation *station)
This method is a pure virtual method that must be implemented by the sub-class.
virtual void DoReportDataFailed(WifiRemoteStation *station)
This method is a pure virtual method that must be implemented by the sub-class.
represent a single transmission modeA WifiMode is implemented by a single integer which is used to lo...
virtual void DoReportRxOk(WifiRemoteStation *station, double rxSnr, WifiMode txMode)
This method is a pure virtual method that must be implemented by the sub-class.
uint32_t m_probeThreshold
uint32_t m_failureThreshold
virtual void DoReportDataOk(WifiRemoteStation *station, double ackSnr, WifiMode ackMode, double dataSnr)
This method is a pure virtual method that must be implemented by the sub-class.
static TypeId GetTypeId(void)
hold a list of per-remote-station state.
virtual void DoReportRtsFailed(WifiRemoteStation *station)
This method is a pure virtual method that must be implemented by the sub-class.
virtual WifiTxVector DoGetDataTxVector(WifiRemoteStation *station, uint32_t size)
virtual void DoReportRtsOk(WifiRemoteStation *station, double ctsSnr, WifiMode ctsMode, double rtsSnr)
This method is a pure virtual method that must be implemented by the sub-class.
uint32_t m_successThreshold
virtual WifiTxVector DoGetRtsTxVector(WifiRemoteStation *station)
implement the CARA rate control algorithmImplement the CARA algorithm from: J.
virtual void DoReportFinalRtsFailed(WifiRemoteStation *station)
This method is a pure virtual method that must be implemented by the sub-class.
virtual bool DoNeedRts(WifiRemoteStation *station, Ptr< const Packet > packet, bool normally)
a unique identifier for an interface.
hold per-remote-station state.