diff options
Diffstat (limited to 'drivers/net/wireless/ath9k/regd.h')
-rw-r--r-- | drivers/net/wireless/ath9k/regd.h | 12 |
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 | ||
230 | u16 ath9k_regd_get_rd(struct ath_hal *ah); | ||
231 | bool ath9k_is_world_regd(struct ath_hal *ah); | ||
232 | const struct ieee80211_regdomain *ath9k_world_regdomain(struct ath_hal *ah); | ||
233 | const struct ieee80211_regdomain *ath9k_default_world_regdomain(void); | ||
234 | void ath9k_reg_apply_world_flags(struct wiphy *wiphy, enum reg_set_by setby); | ||
235 | void ath9k_reg_apply_radar_flags(struct wiphy *wiphy); | ||
236 | int ath9k_regd_init(struct ath_hal *ah); | ||
237 | bool ath9k_regd_is_eeprom_valid(struct ath_hal *ah); | ||
238 | u32 ath9k_regd_get_ctl(struct ath_hal *ah, struct ath9k_channel *chan); | ||
239 | int ath9k_reg_notifier(struct wiphy *wiphy, struct regulatory_request *request); | ||
232 | void ath9k_regd_get_current_country(struct ath_hal *ah, | 240 | void ath9k_regd_get_current_country(struct ath_hal *ah, |
233 | struct ath9k_country_entry *ctry); | 241 | struct ath9k_country_entry *ctry); |
234 | 242 | ||