diff options
Diffstat (limited to 'net/wireless/reg.h')
-rw-r--r-- | net/wireless/reg.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/net/wireless/reg.h b/net/wireless/reg.h index 4b45d6e61d24..a2c4e16459da 100644 --- a/net/wireless/reg.h +++ b/net/wireless/reg.h | |||
@@ -25,7 +25,20 @@ enum nl80211_dfs_regions reg_get_dfs_region(struct wiphy *wiphy); | |||
25 | 25 | ||
26 | int regulatory_hint_user(const char *alpha2, | 26 | int regulatory_hint_user(const char *alpha2, |
27 | enum nl80211_user_reg_hint_type user_reg_hint_type); | 27 | enum nl80211_user_reg_hint_type user_reg_hint_type); |
28 | int regulatory_hint_indoor_user(void); | 28 | |
29 | /** | ||
30 | * regulatory_hint_indoor - hint operation in indoor env. or not | ||
31 | * @is_indoor: if true indicates that user space thinks that the | ||
32 | * device is operating in an indoor environment. | ||
33 | * @portid: the netlink port ID on which the hint was given. | ||
34 | */ | ||
35 | int regulatory_hint_indoor(bool is_indoor, u32 portid); | ||
36 | |||
37 | /** | ||
38 | * regulatory_netlink_notify - notify on released netlink socket | ||
39 | * @portid: the netlink socket port ID | ||
40 | */ | ||
41 | void regulatory_netlink_notify(u32 portid); | ||
29 | 42 | ||
30 | void wiphy_regulatory_register(struct wiphy *wiphy); | 43 | void wiphy_regulatory_register(struct wiphy *wiphy); |
31 | void wiphy_regulatory_deregister(struct wiphy *wiphy); | 44 | void wiphy_regulatory_deregister(struct wiphy *wiphy); |