summaryrefslogtreecommitdiff
path: root/net/mac80211/ieee80211_i.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-05-16 23:43:19 +0200
committerJohn W. Linville <linville@tuxdriver.com>2012-06-05 15:32:15 -0400
commit9dde64232586bd35c8454615266d209106b73c0f (patch)
tree488be8573e55453d6ef6dc88a692a42fb7e23093 /net/mac80211/ieee80211_i.h
parent10bab00afed042c1a38ed5ffb135e2aea5ce1277 (diff)
downloadlwn-9dde64232586bd35c8454615266d209106b73c0f.tar.gz
lwn-9dde64232586bd35c8454615266d209106b73c0f.zip
mac80211: simplify association HT parameters
Instead of passing around the entire HT information IE, extract only the HT parameters field and disable HT if the HT information IE isn't present and well- formed. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r--net/mac80211/ieee80211_i.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index 3f3cd50fff16..8c026abcb8d9 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -399,7 +399,6 @@ struct ieee80211_mgd_auth_data {
struct ieee80211_mgd_assoc_data {
struct cfg80211_bss *bss;
const u8 *supp_rates;
- const u8 *ht_operation_ie;
unsigned long timeout;
int tries;
@@ -414,6 +413,8 @@ struct ieee80211_mgd_assoc_data {
bool sent_assoc;
bool synced;
+ u8 ap_ht_param;
+
size_t ie_len;
u8 ie[];
};