292 AarfcdWifiManager::DoReportFinalDataFailed (WifiRemoteStation *station) |
292 AarfcdWifiManager::DoReportFinalDataFailed (WifiRemoteStation *station) |
293 { |
293 { |
294 NS_LOG_FUNCTION (this << station); |
294 NS_LOG_FUNCTION (this << station); |
295 } |
295 } |
296 |
296 |
297 WifiMode |
297 WifiTxVector |
298 AarfcdWifiManager::DoGetDataMode (WifiRemoteStation *st, uint32_t size) |
298 AarfcdWifiManager::DoGetDataTxVector (WifiRemoteStation *st, uint32_t size) |
299 { |
299 { |
300 NS_LOG_FUNCTION (this << st << size); |
300 NS_LOG_FUNCTION (this << st << size); |
301 AarfcdWifiRemoteStation *station = (AarfcdWifiRemoteStation *) st; |
301 AarfcdWifiRemoteStation *station = (AarfcdWifiRemoteStation *) st; |
302 return GetSupported (station, station->m_rate); |
302 return WifiTxVector (GetSupported (station, station->m_rate), GetDefaultTxPowerLevel (), GetLongRetryCount (station), GetShortGuardInterval (station), Min (GetNumberOfReceiveAntennas (station),GetNumberOfTransmitAntennas()), GetNumberOfTransmitAntennas (station), GetStbc (station)); |
303 } |
303 } |
304 WifiMode |
304 WifiTxVector |
305 AarfcdWifiManager::DoGetRtsMode (WifiRemoteStation *st) |
305 AarfcdWifiManager::DoGetRtsTxVector (WifiRemoteStation *st) |
306 { |
306 { |
307 NS_LOG_FUNCTION (this << st); |
307 NS_LOG_FUNCTION (this << st); |
308 /// \todo we could/should implement the Aarf algorithm for |
308 /// \todo we could/should implement the Aarf algorithm for |
309 /// RTS only by picking a single rate within the BasicRateSet. |
309 /// RTS only by picking a single rate within the BasicRateSet. |
310 AarfcdWifiRemoteStation *station = (AarfcdWifiRemoteStation *) st; |
310 AarfcdWifiRemoteStation *station = (AarfcdWifiRemoteStation *) st; |
311 return GetSupported (station, 0); |
311 return WifiTxVector (GetSupported (station, 0), GetDefaultTxPowerLevel (), GetShortRetryCount (station), GetShortGuardInterval (station), Min (GetNumberOfReceiveAntennas (station),GetNumberOfTransmitAntennas()), GetNumberOfTransmitAntennas (station), GetStbc (station)); |
312 } |
312 } |
313 |
313 |
314 bool |
314 bool |
315 AarfcdWifiManager::DoNeedRts (WifiRemoteStation *st, |
315 AarfcdWifiManager::DoNeedRts (WifiRemoteStation *st, |
316 Ptr<const Packet> packet, bool normally) |
316 Ptr<const Packet> packet, bool normally) |