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>
This commit is contained in:
Ilan Peer
2014-02-23 09:13:03 +02:00
committed by Johannes Berg
parent 52616f2b44
commit c8866e55a9
3 changed files with 20 additions and 2 deletions

View File

@@ -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 */