summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/regd.h
diff options
context:
space:
mode:
authorMichal Kazior2016-09-28 14:11:57 +0200
committerKalle Valo2016-10-04 17:01:48 +0200
commitd291d8e0592ad5effaaa1af7de95dc9bfecc4f9e (patch)
tree79847271734e5687ad221ca6523c014cd6b99b98 /drivers/net/wireless/ath/regd.h
parentath10k: add cc_wraparound type for QCA9888 and QCA9884 (diff)
downloadkernel-qcow2-linux-d291d8e0592ad5effaaa1af7de95dc9bfecc4f9e.tar.gz
kernel-qcow2-linux-d291d8e0592ad5effaaa1af7de95dc9bfecc4f9e.tar.xz
kernel-qcow2-linux-d291d8e0592ad5effaaa1af7de95dc9bfecc4f9e.zip
ath: export alpha2 helper
This will be helpful for drivers that can acquire alpha2 regulatory codes. Signed-off-by: Michal Kazior <michal.kazior@tieto.com> Signed-off-by: Bartosz Markowski <bartosz.markowski@tieto.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/regd.h')
-rw-r--r--drivers/net/wireless/ath/regd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/regd.h b/drivers/net/wireless/ath/regd.h
index 565d3075f06e..5d80be213fac 100644
--- a/drivers/net/wireless/ath/regd.h
+++ b/drivers/net/wireless/ath/regd.h
@@ -251,6 +251,7 @@ enum CountryCode {
bool ath_is_world_regd(struct ath_regulatory *reg);
bool ath_is_49ghz_allowed(u16 redomain);
+u16 ath_regd_find_country_by_name(char *alpha2);
int ath_regd_init(struct ath_regulatory *reg, struct wiphy *wiphy,
void (*reg_notifier)(struct wiphy *wiphy,
struct regulatory_request *request));