Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH 0/4] add IBSS-DFS support
@ 2013-09-03 17:43 Simon Wunderlich
  2013-09-03 17:43 ` [PATCH 1/4] nl80211: allow CAC only if no operation is going on Simon Wunderlich
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Simon Wunderlich @ 2013-09-03 17:43 UTC (permalink / raw)
  To: linux-wireless; +Cc: Johannes Berg, Mathias Kretschmer, Simon Wunderlich

This patchset adds DFS support for the IBSS mode. It builds on top of
the previously sent AP DFS mode and channel switch announcement support.

The implementation differs from the DFS support as described in IEEE 802.11.
It does not implement the DFS owner service or uses IBSS DFS elements as
described in IEEE 802.11-2012 10.9.8.3. The DFS owner service has various
shortcomings:

 * it requires synchronization to find one central IBSS owner
 * citation: "The potential for hidden nodes within an IBSS means that the
   IBSS channel switch protocol is best effort."
 * the mechanism does not provide any way to handle big adhoc cells like
   mesh networks (which is a major target).

Therefore, a stripped down approach is implemented:

 * userspace must announce that it wants support for DFS and will handle
   events using a flag for the ibss_join command.
 * if a radar is detected, inform userspace. Userspace should then select
   a channel (e.g. decide on it with the peers on higher level protocols
   before, or wait a random backoff time) and start a channel switch process.
 * if a channel switch announcement from another peeris received, adopt it
   and re-transmit it (this has been implemented in the IBSS-CSA patchset
   before)
 * channel switch announcements on DFS channels are interpreted as
   radar signals and will mark the channel as unusable.

As always, any comments are appreciated.

Cheers,
        Simon

Simon Wunderlich (4):
  nl80211: allow CAC only if no operation is going on
  nl80211/cfg80211: enable DFS for IBSS mode
  mac80211: enable DFS for IBSS mode
  ath9k: enable DFS for IBSS mode

 drivers/net/wireless/ath/ath9k/init.c |    3 +-
 include/net/cfg80211.h                |    6 ++++
 include/uapi/linux/nl80211.h          |    7 +++++
 net/mac80211/ibss.c                   |   50 +++++++++++++++++++++++++++++----
 net/mac80211/ieee80211_i.h            |    1 +
 net/wireless/chan.c                   |    3 +-
 net/wireless/ibss.c                   |   24 +++++++++++++---
 net/wireless/nl80211.c                |   11 ++++++--
 net/wireless/util.c                   |   11 ++++++--
 9 files changed, 101 insertions(+), 15 deletions(-)

-- 
1.7.10.4


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

end of thread, other threads:[~2013-10-02 16:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-03 17:43 [PATCH 0/4] add IBSS-DFS support Simon Wunderlich
2013-09-03 17:43 ` [PATCH 1/4] nl80211: allow CAC only if no operation is going on Simon Wunderlich
2013-10-01 11:06   ` Johannes Berg
2013-09-03 17:43 ` [PATCH 2/4] nl80211/cfg80211: enable DFS for IBSS mode Simon Wunderlich
2013-10-01 11:09   ` Johannes Berg
2013-10-02 12:40     ` Simon Wunderlich
2013-10-02 16:07       ` Johannes Berg
2013-09-03 17:43 ` [PATCH 3/4] mac80211: " Simon Wunderlich
2013-09-03 17:43 ` [PATCH 4/4] ath9k: " Simon Wunderlich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox