aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless/reg.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/wireless/reg.h')
-rw-r--r--net/wireless/reg.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/net/wireless/reg.h b/net/wireless/reg.h
index 4e167a8e11be..3362c7c069b2 100644
--- a/net/wireless/reg.h
+++ b/net/wireless/reg.h
@@ -37,4 +37,19 @@ int regulatory_hint_found_beacon(struct wiphy *wiphy,
37 struct ieee80211_channel *beacon_chan, 37 struct ieee80211_channel *beacon_chan,
38 gfp_t gfp); 38 gfp_t gfp);
39 39
40/**
41 * regulatory_hint_11d - hints a country IE as a regulatory domain
42 * @wiphy: the wireless device giving the hint (used only for reporting
43 * conflicts)
44 * @country_ie: pointer to the country IE
45 * @country_ie_len: length of the country IE
46 *
47 * We will intersect the rd with the what CRDA tells us should apply
48 * for the alpha2 this country IE belongs to, this prevents APs from
49 * sending us incorrect or outdated information against a country.
50 */
51void regulatory_hint_11d(struct wiphy *wiphy,
52 u8 *country_ie,
53 u8 country_ie_len);
54
40#endif /* __NET_WIRELESS_REG_H */ 55#endif /* __NET_WIRELESS_REG_H */