diff options
author | Luis R. Rodriguez <mcgrof@do-not-panic.com> | 2013-11-25 20:56:09 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-12-03 13:53:40 +0100 |
commit | 6c474799dccc91c9cf03cd18ec32f97929549e9f (patch) | |
tree | e8240359cfbfca72162d9f0332fd64e9b5502300 /net/wireless/reg.h | |
parent | 60f4a7b1676c9028edb90e22f6994ebb698c9088 (diff) | |
download | linux-6c474799dccc91c9cf03cd18ec32f97929549e9f.tar.bz2 |
cfg80211: add reg_get_dfs_region()
This can be used outside of the regulatory context for any checks
on the DFS region. The central cfg80211 dfs_region is always used
and if it does not match with the wiphy a debug print is issued.
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/reg.h')
-rw-r--r-- | net/wireless/reg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/wireless/reg.h b/net/wireless/reg.h index cc4c2c0a6723..02bd8f4b0921 100644 --- a/net/wireless/reg.h +++ b/net/wireless/reg.h @@ -21,6 +21,7 @@ extern const struct ieee80211_regdomain __rcu *cfg80211_regdomain; bool reg_is_valid_request(const char *alpha2); bool is_world_regdom(const char *alpha2); bool reg_supported_dfs_region(enum nl80211_dfs_regions dfs_region); +enum nl80211_dfs_regions reg_get_dfs_region(struct wiphy *wiphy); int regulatory_hint_user(const char *alpha2, enum nl80211_user_reg_hint_type user_reg_hint_type); |