diff options
| author | Felix Fietkau <nbd@openwrt.org> | 2014-05-05 05:48:40 -0400 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2014-05-13 09:50:06 -0400 |
| commit | 8c48b50a1a888ac5511fe856d63f72fb688c6bb4 (patch) | |
| tree | 34e897f3799273001f9e546f5bf356c43b6fbdca /include/uapi | |
| parent | f6837ba8c98afcf28ec25f6863a8597274aeefd6 (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/uapi')
| -rw-r--r-- | include/uapi/linux/nl80211.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h index 406010d4def0..b65095a85dee 100644 --- a/include/uapi/linux/nl80211.h +++ b/include/uapi/linux/nl80211.h | |||
| @@ -3688,6 +3688,8 @@ enum nl80211_iface_limit_attrs { | |||
| 3688 | * different channels may be used within this group. | 3688 | * different channels may be used within this group. |
| 3689 | * @NL80211_IFACE_COMB_RADAR_DETECT_WIDTHS: u32 attribute containing the bitmap | 3689 | * @NL80211_IFACE_COMB_RADAR_DETECT_WIDTHS: u32 attribute containing the bitmap |
| 3690 | * of supported channel widths for radar detection. | 3690 | * of supported channel widths for radar detection. |
| 3691 | * @NL80211_IFACE_COMB_RADAR_DETECT_REGIONS: u32 attribute containing the bitmap | ||
| 3692 | * of supported regulatory regions for radar detection. | ||
| 3691 | * @NUM_NL80211_IFACE_COMB: number of attributes | 3693 | * @NUM_NL80211_IFACE_COMB: number of attributes |
| 3692 | * @MAX_NL80211_IFACE_COMB: highest attribute number | 3694 | * @MAX_NL80211_IFACE_COMB: highest attribute number |
| 3693 | * | 3695 | * |
| @@ -3721,6 +3723,7 @@ enum nl80211_if_combination_attrs { | |||
| 3721 | NL80211_IFACE_COMB_STA_AP_BI_MATCH, | 3723 | NL80211_IFACE_COMB_STA_AP_BI_MATCH, |
| 3722 | NL80211_IFACE_COMB_NUM_CHANNELS, | 3724 | NL80211_IFACE_COMB_NUM_CHANNELS, |
| 3723 | NL80211_IFACE_COMB_RADAR_DETECT_WIDTHS, | 3725 | NL80211_IFACE_COMB_RADAR_DETECT_WIDTHS, |
| 3726 | NL80211_IFACE_COMB_RADAR_DETECT_REGIONS, | ||
| 3724 | 3727 | ||
| 3725 | /* keep last */ | 3728 | /* keep last */ |
| 3726 | NUM_NL80211_IFACE_COMB, | 3729 | NUM_NL80211_IFACE_COMB, |
