nl80211: Add support to notify radar event info received from STA
authorSriram R <srirrama@codeaurora.org>
Tue, 4 Dec 2018 12:16:52 +0000 (17:46 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 18 Dec 2018 13:13:05 +0000 (14:13 +0100)
commit30c63115e20b70f89b7cfb66b35e2a0ef4b0ef07
tree360700ca3908bc0d56e51d1e526a9af0123e3110
parent344f8e00933da8c275fa293caadfc62680d46d21
nl80211: Add support to notify radar event info received from STA

Currently radar detection and corresponding channel switch is handled
at the AP device. STA ignores these detected radar events since the
radar signal can be seen mostly by the AP as well. But in scenarios where
a radar signal is seen only at STA, notifying this event to the AP which
can trigger a channel switch can be useful.
Stations can report such radar events autonomously through Spectrum
management (Measurement Report) action frame to its AP. The userspace on
processing the report can notify the kernel with the use of the added
NL80211_CMD_NOTIFY_RADAR to indicate the detected event and inturn adding
the reported channel to NOL.

Signed-off-by: Sriram R <srirrama@codeaurora.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/uapi/linux/nl80211.h
net/wireless/nl80211.c