src/wifi/model/onoe-wifi-manager.cc
changeset 11479 a3dcf66928f3
parent 11450 9f4ae69f12b7
child 11628 243b71de25a0
equal deleted inserted replaced
11478:f743110af92e 11479:a3dcf66928f3
   276       else
   276       else
   277         {
   277         {
   278           rateIndex = station->m_txrate;
   278           rateIndex = station->m_txrate;
   279         }
   279         }
   280     }
   280     }
   281   return WifiTxVector (GetSupported (station, rateIndex), GetDefaultTxPowerLevel (), GetLongRetryCount (station), GetShortGuardInterval (station), Min (GetNumberOfReceiveAntennas (station), GetNumberOfTransmitAntennas ()), GetNess (station), GetStbc (station));
   281   return WifiTxVector (GetSupported (station, rateIndex), GetDefaultTxPowerLevel (), GetLongRetryCount (station), GetShortGuardInterval (station), Min (GetNumberOfReceiveAntennas (station), GetNumberOfTransmitAntennas ()), GetNess (station), GetAggregation (station), GetStbc (station));
   282 }
   282 }
   283 
   283 
   284 WifiTxVector
   284 WifiTxVector
   285 OnoeWifiManager::DoGetRtsTxVector (WifiRemoteStation *st)
   285 OnoeWifiManager::DoGetRtsTxVector (WifiRemoteStation *st)
   286 {
   286 {
   287   OnoeWifiRemoteStation *station = (OnoeWifiRemoteStation *)st;
   287   OnoeWifiRemoteStation *station = (OnoeWifiRemoteStation *)st;
   288   UpdateMode (station);
   288   UpdateMode (station);
   289   /// \todo can we implement something smarter ?
   289   /// \todo can we implement something smarter ?
   290   return WifiTxVector (GetSupported (station, 0), GetDefaultTxPowerLevel (), GetShortRetryCount (station), GetShortGuardInterval (station), Min (GetNumberOfReceiveAntennas (station), GetNumberOfTransmitAntennas ()), GetNess (station), GetStbc (station));
   290   return WifiTxVector (GetSupported (station, 0), GetDefaultTxPowerLevel (), GetShortRetryCount (station), GetShortGuardInterval (station), Min (GetNumberOfReceiveAntennas (station), GetNumberOfTransmitAntennas ()), GetNess (station), GetAggregation (station), GetStbc (station));
   291 }
   291 }
   292 
   292 
   293 bool
   293 bool
   294 OnoeWifiManager::IsLowLatency (void) const
   294 OnoeWifiManager::IsLowLatency (void) const
   295 {
   295 {