diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-10-09 06:13:49 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-10-31 19:00:06 -0400 |
commit | d9fe60dea7779d412b34679f1177c5ca1940ea8d (patch) | |
tree | a51e16b013f7c1d16ded502cb32c03872bcbfcaa /drivers/net/wireless/iwlwifi/iwl-dev.h | |
parent | 40333e4fb476014cdd939d27e20eb54573172b32 (diff) |
802.11: clean up/fix HT support
This patch cleans up a number of things:
* the unusable definition of the HT capabilities/HT information
information elements
* variable names that are hard to understand
* mac80211: move ieee80211_handle_ht to ht.c and remove the unused
enable_ht parameter
* mac80211: fix bug with MCS rate 32 in ieee80211_handle_ht
* mac80211: fix bug with casting the result of ieee80211_bss_get_ie
to an information element _contents_ rather than the
whole element, add size checking (another out-of-bounds
access bug fixed!)
* mac80211: remove some unused return values in favour of BUG_ON
checking
* a few minor other things
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-dev.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-dev.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h index 34306b6798e2..572250ee9d58 100644 --- a/drivers/net/wireless/iwlwifi/iwl-dev.h +++ b/drivers/net/wireless/iwlwifi/iwl-dev.h | |||
@@ -411,7 +411,7 @@ struct iwl_ht_info { | |||
411 | u8 max_amsdu_size; | 411 | u8 max_amsdu_size; |
412 | u8 ampdu_factor; | 412 | u8 ampdu_factor; |
413 | u8 mpdu_density; | 413 | u8 mpdu_density; |
414 | u8 supp_mcs_set[16]; | 414 | struct ieee80211_mcs_info mcs; |
415 | /* BSS related data */ | 415 | /* BSS related data */ |
416 | u8 control_channel; | 416 | u8 control_channel; |
417 | u8 extension_chan_offset; | 417 | u8 extension_chan_offset; |
@@ -585,7 +585,7 @@ struct iwl_addsta_cmd; | |||
585 | extern int iwl_send_add_sta(struct iwl_priv *priv, | 585 | extern int iwl_send_add_sta(struct iwl_priv *priv, |
586 | struct iwl_addsta_cmd *sta, u8 flags); | 586 | struct iwl_addsta_cmd *sta, u8 flags); |
587 | extern u8 iwl_add_station_flags(struct iwl_priv *priv, const u8 *addr, | 587 | extern u8 iwl_add_station_flags(struct iwl_priv *priv, const u8 *addr, |
588 | int is_ap, u8 flags, struct ieee80211_ht_info *ht_info); | 588 | int is_ap, u8 flags, struct ieee80211_sta_ht_cap *ht_info); |
589 | extern void iwl4965_update_chain_flags(struct iwl_priv *priv); | 589 | extern void iwl4965_update_chain_flags(struct iwl_priv *priv); |
590 | extern int iwl4965_set_pwr_src(struct iwl_priv *priv, enum iwl_pwr_src src); | 590 | extern int iwl4965_set_pwr_src(struct iwl_priv *priv, enum iwl_pwr_src src); |
591 | extern const u8 iwl_bcast_addr[ETH_ALEN]; | 591 | extern const u8 iwl_bcast_addr[ETH_ALEN]; |