linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv5 0/8] Add DFS master ability
@ 2012-12-13 13:58 Simon Wunderlich
  2012-12-13 13:58 ` [PATCHv5 1/8] cfg80211: add CHAN_MODE_SINGLE_ONLY for DFS use Simon Wunderlich
                   ` (8 more replies)
  0 siblings, 9 replies; 27+ messages in thread
From: Simon Wunderlich @ 2012-12-13 13:58 UTC (permalink / raw)
  To: linux-wireless
  Cc: johannes, victorg, linville, kgiori, zefir.kurtisi, adrian, j,
	coelho, assaf, igalc, nbd, mathias.kretschmer, Simon Wunderlich

I'm picking up and extending Victor Goldenshteins work on DFS
ability in AP mode. See changelog in the various patches for
details. The main changes are:

 * the freuency within start_radar_detection is now used for the
   channel, dependency on __nl80211_set_channel is removed
 * enable_tx command removed, respective checks are now in start_ap
 * ap channel switch implicitly stops AP when changing to a radar
   channel. Userspace must then restart radar detection and can
   start the AP again after that
 => both changes from above are done to have a clean state of
    channel - low level driver should not care about whether
    a channel is a radar channel and when to be quiet. This way, all
    the control over the channel state keeps in nl80211.
 * add new SINGLE_ONLY channel mode to prevent other MultiSSID/MultiVIF use
 * prevent scan/roc to run at the same time as the AP
 * move dfs capability checks into reg_can_beacon()
 * change most of the functions to use the new chandef instead of
   channel, channel_type ...
 * rebased on latest master, of course

I'm sending this as patch to keep the versioning, although it can be
considered as RFC, I would be suprised if all single channel/single
interface aspects were considered correctly. :)

The implementation works for me [tm] with a dummy dfs-implementation
in ath9k and a patched hostapd - the hostapd patches will be sent later
once this patchset is in shape (Victors patches plus some dirty
modifications, need to clean it up first).

Any comment/review/etc are very much appreciated!

Thanks,
	Simon


Simon Wunderlich (4):
  cfg80211: add CHAN_MODE_SINGLE_ONLY for DFS use
  cfg/mac80211: add dfs capability to cfg80211_reg_can_beacon()
  mac80211: check radar interaction with scan and roc
  nl80211: allow DFS in start_ap

Victor Goldenshtein (4):
  nl80211/cfg80211: add radar detection command/event
  mac80211: add radar detection command/event
  nl80211/cfg80211: add ap channel switch command
  mac80211: add ap channel switch command/event

 include/net/cfg80211.h       |   68 ++++++++++++++-
 include/net/mac80211.h       |   46 ++++++++++
 include/uapi/linux/nl80211.h |   39 +++++++++
 net/mac80211/cfg.c           |   65 +++++++++++++-
 net/mac80211/driver-ops.h    |   26 ++++++
 net/mac80211/ibss.c          |    2 +-
 net/mac80211/ieee80211_i.h   |    7 ++
 net/mac80211/iface.c         |    6 ++
 net/mac80211/main.c          |    2 +
 net/mac80211/mlme.c          |   77 +++++++++++++++++
 net/mac80211/scan.c          |    3 +
 net/mac80211/trace.h         |  121 ++++++++++++++++++++++++++
 net/wireless/chan.c          |   23 +++--
 net/wireless/core.h          |    1 +
 net/wireless/mesh.c          |    2 +-
 net/wireless/mlme.c          |   32 ++++++-
 net/wireless/nl80211.c       |  194 ++++++++++++++++++++++++++++++++++++++++--
 net/wireless/nl80211.h       |    9 +-
 net/wireless/trace.h         |   11 ++-
 net/wireless/util.c          |   14 +++
 20 files changed, 723 insertions(+), 25 deletions(-)

-- 
1.7.10.4


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

end of thread, other threads:[~2013-01-04 13:21 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-13 13:58 [PATCHv5 0/8] Add DFS master ability Simon Wunderlich
2012-12-13 13:58 ` [PATCHv5 1/8] cfg80211: add CHAN_MODE_SINGLE_ONLY for DFS use Simon Wunderlich
2013-01-02 13:34   ` Johannes Berg
2012-12-13 13:58 ` [PATCHv5 2/8] cfg/mac80211: add dfs capability to cfg80211_reg_can_beacon() Simon Wunderlich
2013-01-02 13:36   ` Johannes Berg
2013-01-02 14:45     ` Simon Wunderlich
2012-12-13 13:58 ` [PATCHv5 3/8] nl80211/cfg80211: add radar detection command/event Simon Wunderlich
2013-01-02 13:39   ` Johannes Berg
2013-01-03  7:35     ` Simon Wunderlich
2012-12-13 13:58 ` [PATCHv5 4/8] mac80211: " Simon Wunderlich
2013-01-02 13:40   ` Johannes Berg
2013-01-03  7:36     ` Simon Wunderlich
2012-12-13 13:58 ` [PATCHv5 5/8] mac80211: check radar interaction with scan and roc Simon Wunderlich
2012-12-13 13:58 ` [PATCHv5 6/8] nl80211/cfg80211: add ap channel switch command Simon Wunderlich
2013-01-02 13:45   ` Johannes Berg
2013-01-02 15:05     ` Simon Wunderlich
2013-01-04 13:08       ` Johannes Berg
2012-12-13 13:58 ` [PATCHv5 7/8] mac80211: add ap channel switch command/event Simon Wunderlich
2013-01-02 13:46   ` Johannes Berg
2013-01-03  7:41     ` Simon Wunderlich
2013-01-02 13:47   ` Johannes Berg
2013-01-03  7:47     ` Simon Wunderlich
2013-01-04 13:10       ` Johannes Berg
2012-12-13 13:58 ` [PATCHv5 8/8] nl80211: allow DFS in start_ap Simon Wunderlich
2013-01-02 13:53 ` [PATCHv5 0/8] Add DFS master ability Johannes Berg
2013-01-02 14:44   ` Simon Wunderlich
2013-01-04 13:21     ` 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).