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>
Showing
- drivers/net/wireless/ath9k/main.c 27 additions, 30 deletionsdrivers/net/wireless/ath9k/main.c
- drivers/net/wireless/ath9k/rc.c 5 additions, 5 deletionsdrivers/net/wireless/ath9k/rc.c
- drivers/net/wireless/ath9k/rc.h 0 additions, 1 deletiondrivers/net/wireless/ath9k/rc.h
- drivers/net/wireless/ath9k/recv.c 1 addition, 1 deletiondrivers/net/wireless/ath9k/recv.c
- drivers/net/wireless/ath9k/xmit.c 1 addition, 1 deletiondrivers/net/wireless/ath9k/xmit.c
- drivers/net/wireless/iwlwifi/iwl-agn-rs.c 9 additions, 9 deletionsdrivers/net/wireless/iwlwifi/iwl-agn-rs.c
- drivers/net/wireless/iwlwifi/iwl-agn.c 10 additions, 10 deletionsdrivers/net/wireless/iwlwifi/iwl-agn.c
- drivers/net/wireless/iwlwifi/iwl-core.c 36 additions, 35 deletionsdrivers/net/wireless/iwlwifi/iwl-core.c
- drivers/net/wireless/iwlwifi/iwl-core.h 1 addition, 1 deletiondrivers/net/wireless/iwlwifi/iwl-core.h
- drivers/net/wireless/iwlwifi/iwl-dev.h 2 additions, 2 deletionsdrivers/net/wireless/iwlwifi/iwl-dev.h
- drivers/net/wireless/iwlwifi/iwl-scan.c 6 additions, 6 deletionsdrivers/net/wireless/iwlwifi/iwl-scan.c
- drivers/net/wireless/iwlwifi/iwl-sta.c 3 additions, 3 deletionsdrivers/net/wireless/iwlwifi/iwl-sta.c
- drivers/net/wireless/mac80211_hwsim.c 9 additions, 10 deletionsdrivers/net/wireless/mac80211_hwsim.c
- include/linux/ieee80211.h 95 additions, 38 deletionsinclude/linux/ieee80211.h
- include/net/mac80211.h 6 additions, 6 deletionsinclude/net/mac80211.h
- include/net/wireless.h 8 additions, 7 deletionsinclude/net/wireless.h
- net/mac80211/cfg.c 3 additions, 4 deletionsnet/mac80211/cfg.c
- net/mac80211/ht.c 129 additions, 22 deletionsnet/mac80211/ht.c
- net/mac80211/ieee80211_i.h 8 additions, 8 deletionsnet/mac80211/ieee80211_i.h
- net/mac80211/main.c 0 additions, 94 deletionsnet/mac80211/main.c
Loading
Please register or sign in to comment