Search Linux Wireless

[PATCHv5 0/8] Add DFS master ability

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
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


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux