Hi, This cleans up some CSA related stuff and notably tries to fix locking issues. Now local->mtx is used along with sdata lock to secure vif->csa_active modification. Addition of local->mtx makes it possible to check vif->csa_active on all interfaces safely. The last patch (the revert) is more of a suggestion. I've decided to include the radar patch here as well. This patchset is required to support multi-interface CSA in mac80211. Changes since RFC: * rebase on top of mac80211-next and adjust to some IBSS/mesh changes * fix typo in commit message of `move csa_active seting in STA CSA` * remove `track CSA globally` * add `deny attempts at using chanctx during CSA` (it takes a little bit of code from the removed `track CSA globally` and `implement multi-interface CSA`) Michal Kazior (7): mac80211: fix possible memory leak on AP CSA failure mac80211: treat IBSS CSA finish failure seriously mac80211: move csa_active setting in STA CSA mac80211: fix sdata->radar_required locking mac80211: improve CSA locking mac80211: deny attempts at using chanctx during CSA Revert "cfg80211: disable CSA for all drivers" net/mac80211/cfg.c | 51 +++++++++++++++++++++++++++++++++++----------- net/mac80211/chan.c | 7 +++++++ net/mac80211/ibss.c | 20 +++++++++++++----- net/mac80211/ieee80211_i.h | 1 + net/mac80211/iface.c | 28 +++++++++++++++++++++++-- net/mac80211/mesh.c | 18 ++++++++++++++-- net/mac80211/mlme.c | 22 +++++++++++++------- net/mac80211/util.c | 18 ++++++++++++++++ net/wireless/core.c | 6 ------ 9 files changed, 137 insertions(+), 34 deletions(-) -- 1.8.4.rc3 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html