WSL2-Linux-Kernel/net/mac80211
Johannes Berg ae5eb02641 mac80211: rewrite HT handling
The HT handling has the following deficiencies, which I've
(partially) fixed:
 * it always uses the AP info even if there is no AP,
   hence has no chance of working as an AP
 * it pretends to be HW config, but really is per-BSS
 * channel sanity checking is left to the drivers
 * it generally lets the driver control too much

HT enabling is still wrong with this patch if you have more than
one virtual STA mode interface, but that never happens currently.
Once WDS, IBSS or AP/VLAN gets HT capabilities, it will also be
wrong, see the comment in ieee80211_enable_ht().

Additionally, this fixes a number of bugs:
 * mac80211: ieee80211_set_disassoc doesn't notify the driver any
             more since the refactoring
 * iwl-agn-rs: always uses the HT capabilities from the wrong stuff
               mac80211 gives it rather than the actual peer STA
 * ath9k: a number of bugs resulting from the broken HT API

I'm not entirely happy with putting the HT capabilities into
struct ieee80211_sta as restricted to our own HT TX capabilities,
but I see no cleaner solution for now.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-10-31 19:00:16 -04:00
..
Kconfig mac80211: add the 'minstrel' rate control algorithm 2008-10-06 18:14:57 -04:00
Makefile mac80211: add the 'minstrel' rate control algorithm 2008-10-06 18:14:57 -04:00
aes_ccm.c mac80211: aes_ccm.c remove crypto wrapper and extra args 2008-07-08 14:16:02 -04:00
aes_ccm.h mac80211: pass scratch buffer directly, remove additional pointers 2008-07-08 14:16:02 -04:00
cfg.c mac80211: rewrite HT handling 2008-10-31 19:00:16 -04:00
cfg.h [MAC80211]: rename ieee80211_cfg.h to cfg.h 2007-10-10 16:52:34 -07:00
debugfs.c mac80211: make retry limits part of hw config 2008-10-31 19:00:14 -04:00
debugfs.h [MAC80211]: Add debugfs attributes. 2007-05-05 11:46:38 -07:00
debugfs_key.c mac80211: convert to %pM away from print_mac 2008-10-27 17:06:16 -07:00
debugfs_key.h mac80211: fix key vs. sta locking problems 2008-04-08 16:44:45 -04:00
debugfs_netdev.c mac80211: move bss_conf into vif 2008-10-31 19:00:15 -04:00
debugfs_netdev.h mac80211: revamp virtual interface handling 2008-07-14 14:30:07 -04:00
debugfs_sta.c mac80211: minor code cleanups 2008-10-31 18:05:59 -04:00
debugfs_sta.h mac80211: RCU-ify STA info structure access 2008-03-06 15:30:46 -05:00
event.c mac80211: convert to %pM away from print_mac 2008-10-27 17:06:16 -07:00
ht.c mac80211: rewrite HT handling 2008-10-31 19:00:16 -04:00
ieee80211_i.h mac80211: rewrite HT handling 2008-10-31 19:00:16 -04:00
iface.c mac80211: move bss_conf into vif 2008-10-31 19:00:15 -04:00
key.c mac80211: convert to %pM away from print_mac 2008-10-27 17:06:16 -07:00
key.h mac80211: Let drivers have access to TKIP key offets for TX and RX MIC 2008-06-27 09:09:17 -04:00
led.c mac80211: rename files 2008-04-08 16:44:45 -04:00
led.h mac80211: rename files 2008-04-08 16:44:45 -04:00
main.c mac80211: move bss_conf into vif 2008-10-31 19:00:15 -04:00
mesh.c mac80211: minor code cleanups 2008-10-31 18:05:59 -04:00
mesh.h mac80211: mesh portal functionality support 2008-09-24 16:18:02 -04:00
mesh_hwmp.c mac80211: move txrate_idx into RC algorithms 2008-09-15 16:48:24 -04:00
mesh_pathtbl.c mac80211: mesh portal functionality support 2008-09-24 16:18:02 -04:00
mesh_plink.c mac80211: convert to %pM away from print_mac 2008-10-27 17:06:16 -07:00
michael.c mac80211: remove ieee80211_get_hdr_info 2008-07-08 14:16:01 -04:00
michael.h mac80211: remove ieee80211_get_hdr_info 2008-07-08 14:16:01 -04:00
mlme.c mac80211: rewrite HT handling 2008-10-31 19:00:16 -04:00
rate.c mac80211: clean up rate control API 2008-09-24 16:18:03 -04:00
rate.h mac80211: add the 'minstrel' rate control algorithm 2008-10-06 18:14:57 -04:00
rc80211_minstrel.c mac80211: add the 'minstrel' rate control algorithm 2008-10-06 18:14:57 -04:00
rc80211_minstrel.h mac80211: add the 'minstrel' rate control algorithm 2008-10-06 18:14:57 -04:00
rc80211_minstrel_debugfs.c mac80211: correct warnings in minstrel rate control algorithm 2008-10-27 17:46:11 -04:00
rc80211_pid.h mac80211: minor code cleanups 2008-10-31 18:05:59 -04:00
rc80211_pid_algo.c mac80211: clean up rate control API 2008-09-24 16:18:03 -04:00
rc80211_pid_debugfs.c mac80211: move TX info into skb->cb 2008-05-21 21:48:11 -04:00
rx.c mac80211: minor code cleanups 2008-10-31 18:05:59 -04:00
scan.c mac80211: introduce hw config change flags 2008-10-31 19:00:07 -04:00
spectmgmt.c mac80211: move frame TX function 2008-09-11 15:53:39 -04:00
sta_info.c mac80211: minor code cleanups 2008-10-31 18:05:59 -04:00
sta_info.h mac80211: fix debugfs lockup 2008-10-14 20:46:41 -04:00
tkip.c mac80211: convert to %pM away from print_mac 2008-10-27 17:06:16 -07:00
tkip.h mac80211: tkip.c consolidate tkip IV writing in helper 2008-06-14 12:18:13 -04:00
tx.c mac80211: move bss_conf into vif 2008-10-31 19:00:15 -04:00
util.c mac80211: move bss_conf into vif 2008-10-31 19:00:15 -04:00
wep.c mac80211: minor code cleanups 2008-10-31 18:05:59 -04:00
wep.h mac80211: minor code cleanups 2008-10-31 18:05:59 -04:00
wext.c mac80211: make retry limits part of hw config 2008-10-31 19:00:14 -04:00
wme.c mac80211: convert to %pM away from print_mac 2008-10-27 17:06:16 -07:00
wme.h mac80211: clean up some comments 2008-09-15 16:48:22 -04:00
wpa.c mac80211: minor code cleanups 2008-10-31 18:05:59 -04:00
wpa.h mac80211: split ieee80211_txrx_data 2008-03-06 15:30:46 -05:00