]> git.baikalelectronics.ru Git - kernel.git/commit
nl80211/cfg80211: add radar detection command/event
authorSimon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de>
Fri, 8 Feb 2013 17:16:19 +0000 (18:16 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 15 Feb 2013 08:40:18 +0000 (09:40 +0100)
commitaf1b3ba310d40b5bc306b41c8ab7bf854336b3a2
tree883a946e25f18e27abad2ed487a4ed4c88ff349c
parentb645b2668468686ccac987971b241f8cd7163c28
nl80211/cfg80211: add radar detection command/event

Add new NL80211_CMD_RADAR_DETECT, which starts the Channel
Availability Check (CAC). This command will also notify the
usermode about events (CAC finished, CAC aborted, radar
detected, NOP finished).
Once radar detection has started it should continuously
monitor for radars as long as the channel is active.

This patch enables DFS for AP mode in nl80211/cfg80211.

Based on original patch by Victor Goldenshtein <victorg@ti.com>

Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
[remove WIPHY_FLAG_HAS_RADAR_DETECT again -- my mistake]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
include/uapi/linux/nl80211.h
net/wireless/chan.c
net/wireless/core.c
net/wireless/core.h
net/wireless/mlme.c
net/wireless/nl80211.c
net/wireless/nl80211.h
net/wireless/reg.c
net/wireless/scan.c
net/wireless/trace.h