aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-05-05 05:48:40 -0400
committerJohannes Berg <johannes.berg@intel.com>2014-05-13 09:50:06 -0400
commit8c48b50a1a888ac5511fe856d63f72fb688c6bb4 (patch)
tree34e897f3799273001f9e546f5bf356c43b6fbdca /include/net
parentf6837ba8c98afcf28ec25f6863a8597274aeefd6 (diff)
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>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/cfg80211.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 5c7169b0ac57..e3a48b0a2b3b 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -2638,6 +2638,7 @@ struct ieee80211_iface_limit {
2638 * between infrastructure and AP types must match. This is required 2638 * between infrastructure and AP types must match. This is required
2639 * only in special cases. 2639 * only in special cases.
2640 * @radar_detect_widths: bitmap of channel widths supported for radar detection 2640 * @radar_detect_widths: bitmap of channel widths supported for radar detection
2641 * @radar_detect_regions: bitmap of regions supported for radar detection
2641 * 2642 *
2642 * With this structure the driver can describe which interface 2643 * With this structure the driver can describe which interface
2643 * combinations it supports concurrently. 2644 * combinations it supports concurrently.
@@ -2695,6 +2696,7 @@ struct ieee80211_iface_combination {
2695 u8 n_limits; 2696 u8 n_limits;
2696 bool beacon_int_infra_match; 2697 bool beacon_int_infra_match;
2697 u8 radar_detect_widths; 2698 u8 radar_detect_widths;
2699 u8 radar_detect_regions;
2698}; 2700};
2699 2701
2700struct ieee80211_txrx_stypes { 2702struct ieee80211_txrx_stypes {