src/wifi/model/constant-rate-wifi-manager.cc
changeset 11628 243b71de25a0
parent 11479 a3dcf66928f3
equal deleted inserted replaced
11627:01fcacb5eedf 11628:243b71de25a0
   115 
   115 
   116 WifiTxVector
   116 WifiTxVector
   117 ConstantRateWifiManager::DoGetDataTxVector (WifiRemoteStation *st, uint32_t size)
   117 ConstantRateWifiManager::DoGetDataTxVector (WifiRemoteStation *st, uint32_t size)
   118 {
   118 {
   119   NS_LOG_FUNCTION (this << st << size);
   119   NS_LOG_FUNCTION (this << st << size);
   120   return WifiTxVector (m_dataMode, GetDefaultTxPowerLevel (), GetLongRetryCount (st), GetShortGuardInterval (st), Min (GetNumberOfReceiveAntennas (st), GetNumberOfTransmitAntennas ()), GetNess (st), GetAggregation (st), GetStbc (st));
   120   return WifiTxVector (m_dataMode, GetDefaultTxPowerLevel (), GetLongRetryCount (st), GetShortGuardInterval (st), 1, 0, GetChannelWidth (st), GetAggregation (st), false);
   121 }
   121 }
   122 
   122 
   123 WifiTxVector
   123 WifiTxVector
   124 ConstantRateWifiManager::DoGetRtsTxVector (WifiRemoteStation *st)
   124 ConstantRateWifiManager::DoGetRtsTxVector (WifiRemoteStation *st)
   125 {
   125 {
   126   NS_LOG_FUNCTION (this << st);
   126   NS_LOG_FUNCTION (this << st);
   127   return WifiTxVector (m_ctlMode, GetDefaultTxPowerLevel (), GetShortRetryCount (st), GetShortGuardInterval (st), Min (GetNumberOfReceiveAntennas (st), GetNumberOfTransmitAntennas ()), GetNess (st), GetAggregation (st), GetStbc (st));
   127   return WifiTxVector (m_ctlMode, GetDefaultTxPowerLevel (), GetShortRetryCount (st), GetShortGuardInterval (st), 1, 0, GetChannelWidth (st), GetAggregation (st), false);
   128 }
   128 }
   129 
   129 
   130 bool
   130 bool
   131 ConstantRateWifiManager::IsLowLatency (void) const
   131 ConstantRateWifiManager::IsLowLatency (void) const
   132 {
   132 {