1 --- a/drivers/net/wireless/ath/regd.c
2 +++ b/drivers/net/wireless/ath/regd.c
4 #include <net/cfg80211.h>
5 #include <net/mac80211.h>
10 #include "regd_common.h"
13 @@ -588,3 +591,5 @@ u32 ath_regd_get_band_ctl(struct ath_reg
16 EXPORT_SYMBOL(ath_regd_get_band_ctl);
19 --- a/drivers/net/wireless/ath/regd.h
20 +++ b/drivers/net/wireless/ath/regd.h
21 @@ -242,6 +242,41 @@ enum CountryCode {
28 +ath_is_world_regd(struct ath_regulatory *reg)
34 +ath_regd_init(struct ath_regulatory *reg, struct wiphy *wiphy,
35 + int (*reg_notifier)(struct wiphy *wiphy,
36 + struct regulatory_request *request))
43 +ath_regd_get_band_ctl(struct ath_regulatory *reg,
44 + enum ieee80211_band band)
50 +ath_reg_notifier_apply(struct wiphy *wiphy,
51 + struct regulatory_request *request,
52 + struct ath_regulatory *reg)
60 bool ath_is_world_regd(struct ath_regulatory *reg);
61 int ath_regd_init(struct ath_regulatory *reg, struct wiphy *wiphy,
62 int (*reg_notifier)(struct wiphy *wiphy,
63 @@ -253,3 +288,5 @@ int ath_reg_notifier_apply(struct wiphy
64 struct ath_regulatory *reg);