aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath/ath.h')
-rw-r--r--drivers/net/wireless/ath/ath.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath.h b/drivers/net/wireless/ath/ath.h
index e284cd3ac6d4..a63e90cbf9e5 100644
--- a/drivers/net/wireless/ath/ath.h
+++ b/drivers/net/wireless/ath/ath.h
@@ -19,8 +19,26 @@
19 19
20#include <linux/skbuff.h> 20#include <linux/skbuff.h>
21 21
22struct reg_dmn_pair_mapping {
23 u16 regDmnEnum;
24 u16 reg_5ghz_ctl;
25 u16 reg_2ghz_ctl;
26};
27
28struct ath_regulatory {
29 char alpha2[2];
30 u16 country_code;
31 u16 max_power_level;
32 u32 tp_scale;
33 u16 current_rd;
34 u16 current_rd_ext;
35 int16_t power_limit;
36 struct reg_dmn_pair_mapping *regpair;
37};
38
22struct ath_common { 39struct ath_common {
23 u16 cachelsz; 40 u16 cachelsz;
41 struct ath_regulatory regulatory;
24}; 42};
25 43
26struct sk_buff *ath_rxbuf_alloc(struct ath_common *common, 44struct sk_buff *ath_rxbuf_alloc(struct ath_common *common,