aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath9k/regd.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath9k/regd.h')
-rw-r--r--drivers/net/wireless/ath9k/regd.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath9k/regd.h b/drivers/net/wireless/ath9k/regd.h
index ba2d2dfb0d1f..d1c4457de436 100644
--- a/drivers/net/wireless/ath9k/regd.h
+++ b/drivers/net/wireless/ath9k/regd.h
@@ -17,8 +17,6 @@
17#ifndef REGD_H 17#ifndef REGD_H
18#define REGD_H 18#define REGD_H
19 19
20#include "ath9k.h"
21
22#define COUNTRY_ERD_FLAG 0x8000 20#define COUNTRY_ERD_FLAG 0x8000
23#define WORLDWIDE_ROAMING_FLAG 0x4000 21#define WORLDWIDE_ROAMING_FLAG 0x4000
24 22
@@ -229,6 +227,16 @@ enum CountryCode {
229 CTRY_BELGIUM2 = 5002 227 CTRY_BELGIUM2 = 5002
230}; 228};
231 229
230u16 ath9k_regd_get_rd(struct ath_hal *ah);
231bool ath9k_is_world_regd(struct ath_hal *ah);
232const struct ieee80211_regdomain *ath9k_world_regdomain(struct ath_hal *ah);
233const struct ieee80211_regdomain *ath9k_default_world_regdomain(void);
234void ath9k_reg_apply_world_flags(struct wiphy *wiphy, enum reg_set_by setby);
235void ath9k_reg_apply_radar_flags(struct wiphy *wiphy);
236int ath9k_regd_init(struct ath_hal *ah);
237bool ath9k_regd_is_eeprom_valid(struct ath_hal *ah);
238u32 ath9k_regd_get_ctl(struct ath_hal *ah, struct ath9k_channel *chan);
239int ath9k_reg_notifier(struct wiphy *wiphy, struct regulatory_request *request);
232void ath9k_regd_get_current_country(struct ath_hal *ah, 240void ath9k_regd_get_current_country(struct ath_hal *ah,
233 struct ath9k_country_entry *ctry); 241 struct ath9k_country_entry *ctry);
234 242