linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] mac80211: CSA related fixes
@ 2014-01-20 14:21 Michal Kazior
  2014-01-20 14:21 ` [PATCH 1/7] mac80211: fix possible memory leak on AP CSA failure Michal Kazior
                   ` (7 more replies)
  0 siblings, 8 replies; 50+ messages in thread
From: Michal Kazior @ 2014-01-20 14:21 UTC (permalink / raw)
  To: linux-wireless; +Cc: johannes, Michal Kazior

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


^ permalink raw reply	[flat|nested] 50+ messages in thread

end of thread, other threads:[~2014-01-24 12:55 UTC | newest]

Thread overview: 50+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-20 14:21 [PATCH 0/7] mac80211: CSA related fixes Michal Kazior
2014-01-20 14:21 ` [PATCH 1/7] mac80211: fix possible memory leak on AP CSA failure Michal Kazior
2014-01-21 14:55   ` Johannes Berg
2014-01-22  6:54     ` Michal Kazior
2014-01-20 14:21 ` [PATCH 2/7] mac80211: treat IBSS CSA finish failure seriously Michal Kazior
2014-01-21 15:00   ` Johannes Berg
2014-01-22 11:38     ` Luca Coelho
2014-01-20 14:21 ` [PATCH 3/7] mac80211: move csa_active setting in STA CSA Michal Kazior
2014-01-22 11:40   ` Luca Coelho
2014-01-20 14:21 ` [PATCH 4/7] mac80211: fix sdata->radar_required locking Michal Kazior
2014-01-20 14:21 ` [PATCH 5/7] mac80211: improve CSA locking Michal Kazior
2014-01-20 15:41   ` Michal Kazior
2014-01-21 15:06   ` Johannes Berg
2014-01-22  6:51     ` Michal Kazior
2014-01-22  8:52       ` Johannes Berg
2014-01-22  9:07         ` Michal Kazior
2014-01-22  9:13           ` Johannes Berg
2014-01-22 10:13             ` Michal Kazior
2014-01-22 10:19               ` Johannes Berg
2014-01-22 12:36                 ` Luca Coelho
2014-01-22 15:10                   ` Johannes Berg
2014-01-22 15:13                     ` Luca Coelho
2014-01-23  6:22                       ` Michal Kazior
2014-01-23  6:31                         ` Luca Coelho
2014-01-23  6:41                           ` Michal Kazior
2014-01-23  7:31                             ` Luca Coelho
2014-01-23  7:50                               ` Otcheretianski, Andrei
2014-01-23  7:57                               ` Michal Kazior
2014-01-23  9:50                                 ` Luca Coelho
2014-01-23 10:33                                   ` Michal Kazior
2014-01-23 12:20                                     ` Johannes Berg
2014-01-23 12:38                                       ` Michal Kazior
2014-01-24  7:41                                         ` Luca Coelho
2014-01-24  8:40                                           ` Johannes Berg
2014-01-24  9:52                                             ` Luca Coelho
2014-01-24 10:40                                               ` Michal Kazior
2014-01-24 12:55                                                 ` Luca Coelho
2014-01-23 12:09                                 ` Johannes Berg
2014-01-23 12:41                                   ` Michal Kazior
2014-01-24  7:44                                     ` Luca Coelho
2014-01-23  6:35                         ` Luca Coelho
2014-01-23 12:07                           ` Johannes Berg
2014-01-23  6:35                   ` Michal Kazior
2014-01-23 12:06                     ` Johannes Berg
2014-01-20 14:21 ` [PATCH 6/7] mac80211: deny attempts at using chanctx during CSA Michal Kazior
2014-01-20 21:41   ` Luca Coelho
2014-01-21  6:07     ` Michal Kazior
2014-01-21 15:14   ` Johannes Berg
2014-01-20 14:21 ` [PATCH 7/7] Revert "cfg80211: disable CSA for all drivers" Michal Kazior
2014-01-21 15:16 ` [PATCH 0/7] mac80211: CSA related fixes Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).