diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2009-01-16 19:08:40 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-01-30 00:00:39 +0300 |
commit | dd006395688cd3ce6c92de288d8db090d98dc2c7 (patch) | |
tree | 5a4347afa45b2ce23b75a6c6c5ef768b65fbde12 /drivers/net | |
parent | 6642fe6f5d033128086c8b64737780454e53625e (diff) | |
download | linux-dd006395688cd3ce6c92de288d8db090d98dc2c7.tar.xz |
ath9k: Update short guard interval in rate control
The rate control algorithm needs to know if a STA allows
short guard interval, fixing this allows RC to use the correct
table.
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/ath9k/rc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath9k/rc.c b/drivers/net/wireless/ath9k/rc.c index 182884a1cde4..68bda2309cee 100644 --- a/drivers/net/wireless/ath9k/rc.c +++ b/drivers/net/wireless/ath9k/rc.c @@ -1361,6 +1361,8 @@ static void ath_rc_init(struct ath_softc *sc, ath_rc_priv->ht_cap = (WLAN_RC_HT_FLAG | WLAN_RC_DS_FLAG); if (sta->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40) ath_rc_priv->ht_cap |= WLAN_RC_40_FLAG; + if (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_40) + ath_rc_priv->ht_cap |= WLAN_RC_SGI_FLAG; } /* Initial rate table size. Will change depending |