319 { |
319 { |
320 rateIndex = station->m_txrate; |
320 rateIndex = station->m_txrate; |
321 } |
321 } |
322 } |
322 } |
323 |
323 |
324 return WifiTxVector (GetSupported (station, rateIndex), GetDefaultTxPowerLevel (), GetLongRetryCount (station), GetShortGuardInterval (station), Min (GetNumberOfReceiveAntennas (station),GetNumberOfTransmitAntennas()), GetNumberOfTransmitAntennas (station), GetStbc (station)); |
324 return WifiTxVector (GetSupported (station, rateIndex), GetDefaultTxPowerLevel (), GetLongRetryCount (station), GetShortGuardInterval (station), Min (GetNumberOfReceiveAntennas (station),GetNumberOfTransmitAntennas()), GetNess (station), GetStbc (station)); |
325 } |
325 } |
326 WifiTxVector |
326 WifiTxVector |
327 AmrrWifiManager::DoGetRtsTxVector (WifiRemoteStation *st) |
327 AmrrWifiManager::DoGetRtsTxVector (WifiRemoteStation *st) |
328 { |
328 { |
329 NS_LOG_FUNCTION (this << st); |
329 NS_LOG_FUNCTION (this << st); |
330 AmrrWifiRemoteStation *station = (AmrrWifiRemoteStation *)st; |
330 AmrrWifiRemoteStation *station = (AmrrWifiRemoteStation *)st; |
331 UpdateMode (station); |
331 UpdateMode (station); |
332 /// \todo can we implement something smarter ? |
332 /// \todo can we implement something smarter ? |
333 return WifiTxVector (GetSupported (station, 0), GetDefaultTxPowerLevel (), GetLongRetryCount (station), GetShortGuardInterval (station), Min (GetNumberOfReceiveAntennas (station),GetNumberOfTransmitAntennas()), GetNumberOfTransmitAntennas (station), GetStbc (station)); |
333 return WifiTxVector (GetSupported (station, 0), GetDefaultTxPowerLevel (), GetLongRetryCount (station), GetShortGuardInterval (station), Min (GetNumberOfReceiveAntennas (station),GetNumberOfTransmitAntennas()), GetNess (station), GetStbc (station)); |
334 } |
334 } |
335 |
335 |
336 |
336 |
337 bool |
337 bool |
338 AmrrWifiManager::IsLowLatency (void) const |
338 AmrrWifiManager::IsLowLatency (void) const |