Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCHv2 0/3] add IBSS-DFS support
@ 2013-10-07 16:41 Simon Wunderlich
  2013-10-07 16:41 ` [PATCHv2 1/3] nl80211/cfg80211: enable DFS for IBSS mode Simon Wunderlich
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Simon Wunderlich @ 2013-10-07 16:41 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.

Changes to the previous patchset:
 * describe userspace requirements better in doc and commit message 
   (suggested by Johannes)
 * change variable/attribute names
 * first patch has already been merged, dropped from this patchset
 * safeguard as suggested by Johannes (to protect from crashed/hanging
   userspace) has NOT yet been implemented. I'll probably send a patch for
   this later, as this might be useful for AP mode as well.

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 (3):
  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          |    9 ++++++
 net/mac80211/ibss.c                   |   49 +++++++++++++++++++++++++++++----
 net/mac80211/ieee80211_i.h            |    1 +
 net/wireless/chan.c                   |    3 +-
 net/wireless/ibss.c                   |   24 +++++++++++++---
 net/wireless/nl80211.c                |    8 ++++--
 net/wireless/util.c                   |   11 ++++++--
 9 files changed, 99 insertions(+), 15 deletions(-)

-- 
1.7.10.4


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

end of thread, other threads:[~2013-10-09  8:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-07 16:41 [PATCHv2 0/3] add IBSS-DFS support Simon Wunderlich
2013-10-07 16:41 ` [PATCHv2 1/3] nl80211/cfg80211: enable DFS for IBSS mode Simon Wunderlich
2013-10-09  7:48   ` Johannes Berg
2013-10-07 16:41 ` [PATCHv2 2/3] mac80211: " Simon Wunderlich
2013-10-09  8:03   ` Johannes Berg
2013-10-07 16:41 ` [PATCHv2 3/3] 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