All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHv10 0/2] Add DFS master ability
@ 2013-02-08 17:16 Simon Wunderlich
  2013-02-08 17:16 ` [PATCHv10 1/2] nl80211/cfg80211: add radar detection command/event Simon Wunderlich
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Simon Wunderlich @ 2013-02-08 17:16 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 10 of the DFS master ability, based on Victor
Goldenshteins original work. See changelog in the various patches for
details. The main changes to v9 are:

 * based on Johannes patch "mac80211: explicitly copy channels to VLANs where needed",
   dropped my patch "mac80211: lock AP_VLAN list with iflist_mtx" in favor of
   this solution.
 * abort CAC when going in suspend
 * add and check wiphy flag for radar detect
 * disallow radar detect for channel context drivers (no support yet)
 * rebased on latest master, of course

As always, thanks a lot to Johannes for review and support. 
I've verified the implementation (again) with ath9k a patched hostapd (patches
to be released later).

iw patches for interface combinations and DFS state handling are attached as well.

One open issue (still) remains: On my system, DFS channels are flagged with NO_IBSS and
DISABLED, this is due to my country code setting to 00. I can manually circumvent
that, but should we find a proper solution for this? This regulatory intersection
gives me quite a bit of a headache ...

Simon Wunderlich (2):
  nl80211/cfg80211: add radar detection command/event
  mac80211: add radar detection command/event

 include/net/cfg80211.h       |   48 ++++++++++++++
 include/net/mac80211.h       |   14 +++++
 include/uapi/linux/nl80211.h |   61 ++++++++++++++++++
 net/mac80211/cfg.c           |   40 +++++++++++-
 net/mac80211/chan.c          |   33 ++++++++++
 net/mac80211/ieee80211_i.h   |   14 +++++
 net/mac80211/iface.c         |   12 ++++
 net/mac80211/main.c          |    7 +++
 net/mac80211/mlme.c          |   59 ++++++++++++++++++
 net/mac80211/pm.c            |    2 +
 net/mac80211/scan.c          |    3 +
 net/mac80211/trace.h         |   19 ++++++
 net/wireless/chan.c          |  129 +++++++++++++++++++++++++++++++++++++-
 net/wireless/core.c          |    3 +
 net/wireless/core.h          |   28 +++++++++
 net/wireless/mlme.c          |  121 ++++++++++++++++++++++++++++++++++++
 net/wireless/nl80211.c       |  141 ++++++++++++++++++++++++++++++++++++++++--
 net/wireless/nl80211.h       |    7 +++
 net/wireless/reg.c           |    3 +
 net/wireless/scan.c          |   10 ---
 net/wireless/trace.h         |   47 ++++++++++++++
 21 files changed, 783 insertions(+), 18 deletions(-)

-- 
1.7.10.4


^ permalink raw reply	[flat|nested] 9+ messages in thread
* [PATCHv9 0/3] Add DFS master ability
@ 2013-02-07 18:38 Simon Wunderlich
  2013-02-07 18:38 ` [PATCH 2/2] iw: print DFS states for channels if available Simon Wunderlich
  0 siblings, 1 reply; 9+ messages in thread
From: Simon Wunderlich @ 2013-02-07 18:38 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 9 of the DFS master ability, based on Victor
Goldenshteins original work. See changelog in the various patches for
details. The main changes to v8 are:

 * checked and fixed locking - note the new patch 1 changing the locking
   for use/release_channel to remove rtnl dependency
 * report radar detected and NOP only once
 * fix gfp usage
 * merge "nl80211: allow DFS in start_ap" in the main nl80211 patch
 * various style changes
 * rebased on latest master, of course

As always, thanks a lot to Johannes for review and support. 
I've verified the implementation (again) with ath9k a patched hostapd (patches
to be released later). This time also lock verified (I used a tainted kernel
before, so locking was disabled ...).

iw patches for interface combinations and DFS state handling are attached as well.

One open issue (still) remains: On my system, DFS channels are flagged with NO_IBSS and
DISABLED, this is due to my country code setting to 00. I can manually circumvent
that, but should we find a proper solution for this? This regularity intersection
gives me quite a bit of a headache ...

Simon Wunderlich (3):
  mac80211: lock AP_VLAN list with iflist_mtx
  nl80211/cfg80211: add radar detection command/event
  mac80211: add radar detection command/event

 include/net/cfg80211.h       |   46 ++++++++++++++
 include/net/mac80211.h       |   14 +++++
 include/uapi/linux/nl80211.h |   61 +++++++++++++++++++
 net/mac80211/cfg.c           |   51 +++++++++++++++-
 net/mac80211/chan.c          |   37 +++++++++++-
 net/mac80211/ieee80211_i.h   |   15 +++++
 net/mac80211/iface.c         |   23 ++++++-
 net/mac80211/main.c          |    3 +
 net/mac80211/mlme.c          |   56 ++++++++++++++++++
 net/mac80211/scan.c          |    3 +
 net/mac80211/trace.h         |   19 ++++++
 net/wireless/chan.c          |  129 +++++++++++++++++++++++++++++++++++++++-
 net/wireless/core.c          |    3 +
 net/wireless/core.h          |   28 +++++++++
 net/wireless/mlme.c          |  121 +++++++++++++++++++++++++++++++++++++
 net/wireless/nl80211.c       |  135 ++++++++++++++++++++++++++++++++++++++++--
 net/wireless/nl80211.h       |    7 +++
 net/wireless/reg.c           |    3 +
 net/wireless/scan.c          |   10 ----
 net/wireless/trace.h         |   47 +++++++++++++++
 20 files changed, 790 insertions(+), 21 deletions(-)

-- 
1.7.10.4


^ permalink raw reply	[flat|nested] 9+ messages in thread
* [PATCHv8 0/3] Add DFS master ability
@ 2013-02-04 12:49 Simon Wunderlich
  2013-02-04 12:50 ` [PATCH 2/2] iw: print DFS states for channels if available Simon Wunderlich
  0 siblings, 1 reply; 9+ messages in thread
From: Simon Wunderlich @ 2013-02-04 12:49 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 8 of the DFS master ability, based on Victor
Goldenshteins original work. See changelog in the various patches for
details. The main changes to v7 are:

 * export channel state to userspace
 * add event when NOP is over
 * use wdev->channel instead of wdev->preset_chandef.chan for CAC
 * remove NL80211_FEATURE_DFS
 * many small fixes
 * claim authorship for patches (but leave note for victors original patches
   - please mail me if you find this inappropriate)
 * rebased on latest master, of course

As always, thanks a lot to Johannes and Zefir for review and support. 
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. 

iw patches for interface combinations and DFS state handling are attached as well.

One open issue remains: On my system, DFS channels are flagged with NO_IBSS and
DISABLED, this is due to my country code setting to 00. I can manually circumvent
that, but should we find a proper solution for this? This regularity intersection
gives me quite a bit of a headache ...

Simon Wunderlich (3):
  nl80211/cfg80211: add radar detection command/event
  mac80211: add radar detection command/event
  nl80211: allow DFS in start_ap

 include/net/cfg80211.h       |   46 +++++++++++++++
 include/net/mac80211.h       |   16 ++++++
 include/uapi/linux/nl80211.h |   58 +++++++++++++++++++
 net/mac80211/cfg.c           |   36 +++++++++++-
 net/mac80211/chan.c          |   33 +++++++++++
 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          |  129 ++++++++++++++++++++++++++++++++++++++++-
 net/wireless/core.c          |    3 +
 net/wireless/core.h          |   18 ++++++
 net/wireless/mlme.c          |  127 +++++++++++++++++++++++++++++++++++++++++
 net/wireless/nl80211.c       |  130 ++++++++++++++++++++++++++++++++++++++++--
 net/wireless/nl80211.h       |    7 +++
 net/wireless/reg.c           |    3 +
 net/wireless/scan.c          |   10 ----
 net/wireless/trace.h         |   33 +++++++++++
 19 files changed, 708 insertions(+), 18 deletions(-)

-- 
1.7.10.4


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

end of thread, other threads:[~2013-02-18 22:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-08 17:16 [PATCHv10 0/2] Add DFS master ability Simon Wunderlich
2013-02-08 17:16 ` [PATCHv10 1/2] nl80211/cfg80211: add radar detection command/event Simon Wunderlich
2013-02-18 22:42   ` Johannes Berg
2013-02-08 17:16 ` [PATCHv10 2/2] mac80211: " Simon Wunderlich
2013-02-13 14:04   ` Johannes Berg
2013-02-08 17:16 ` [PATCH 1/2] iw: add radar detect widths to phy info Simon Wunderlich
2013-02-08 17:16 ` [PATCH 2/2] iw: print DFS states for channels if available Simon Wunderlich
  -- strict thread matches above, loose matches on Subject: below --
2013-02-07 18:38 [PATCHv9 0/3] Add DFS master ability Simon Wunderlich
2013-02-07 18:38 ` [PATCH 2/2] iw: print DFS states for channels if available Simon Wunderlich
2013-02-04 12:49 [PATCHv8 0/3] Add DFS master ability Simon Wunderlich
2013-02-04 12:50 ` [PATCH 2/2] iw: print DFS states for channels if available Simon Wunderlich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.