src/wifi/model/amrr-wifi-manager.cc
changeset 11100 86e53d8a4cfe
parent 10968 2d29fee2b7b8
child 11245 5c781d7e5a25
equal deleted inserted replaced
11099:304dc73bbfbe 11100:86e53d8a4cfe
   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