android_kernel_xiaomi_sm8350/net/mac80211
Johannes Berg 667503ddcb cfg80211: fix locking
Over time, a lot of locking issues have crept into
the smarts of cfg80211, so e.g. scan completion can
race against a new scan, IBSS join can race against
leaving an IBSS, etc.

Introduce a new per-interface lock that protects
most of the per-interface data that we need to keep
track of, and sprinkle assertions about that lock
everywhere. Some things now need to be offloaded to
work structs so that we don't require being able to
sleep in functions the drivers call. The exception
to that are the MLME callbacks (rx_auth etc.) that
currently only mac80211 calls because it was easier
to do that there instead of in cfg80211, and future
drivers implementing those calls will, if they ever
exist, probably need to use a similar scheme like
mac80211 anyway...

In order to be able to handle _deauth and _disassoc
properly, introduce a cookie passed to it that will
determine locking requirements.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-07-10 15:02:32 -04:00
..
aes_ccm.c
aes_ccm.h
aes_cmac.c
aes_cmac.h
agg-rx.c mac80211: Add a timeout for frames in the RX reorder buffer 2009-05-06 15:15:04 -04:00
agg-tx.c mac80211: Fix the way ADDBA request count being modified 2009-06-10 13:28:38 -04:00
cfg.c cfg80211: fix locking 2009-07-10 15:02:32 -04:00
cfg.h
debugfs_key.c
debugfs_key.h
debugfs_netdev.c mac80211: rework MLME for multiple authentications 2009-07-10 15:02:30 -04:00
debugfs_netdev.h
debugfs_sta.c mac80211: improve per-sta debugfs 2009-07-10 14:57:54 -04:00
debugfs_sta.h
debugfs.c mac80211: add queue debugfs file 2009-06-15 15:05:57 -04:00
debugfs.h
driver-ops.h cfg80211: add rfkill support 2009-06-03 14:06:14 -04:00
event.c cfg80211: use proper allocation flags 2009-07-10 15:01:49 -04:00
ht.c
ibss.c mac80211: push rx status into skb->cb 2009-07-10 14:57:54 -04:00
ieee80211_i.h cfg80211: fix locking 2009-07-10 15:02:32 -04:00
iface.c mac80211: rework MLME for multiple authentications 2009-07-10 15:02:30 -04:00
Kconfig cfg80211: implement iwpower 2009-07-10 15:01:51 -04:00
key.c mac80211: fix todo lock 2009-07-10 15:01:48 -04:00
key.h nl80211: Add RSC configuration for new keys 2009-05-13 15:44:39 -04:00
led.c
led.h
main.c mac80211: push rx status into skb->cb 2009-07-10 14:57:54 -04:00
Makefile
mesh_hwmp.c mac80211: fix allocation in mesh_queue_preq 2009-07-07 12:55:27 -04:00
mesh_pathtbl.c
mesh_plink.c mac80211: cancel/restart all timers across suspend/resume 2009-05-20 14:46:25 -04:00
mesh.c mac80211: push rx status into skb->cb 2009-07-10 14:57:54 -04:00
mesh.h mac80211: push rx status into skb->cb 2009-07-10 14:57:54 -04:00
michael.c
michael.h
mlme.c cfg80211: fix locking 2009-07-10 15:02:32 -04:00
pm.c mac80211: cancel/restart all timers across suspend/resume 2009-05-20 14:46:25 -04:00
rate.c
rate.h
rc80211_minstrel_debugfs.c
rc80211_minstrel.c mac80211: minstrel: avoid accessing negative indices in rix_to_ndx() 2009-07-07 12:55:28 -04:00
rc80211_minstrel.h
rc80211_pid_algo.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-05-18 21:08:20 -07:00
rc80211_pid_debugfs.c
rc80211_pid.h
rx.c mac80211: rework MLME for multiple authentications 2009-07-10 15:02:30 -04:00
scan.c mac80211: rework MLME for multiple authentications 2009-07-10 15:02:30 -04:00
spectmgmt.c mac80211: move channel switch code 2009-05-20 14:46:25 -04:00
sta_info.c mac80211: extend sta kdoc - explain when they are added 2009-06-03 14:06:15 -04:00
sta_info.h mac80211: improve per-sta debugfs 2009-07-10 14:57:54 -04:00
tkip.c mac80211: add driver ops wrappers 2009-05-06 15:14:37 -04:00
tkip.h
tx.c net: convert remaining non-symbolic return values in ndo_start_xmit() functions 2009-07-05 19:23:38 -07:00
util.c mac80211: disconnect when user changes channel 2009-06-15 15:05:58 -04:00
wep.c mac80211: refactor the WEP code to be directly usable 2009-07-10 15:02:31 -04:00
wep.h mac80211: refactor the WEP code to be directly usable 2009-07-10 15:02:31 -04:00
wext.c cfg80211: implement get_wireless_stats 2009-07-10 15:01:52 -04:00
wme.c mac80211: do not pass PS frames out of mac80211 again 2009-06-10 13:28:37 -04:00
wme.h
wpa.c cfg80211: use proper allocation flags 2009-07-10 15:01:49 -04:00
wpa.h