summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath9k/rc.h
diff options
context:
space:
mode:
authorSujith <Sujith.Manoharan@atheros.com>2009-03-30 13:58:56 +0400
committerJohn W. Linville <linville@tuxdriver.com>2009-04-23 00:54:35 +0400
commitc6483cfe7147534719197c03a99848f49e004308 (patch)
tree20aa299c2477ae6f5b84a2cf2bd19e25b31415fc /drivers/net/wireless/ath9k/rc.h
parent063d8be37d6f5818976a1185db4af55c5a5ae809 (diff)
downloadlinux-c6483cfe7147534719197c03a99848f49e004308.tar.xz
ath9k: Determine number of streams from HT capabilities
The number of streams supported by a STA can be determined directly from the HT capabilities. Remove the redundant variable storing the stream cap. Signed-off-by: Sujith <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/rc.h')
-rw-r--r--drivers/net/wireless/ath9k/rc.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath9k/rc.h b/drivers/net/wireless/ath9k/rc.h
index ec72dd29da00..bdfd2052077c 100644
--- a/drivers/net/wireless/ath9k/rc.h
+++ b/drivers/net/wireless/ath9k/rc.h
@@ -157,7 +157,6 @@ struct ath_rateset {
* @probe_interval: interval for ratectrl to probe for other rates
* @prev_data_rix: rate idx of last data frame
* @ht_cap: HT capabilities
- * @single_stream: When TRUE, only single TX stream possible
* @neg_rates: Negotatied rates
* @neg_ht_rates: Negotiated HT rates
*/
@@ -175,7 +174,6 @@ struct ath_rate_priv {
u8 max_valid_rate;
u8 valid_rate_index[RATE_TABLE_SIZE];
u8 ht_cap;
- u8 single_stream;
u8 valid_phy_ratecnt[WLAN_RC_PHY_MAX];
u8 valid_phy_rateidx[WLAN_RC_PHY_MAX][RATE_TABLE_SIZE];
u8 rc_phy_mode;