linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv7 0/3] Add DFS master ability
@ 2013-01-29 12:21 Simon Wunderlich
  2013-01-29 12:21 ` [PATCHv7 1/3] nl80211/cfg80211: add radar detection command/event Simon Wunderlich
                   ` (4 more replies)
  0 siblings, 5 replies; 34+ messages in thread
From: Simon Wunderlich @ 2013-01-29 12:21 UTC (permalink / raw)
  To: linux-wireless
  Cc: johannes, victorg, linville, kgiori, zefir.kurtisi, adrian, j,
	coelho, igalc, nbd, mathias.kretschmer, Simon Wunderlich

This is patch series version 7 of the DFS master ability, based on Victor
Goldenshteins original work. See changelog in the various patches for
details. The main changes to v6 are:

 * change to channel state handling within cfg80211/mac80211. This moves
   the channel state management from hostapd to the kernel driver, as
   we discussed in previous mails - a change from the original concept.
   We can hopefully support scenarios like multiple interfaces, full DFS
   spectrum scans before enabling an AP, etc better. 
 * also add CAC/NOP handling
 * remove mac80211 start_radar_detection command, use hardware config
   flags instead. the nl80211/cfg80211 command will remain
 * add/change cfg80211 channel checking functions (set channel state,
   get info if radar is required, adapt reg_can_beacon())
 * add/fix tracing
 * more chandef usage
 * rebased on latest master, of course

Thanks again to Johannes and Zefir for the valuable input! I've verified
the implementation (again) with ath9k a patched hostapd (patches to be
released later). This patchset is more an RFC with a few open questions,
any comment/review/etc are very much appreciated. 

Questions:

Right now, channels at least on my machine have the NO IBSS and PASSIVE SCAN
flags set, which prevents reg_can_beacon from returning true, even if we do
have radar support. This is due to my reg database setting these flags for
country code 00, and this is still kept when changing the country code to
something else (DE in my case). How should we proceed with this? Shouldn't
these flags be removed when selecting a country code?

The channel states are now implemented in cfg80211. Shall we inform userspace
about channel changes? If yes, how should we do that? We could add channel states
to the channel list, and give "channel list changed" events to userspace as it
happens now, or define a new kind of event ("channel-available-again-event").
Suggestions welcome. :)

If you prefer, I can split off the channel state stuff from the radar detect
patches.

Cheers,
	Simon

Simon Wunderlich (1):
  nl80211: allow DFS in start_ap

Victor Goldenshtein (2):
  nl80211/cfg80211: add radar detection command/event
  mac80211: add radar detection command/event

 include/net/cfg80211.h       |   57 ++++++++++++++++++
 include/net/mac80211.h       |   18 +++++-
 include/uapi/linux/nl80211.h |   31 ++++++++++
 net/mac80211/cfg.c           |   43 +++++++++++++-
 net/mac80211/chan.c          |   31 ++++++++++
 net/mac80211/ieee80211_i.h   |   11 ++++
 net/mac80211/iface.c         |   12 ++++
 net/mac80211/mlme.c          |   32 +++++++++++
 net/mac80211/scan.c          |    3 +
 net/mac80211/trace.h         |   19 ++++++
 net/wireless/chan.c          |  130 +++++++++++++++++++++++++++++++++++++++++-
 net/wireless/core.c          |    3 +
 net/wireless/core.h          |    8 +++
 net/wireless/mlme.c          |  111 ++++++++++++++++++++++++++++++++++++
 net/wireless/nl80211.c       |  119 +++++++++++++++++++++++++++++++++++++-
 net/wireless/nl80211.h       |    7 +++
 net/wireless/reg.c           |    3 +
 net/wireless/trace.h         |   33 +++++++++++
 18 files changed, 665 insertions(+), 6 deletions(-)

-- 
1.7.10.4


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

end of thread, other threads:[~2013-02-13 14:47 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-29 12:21 [PATCHv7 0/3] Add DFS master ability Simon Wunderlich
2013-01-29 12:21 ` [PATCHv7 1/3] nl80211/cfg80211: add radar detection command/event Simon Wunderlich
2013-01-29 13:48   ` Zefir Kurtisi
2013-01-29 14:36     ` Simon Wunderlich
2013-01-30 11:51       ` Zefir Kurtisi
2013-01-30 16:25         ` Simon Wunderlich
2013-01-31  8:52           ` Zefir Kurtisi
2013-01-31 17:54             ` Simon Wunderlich
2013-02-01 10:08               ` Zefir Kurtisi
2013-02-13 14:47                 ` Simon Wunderlich
2013-01-31 14:25   ` Johannes Berg
2013-01-31 16:13     ` Simon Wunderlich
2013-01-31 16:46       ` Johannes Berg
2013-01-31 17:44         ` Simon Wunderlich
2013-02-01  9:40           ` Zefir Kurtisi
2013-02-01  9:54           ` Johannes Berg
2013-01-29 12:21 ` [PATCHv7 2/3] mac80211: " Simon Wunderlich
2013-01-29 13:26   ` Zefir Kurtisi
2013-01-29 14:43     ` Simon Wunderlich
2013-01-31 14:44   ` Johannes Berg
2013-01-31 16:31     ` Simon Wunderlich
2013-01-31 16:48       ` Johannes Berg
2013-01-31 17:47         ` Simon Wunderlich
2013-02-01  9:57           ` Johannes Berg
2013-02-02 22:15             ` Simon Wunderlich
2013-02-04 17:32               ` Johannes Berg
2013-02-05  8:44                 ` Simon Wunderlich
2013-02-05  9:35                   ` Johannes Berg
2013-02-05 10:03                     ` Simon Wunderlich
2013-01-29 12:22 ` [PATCHv7 3/3] nl80211: allow DFS in start_ap Simon Wunderlich
2013-01-29 13:14 ` [PATCHv7 0/3] Add DFS master ability Zefir Kurtisi
2013-01-29 14:52   ` Simon Wunderlich
2013-01-31 16:50 ` Johannes Berg
2013-01-31 17:21   ` Simon Wunderlich

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