|
Lines 923-936
MinstrelHtWifiManager::DoGetDataTxVector (WifiRemoteStation *st)
|
Link Here
|
|---|
|
| 923 |
" Station capabilities: (" << GetNumberOfSupportedStreams (station) << "," << GetShortGuardInterval (station) << "," << GetChannelWidth (station) << ")"); |
923 |
" Station capabilities: (" << GetNumberOfSupportedStreams (station) << "," << GetShortGuardInterval (station) << "," << GetChannelWidth (station) << ")"); |
| 924 |
} |
924 |
} |
| 925 |
|
925 |
|
| 926 |
uint64_t dataRate = GetMcsSupported (station, mcsIndex).GetDataRate (group.chWidth, group.sgi, group.streams); |
926 |
uint64_t dataRate = GetMcsSupported (station, mcsIndex).GetDataRate (group.chWidth, group.sgi ? 400 : 800, group.streams); |
| 927 |
if (!station->m_isSampling) |
927 |
if (!station->m_isSampling) |
| 928 |
{ |
928 |
{ |
| 929 |
m_rateChange (dataRate, station->m_state->m_address); |
929 |
m_rateChange (dataRate, station->m_state->m_address); |
| 930 |
} |
930 |
} |
| 931 |
WifiMode mode = GetMcsSupported (station, mcsIndex); |
931 |
WifiMode mode = GetMcsSupported (station, mcsIndex); |
| 932 |
return WifiTxVector (mode, GetDefaultTxPowerLevel (), GetLongRetryCount (station), |
932 |
return WifiTxVector (mode, GetDefaultTxPowerLevel (), GetLongRetryCount (station), |
| 933 |
GetPreambleForTransmission (mode, GetAddress (station)), group.sgi, GetNumberOfAntennas (), group.streams, GetNess (station), group.chWidth, GetAggregation (station) && !station->m_isSampling, GetStbc (station)); |
933 |
GetPreambleForTransmission (mode, GetAddress (station)), group.sgi ? 400 : 800, GetNumberOfAntennas (), group.streams, GetNess (station), group.chWidth, GetAggregation (station) && !station->m_isSampling, GetStbc (station)); |
| 934 |
} |
934 |
} |
| 935 |
} |
935 |
} |
| 936 |
|
936 |
|