summaryrefslogtreecommitdiff
path: root/net/wireless/reg.h
diff options
context:
space:
mode:
authorIlan Peer <ilan.peer@intel.com>2014-02-23 09:13:03 +0200
committerJohannes Berg <johannes.berg@intel.com>2014-04-09 10:55:37 +0200
commitc8866e55a94fb02b83b13f289e5e470fc928703a (patch)
treeac49e6b637f9b24dab338b3067f1aaf6fc2ce0e1 /net/wireless/reg.h
parent52616f2b446eaad8eb2cd78bbd052f0066069757 (diff)
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.h5
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 */