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>
Este commit está contenido en:

cometido por
John W. Linville

padre
10bab00afe
commit
9dde642325
@@ -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[];
|
||||
};
|
||||
|
Referencia en una nueva incidencia
Block a user