aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/wireless.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/wireless.h')
-rw-r--r--include/net/wireless.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/net/wireless.h b/include/net/wireless.h
index 412351560b76..c85fa0ea5c51 100644
--- a/include/net/wireless.h
+++ b/include/net/wireless.h
@@ -373,4 +373,19 @@ ieee80211_get_response_rate(struct ieee80211_supported_band *sband,
373 * for a regulatory domain structure for the respective country. 373 * for a regulatory domain structure for the respective country.
374 */ 374 */
375extern void regulatory_hint(struct wiphy *wiphy, const char *alpha2); 375extern void regulatory_hint(struct wiphy *wiphy, const char *alpha2);
376
377/**
378 * regulatory_hint_11d - hints a country IE as a regulatory domain
379 * @wiphy: the wireless device giving the hint (used only for reporting
380 * conflicts)
381 * @country_ie: pointer to the country IE
382 * @country_ie_len: length of the country IE
383 *
384 * We will intersect the rd with the what CRDA tells us should apply
385 * for the alpha2 this country IE belongs to, this prevents APs from
386 * sending us incorrect or outdated information against a country.
387 */
388extern void regulatory_hint_11d(struct wiphy *wiphy,
389 u8 *country_ie,
390 u8 country_ie_len);
376#endif /* __NET_WIRELESS_H */ 391#endif /* __NET_WIRELESS_H */