aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath9k/regd.h
diff options
context:
space:
mode:
authorSujith <Sujith.Manoharan@atheros.com>2009-02-09 02:57:08 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-02-13 13:45:01 -0500
commitd6bad496c6fbe3adb3323915a8b0430fa2955199 (patch)
tree02078701fd5cdf419684eb57e2ffb497b084c916 /drivers/net/wireless/ath9k/regd.h
parentd535a42a21eb62bb0e7f35b8ae39da07b679dda4 (diff)
ath9k: Move regulatory information to a separate structure
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/regd.h')
-rw-r--r--drivers/net/wireless/ath9k/regd.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath9k/regd.h b/drivers/net/wireless/ath9k/regd.h
index d1c4457de436..65abdf46115d 100644
--- a/drivers/net/wireless/ath9k/regd.h
+++ b/drivers/net/wireless/ath9k/regd.h
@@ -45,6 +45,18 @@ struct country_code_to_enum_rd {
45 const char *isoName; 45 const char *isoName;
46}; 46};
47 47
48struct ath9k_regulatory {
49 char alpha2[2];
50 u16 country_code;
51 u16 max_power_level;
52 u32 tp_scale;
53 u16 current_rd;
54 u16 current_rd_ext;
55 u16 current_rd_inuse;
56 int16_t power_limit;
57 struct reg_dmn_pair_mapping *regpair;
58};
59
48enum CountryCode { 60enum CountryCode {
49 CTRY_ALBANIA = 8, 61 CTRY_ALBANIA = 8,
50 CTRY_ALGERIA = 12, 62 CTRY_ALGERIA = 12,