linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC 0/9] nl/cfg/mac80211: add DFS master ability
@ 2012-01-26 12:37 Victor Goldenshtein
  2012-01-26 12:37 ` [RFC 1/9] nl80211/cfg80211: add radar detection command/event Victor Goldenshtein
                   ` (8 more replies)
  0 siblings, 9 replies; 54+ messages in thread
From: Victor Goldenshtein @ 2012-01-26 12:37 UTC (permalink / raw)
  To: linux-wireless
  Cc: kgiori, mcgrof, zefir.kurtisi, adrian.chadd, j, johannes, coelho,
	assaf, yoni.divinsky, igalc, adrian, nbd

This patch set (with hostap patch series) adds support for DFS (Dynamic Frequency Selection) according 802.11h.


Main idea
===================

DFS master algorithm is implemented in the hostapd, while nl/cfg/mac80211 will pipe relevant commands/events to the driver/hostapd.

Based on the assumption that the device/driver supports radar interference detection i.e., it is capable to generate radar_detected event by using different pattern detection techniques:


1. Pattern detection in the HW: the device generates 'radar_detected' event.
2. Pattern detection in the driver: the driver receives radar pulses from the device and generates 'radar detected' event.


Main DFS procedures
===================

1. Hostapd gets driver's dfs capabilities.

2. If 80211h is enabled in the hostapd.conf and the driver supports one of the above radar detection techniques, hostapd may use DFS channels.

3. Hostapd selects an operational channel (default from hostapd.conf), if selected channel is a DFS channel, hostapd sends start_radar_detection command to the device/driver which starts monitoring for radar interference while hostapd sets a timer for a CAC (Channel Availability Check) time, which is 60 seconds.

4. As CAC timer expires and no radar has been detected, hostapd may continue with the init flow, otherwise if interference is detected hostapd selects another channel (random selection) and repeats the CAC on the new channel (in case the new channel is also a DFS channel), while the original channel is added to a "black list" for a period of ''No-Occupancy'' time (time that the channel can't be used/selected).

5. While using the channel the device/driver continuously monitors for potential radar interference. If interference is detected hostapd notified with 'radar detected' event, which selects a new channel and triggers a channel switch procedure, if the new channel is also a DFS channel, hostapd performs the CAC test, once it's successfully passed hostapd instructs the driver to initiate the transmission on the channel.



Victor Goldenshtein (9):
  nl80211/cfg80211: add radar detection command/event
  mac80211: add radar detection command/event
  nl80211/cfg80211: add ability to enable TX on op-channel
  mac80211: add ability to enable TX on op-channel
  nl80211/cfg80211: add ap channel switch command/event
  mac80211: add ap channel switch command/event
  nl80211/cfg80211: add DFS feature flag
  mac80211: add DFS capabilities flag
  mac80211: add DFS support to monitor interface

 include/linux/nl80211.h     |   39 ++++++++++
 include/net/cfg80211.h      |   38 +++++++++
 include/net/mac80211.h      |   33 ++++++++
 net/mac80211/cfg.c          |   67 ++++++++++++++++
 net/mac80211/driver-ops.h   |   24 ++++++
 net/mac80211/driver-trace.h |   12 +++
 net/mac80211/main.c         |    3 +
 net/mac80211/mlme.c         |   18 +++++
 net/mac80211/tx.c           |   15 ++--
 net/wireless/mlme.c         |   21 +++++
 net/wireless/nl80211.c      |  178 ++++++++++++++++++++++++++++++++++++++++++-
 net/wireless/nl80211.h      |   10 +++
 12 files changed, 450 insertions(+), 8 deletions(-)

-- 
1.7.5.4


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

end of thread, other threads:[~2012-03-15 21:05 UTC | newest]

Thread overview: 54+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-26 12:37 [RFC 0/9] nl/cfg/mac80211: add DFS master ability Victor Goldenshtein
2012-01-26 12:37 ` [RFC 1/9] nl80211/cfg80211: add radar detection command/event Victor Goldenshtein
2012-01-31  5:39   ` Johannes Berg
2012-02-02 16:06     ` Goldenshtein, Victor
2012-02-09 22:02       ` Luis R. Rodriguez
2012-02-15 16:45         ` Goldenshtein, Victor
2012-01-26 12:37 ` [RFC 2/9] mac80211: " Victor Goldenshtein
2012-01-31  5:42   ` Johannes Berg
2012-02-02 16:06     ` Goldenshtein, Victor
2012-01-26 12:37 ` [RFC 3/9] nl80211/cfg80211: add ability to enable TX on op-channel Victor Goldenshtein
2012-01-31  5:43   ` Johannes Berg
2012-02-02 16:06     ` Goldenshtein, Victor
     [not found]       ` <4F2B18AA.90809@neratec.com>
2012-02-06 11:16         ` zefir.kurtisi
2012-02-06 13:01           ` Goldenshtein, Victor
2012-02-06 14:48             ` Zefir Kurtisi
2012-02-06 15:34               ` Goldenshtein, Victor
2012-02-06 21:01       ` Johannes Berg
2012-02-09 21:04         ` Goldenshtein, Victor
2012-02-09 22:34           ` Luis R. Rodriguez
2012-02-15 16:45             ` Goldenshtein, Victor
2012-03-15  9:37               ` Goldenshtein, Victor
2012-03-15 21:04                 ` Coelho, Luciano
2012-01-26 12:37 ` [RFC 4/9] mac80211: " Victor Goldenshtein
2012-01-31  5:45   ` Johannes Berg
2012-02-02 16:06     ` Goldenshtein, Victor
2012-02-09 22:36       ` Luis R. Rodriguez
2012-02-15 16:45         ` Goldenshtein, Victor
2012-01-26 12:38 ` [RFC 5/9] nl80211/cfg80211: add ap channel switch command/event Victor Goldenshtein
2012-01-31  5:46   ` Johannes Berg
2012-02-02 16:07     ` Goldenshtein, Victor
2012-02-09 22:53   ` Luis R. Rodriguez
2012-02-15 16:46     ` Goldenshtein, Victor
2012-01-26 12:38 ` [RFC 6/9] mac80211: " Victor Goldenshtein
2012-01-31  5:51   ` Johannes Berg
2012-02-02 16:07     ` Goldenshtein, Victor
2012-02-06 21:03       ` Johannes Berg
2012-02-09 20:02         ` Goldenshtein, Victor
2012-02-09 23:04           ` Luis R. Rodriguez
2012-02-15 16:46             ` Goldenshtein, Victor
2012-02-09 23:06   ` Luis R. Rodriguez
2012-02-15 16:46     ` Goldenshtein, Victor
2012-01-26 12:38 ` [RFC 7/9] nl80211/cfg80211: add DFS feature flag Victor Goldenshtein
2012-01-31  5:52   ` Johannes Berg
2012-02-02 16:08     ` Goldenshtein, Victor
2012-02-09 23:11       ` Luis R. Rodriguez
2012-02-13 10:28         ` Johannes Berg
2012-02-15 17:01           ` Goldenshtein, Victor
2012-02-15 16:46         ` Goldenshtein, Victor
2012-01-26 12:38 ` [RFC 8/9] mac80211: add DFS capabilities flag Victor Goldenshtein
2012-01-31  5:52   ` Johannes Berg
2012-02-02 16:08     ` Goldenshtein, Victor
2012-01-26 12:38 ` [RFC 9/9] mac80211: add DFS support to monitor interface Victor Goldenshtein
2012-01-26 14:10   ` Christian Lamparter
2012-01-26 15:50     ` Goldenshtein, Victor

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