OSDN Git Service

cfg80211/nl80211: add DFS offload flag
authorDmitry Lebed <dlebed@quantenna.com>
Thu, 1 Mar 2018 09:39:15 +0000 (12:39 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 21 Mar 2018 10:29:59 +0000 (11:29 +0100)
commit13cf6dec93e021ebd297619ea1926aea31b6430b
tree96832c1cc17a547c92b9058a303f6bfe95caadbe
parent2cb021f5de55b1d158fa18b0215a4613c3289a82
cfg80211/nl80211: add DFS offload flag

Add wiphy EXT_FEATURE flag to indicate that HW or driver does
all DFS actions by itself.
User-space functionality already implemented in hostapd using
vendor-specific (QCA) OUI to advertise DFS offload support.
Need to introduce generic flag to inform about DFS offload support.
For devices with DFS_OFFLOAD flag set user-space will no longer
need to issue CAC or do any actions in response to
"radar detected" events. HW will do everything by itself and send
events to user-space to indicate that CAC was started/finished, etc.

Signed-off-by: Dmitrii Lebed <dlebed@quantenna.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/uapi/linux/nl80211.h
net/wireless/nl80211.c