diff options
author | Ilan Peer <ilan.peer@intel.com> | 2014-02-23 11:13:03 +0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-04-09 12:55:37 +0400 |
commit | c8866e55a94fb02b83b13f289e5e470fc928703a (patch) | |
tree | ac49e6b637f9b24dab338b3067f1aaf6fc2ce0e1 /net/wireless/reg.h | |
parent | 52616f2b446eaad8eb2cd78bbd052f0066069757 (diff) | |
download | linux-c8866e55a94fb02b83b13f289e5e470fc928703a.tar.xz |
cfg80211: Enable GO operation on indoor channels
Allow GO operation on a channel marked with IEEE80211_CHAN_INDOOR_ONLY
iff there is a user hint indicating that the platform is operating in
an indoor environment, i.e., the platform is a printer or media center
device.
Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/reg.h')
-rw-r--r-- | net/wireless/reg.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/wireless/reg.h b/net/wireless/reg.h index 2a3842828f6d..5e48031ccb9a 100644 --- a/net/wireless/reg.h +++ b/net/wireless/reg.h @@ -117,4 +117,9 @@ void regulatory_hint_disconnect(void); */ int cfg80211_get_unii(int freq); +/** + * regulatory_indoor_allowed - is indoor operation allowed + */ +bool regulatory_indoor_allowed(void); + #endif /* __NET_WIRELESS_REG_H */ |