aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath9k
diff options
context:
space:
mode:
authorSujith <Sujith.Manoharan@atheros.com>2009-01-16 11:08:40 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-01-29 16:00:39 -0500
commitdd006395688cd3ce6c92de288d8db090d98dc2c7 (patch)
tree5a4347afa45b2ce23b75a6c6c5ef768b65fbde12 /drivers/net/wireless/ath9k
parent6642fe6f5d033128086c8b64737780454e53625e (diff)
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/wireless/ath9k')
-rw-r--r--drivers/net/wireless/ath9k/rc.c2
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,
1361 ath_rc_priv->ht_cap = (WLAN_RC_HT_FLAG | WLAN_RC_DS_FLAG); 1361 ath_rc_priv->ht_cap = (WLAN_RC_HT_FLAG | WLAN_RC_DS_FLAG);
1362 if (sta->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40) 1362 if (sta->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40)
1363 ath_rc_priv->ht_cap |= WLAN_RC_40_FLAG; 1363 ath_rc_priv->ht_cap |= WLAN_RC_40_FLAG;
1364 if (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_40)
1365 ath_rc_priv->ht_cap |= WLAN_RC_SGI_FLAG;
1364 } 1366 }
1365 1367
1366 /* Initial rate table size. Will change depending 1368 /* Initial rate table size. Will change depending