cfg80211: allow restricting supported dfs regions
authorFelix Fietkau <nbd@openwrt.org>
Mon, 5 May 2014 09:48:40 +0000 (11:48 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 13 May 2014 13:50:06 +0000 (15:50 +0200)
commit8c48b50a1a888ac5511fe856d63f72fb688c6bb4
tree34e897f3799273001f9e546f5bf356c43b6fbdca
parentf6837ba8c98afcf28ec25f6863a8597274aeefd6
cfg80211: allow restricting supported dfs regions

At the moment, the ath9k/ath10k DFS module only supports detecting ETSI
radar patterns.
Add a bitmap in the interface combinations, indicating which DFS regions
are supported by the detector. If unset, support for all regions is
assumed.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
include/uapi/linux/nl80211.h
net/wireless/nl80211.c
net/wireless/util.c