diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2009-09-13 05:42:02 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-07 16:39:29 -0400 |
commit | c46917bb53a546f60c7d3103407fe953c418dd5b (patch) | |
tree | 5598017157d88b70d3ec9905acb020303913c0e8 /drivers/net/wireless/ath/ath.h | |
parent | cd9bf689600e62d84449d65b3d25fb6d2757589e (diff) |
atheros: add common debug printing
ath9k uses this for now, ath9k_htc is expected to re-use this
as well. We lave ath5k as is, but it certainly can also be
converted later.
The ath9k module parameter and debugfs entry is kept.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath.h')
-rw-r--r-- | drivers/net/wireless/ath/ath.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath.h b/drivers/net/wireless/ath/ath.h index 88654138f999..2ca9701181ee 100644 --- a/drivers/net/wireless/ath/ath.h +++ b/drivers/net/wireless/ath/ath.h | |||
@@ -48,11 +48,14 @@ struct ath_ops { | |||
48 | struct ath_common { | 48 | struct ath_common { |
49 | void *ah; | 49 | void *ah; |
50 | struct ieee80211_hw *hw; | 50 | struct ieee80211_hw *hw; |
51 | int debug_mask; | ||
52 | |||
51 | u16 cachelsz; | 53 | u16 cachelsz; |
52 | u16 curaid; | 54 | u16 curaid; |
53 | u8 macaddr[ETH_ALEN]; | 55 | u8 macaddr[ETH_ALEN]; |
54 | u8 curbssid[ETH_ALEN]; | 56 | u8 curbssid[ETH_ALEN]; |
55 | u8 bssidmask[ETH_ALEN]; | 57 | u8 bssidmask[ETH_ALEN]; |
58 | |||
56 | struct ath_regulatory regulatory; | 59 | struct ath_regulatory regulatory; |
57 | const struct ath_ops *ops; | 60 | const struct ath_ops *ops; |
58 | }; | 61 | }; |