xref: /OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath9k/debug.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /*
2*4882a593Smuzhiyun  * Copyright (c) 2008-2011 Atheros Communications Inc.
3*4882a593Smuzhiyun  *
4*4882a593Smuzhiyun  * Permission to use, copy, modify, and/or distribute this software for any
5*4882a593Smuzhiyun  * purpose with or without fee is hereby granted, provided that the above
6*4882a593Smuzhiyun  * copyright notice and this permission notice appear in all copies.
7*4882a593Smuzhiyun  *
8*4882a593Smuzhiyun  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9*4882a593Smuzhiyun  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10*4882a593Smuzhiyun  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11*4882a593Smuzhiyun  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12*4882a593Smuzhiyun  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13*4882a593Smuzhiyun  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14*4882a593Smuzhiyun  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15*4882a593Smuzhiyun  */
16*4882a593Smuzhiyun 
17*4882a593Smuzhiyun #ifndef DEBUG_H
18*4882a593Smuzhiyun #define DEBUG_H
19*4882a593Smuzhiyun 
20*4882a593Smuzhiyun #include "hw.h"
21*4882a593Smuzhiyun #include "dfs_debug.h"
22*4882a593Smuzhiyun 
23*4882a593Smuzhiyun struct ath_txq;
24*4882a593Smuzhiyun struct ath_buf;
25*4882a593Smuzhiyun struct fft_sample_tlv;
26*4882a593Smuzhiyun 
27*4882a593Smuzhiyun #ifdef CONFIG_ATH9K_DEBUGFS
28*4882a593Smuzhiyun #define TX_STAT_INC(sc, q, c)	 do { (sc)->debug.stats.txstats[q].c++; } while (0)
29*4882a593Smuzhiyun #define RX_STAT_INC(sc, c)	 do { (sc)->debug.stats.rxstats.c++; } while (0)
30*4882a593Smuzhiyun #define RESET_STAT_INC(sc, type) do { (sc)->debug.stats.reset[type]++; } while (0)
31*4882a593Smuzhiyun #define ANT_STAT_INC(sc, i, c)	 do { (sc)->debug.stats.ant_stats[i].c++; } while (0)
32*4882a593Smuzhiyun #define ANT_LNA_INC(sc, i, c)	 do { (sc)->debug.stats.ant_stats[i].lna_recv_cnt[c]++; } while (0)
33*4882a593Smuzhiyun #else
34*4882a593Smuzhiyun #define TX_STAT_INC(sc, q, c)	 do { (void)(sc); } while (0)
35*4882a593Smuzhiyun #define RX_STAT_INC(sc, c)	 do { (void)(sc); } while (0)
36*4882a593Smuzhiyun #define RESET_STAT_INC(sc, type) do { (void)(sc); } while (0)
37*4882a593Smuzhiyun #define ANT_STAT_INC(sc, i, c)	 do { (void)(sc); } while (0)
38*4882a593Smuzhiyun #define ANT_LNA_INC(sc, i, c)	 do { (void)(sc); } while (0)
39*4882a593Smuzhiyun #endif
40*4882a593Smuzhiyun 
41*4882a593Smuzhiyun enum ath_reset_type {
42*4882a593Smuzhiyun 	RESET_TYPE_BB_HANG,
43*4882a593Smuzhiyun 	RESET_TYPE_BB_WATCHDOG,
44*4882a593Smuzhiyun 	RESET_TYPE_FATAL_INT,
45*4882a593Smuzhiyun 	RESET_TYPE_TX_ERROR,
46*4882a593Smuzhiyun 	RESET_TYPE_TX_GTT,
47*4882a593Smuzhiyun 	RESET_TYPE_TX_HANG,
48*4882a593Smuzhiyun 	RESET_TYPE_PLL_HANG,
49*4882a593Smuzhiyun 	RESET_TYPE_MAC_HANG,
50*4882a593Smuzhiyun 	RESET_TYPE_BEACON_STUCK,
51*4882a593Smuzhiyun 	RESET_TYPE_MCI,
52*4882a593Smuzhiyun 	RESET_TYPE_CALIBRATION,
53*4882a593Smuzhiyun 	RESET_TX_DMA_ERROR,
54*4882a593Smuzhiyun 	RESET_RX_DMA_ERROR,
55*4882a593Smuzhiyun 	__RESET_TYPE_MAX
56*4882a593Smuzhiyun };
57*4882a593Smuzhiyun 
58*4882a593Smuzhiyun #ifdef CONFIG_ATH9K_DEBUGFS
59*4882a593Smuzhiyun 
60*4882a593Smuzhiyun /**
61*4882a593Smuzhiyun  * struct ath_interrupt_stats - Contains statistics about interrupts
62*4882a593Smuzhiyun  * @total: Total no. of interrupts generated so far
63*4882a593Smuzhiyun  * @rxok: RX with no errors
64*4882a593Smuzhiyun  * @rxlp: RX with low priority RX
65*4882a593Smuzhiyun  * @rxhp: RX with high priority, uapsd only
66*4882a593Smuzhiyun  * @rxeol: RX with no more RXDESC available
67*4882a593Smuzhiyun  * @rxorn: RX FIFO overrun
68*4882a593Smuzhiyun  * @txok: TX completed at the requested rate
69*4882a593Smuzhiyun  * @txurn: TX FIFO underrun
70*4882a593Smuzhiyun  * @mib: MIB regs reaching its threshold
71*4882a593Smuzhiyun  * @rxphyerr: RX with phy errors
72*4882a593Smuzhiyun  * @rx_keycache_miss: RX with key cache misses
73*4882a593Smuzhiyun  * @swba: Software Beacon Alert
74*4882a593Smuzhiyun  * @bmiss: Beacon Miss
75*4882a593Smuzhiyun  * @bnr: Beacon Not Ready
76*4882a593Smuzhiyun  * @cst: Carrier Sense TImeout
77*4882a593Smuzhiyun  * @gtt: Global TX Timeout
78*4882a593Smuzhiyun  * @tim: RX beacon TIM occurrence
79*4882a593Smuzhiyun  * @cabend: RX End of CAB traffic
80*4882a593Smuzhiyun  * @dtimsync: DTIM sync lossage
81*4882a593Smuzhiyun  * @dtim: RX Beacon with DTIM
82*4882a593Smuzhiyun  * @bb_watchdog: Baseband watchdog
83*4882a593Smuzhiyun  * @tsfoor: TSF out of range, indicates that the corrected TSF received
84*4882a593Smuzhiyun  * from a beacon differs from the PCU's internal TSF by more than a
85*4882a593Smuzhiyun  * (programmable) threshold
86*4882a593Smuzhiyun  * @local_timeout: Internal bus timeout.
87*4882a593Smuzhiyun  * @mci: MCI interrupt, specific to MCI based BTCOEX chipsets
88*4882a593Smuzhiyun  * @gen_timer: Generic hardware timer interrupt
89*4882a593Smuzhiyun  */
90*4882a593Smuzhiyun struct ath_interrupt_stats {
91*4882a593Smuzhiyun 	u32 total;
92*4882a593Smuzhiyun 	u32 rxok;
93*4882a593Smuzhiyun 	u32 rxlp;
94*4882a593Smuzhiyun 	u32 rxhp;
95*4882a593Smuzhiyun 	u32 rxeol;
96*4882a593Smuzhiyun 	u32 rxorn;
97*4882a593Smuzhiyun 	u32 txok;
98*4882a593Smuzhiyun 	u32 txeol;
99*4882a593Smuzhiyun 	u32 txurn;
100*4882a593Smuzhiyun 	u32 mib;
101*4882a593Smuzhiyun 	u32 rxphyerr;
102*4882a593Smuzhiyun 	u32 rx_keycache_miss;
103*4882a593Smuzhiyun 	u32 swba;
104*4882a593Smuzhiyun 	u32 bmiss;
105*4882a593Smuzhiyun 	u32 bnr;
106*4882a593Smuzhiyun 	u32 cst;
107*4882a593Smuzhiyun 	u32 gtt;
108*4882a593Smuzhiyun 	u32 tim;
109*4882a593Smuzhiyun 	u32 cabend;
110*4882a593Smuzhiyun 	u32 dtimsync;
111*4882a593Smuzhiyun 	u32 dtim;
112*4882a593Smuzhiyun 	u32 bb_watchdog;
113*4882a593Smuzhiyun 	u32 tsfoor;
114*4882a593Smuzhiyun 	u32 mci;
115*4882a593Smuzhiyun 	u32 gen_timer;
116*4882a593Smuzhiyun 
117*4882a593Smuzhiyun 	/* Sync-cause stats */
118*4882a593Smuzhiyun 	u32 sync_cause_all;
119*4882a593Smuzhiyun 	u32 sync_rtc_irq;
120*4882a593Smuzhiyun 	u32 sync_mac_irq;
121*4882a593Smuzhiyun 	u32 eeprom_illegal_access;
122*4882a593Smuzhiyun 	u32 apb_timeout;
123*4882a593Smuzhiyun 	u32 pci_mode_conflict;
124*4882a593Smuzhiyun 	u32 host1_fatal;
125*4882a593Smuzhiyun 	u32 host1_perr;
126*4882a593Smuzhiyun 	u32 trcv_fifo_perr;
127*4882a593Smuzhiyun 	u32 radm_cpl_ep;
128*4882a593Smuzhiyun 	u32 radm_cpl_dllp_abort;
129*4882a593Smuzhiyun 	u32 radm_cpl_tlp_abort;
130*4882a593Smuzhiyun 	u32 radm_cpl_ecrc_err;
131*4882a593Smuzhiyun 	u32 radm_cpl_timeout;
132*4882a593Smuzhiyun 	u32 local_timeout;
133*4882a593Smuzhiyun 	u32 pm_access;
134*4882a593Smuzhiyun 	u32 mac_awake;
135*4882a593Smuzhiyun 	u32 mac_asleep;
136*4882a593Smuzhiyun 	u32 mac_sleep_access;
137*4882a593Smuzhiyun };
138*4882a593Smuzhiyun 
139*4882a593Smuzhiyun 
140*4882a593Smuzhiyun /**
141*4882a593Smuzhiyun  * struct ath_tx_stats - Statistics about TX
142*4882a593Smuzhiyun  * @tx_pkts_all:  No. of total frames transmitted, including ones that
143*4882a593Smuzhiyun 	may have had errors.
144*4882a593Smuzhiyun  * @tx_bytes_all:  No. of total bytes transmitted, including ones that
145*4882a593Smuzhiyun 	may have had errors.
146*4882a593Smuzhiyun  * @queued: Total MPDUs (non-aggr) queued
147*4882a593Smuzhiyun  * @completed: Total MPDUs (non-aggr) completed
148*4882a593Smuzhiyun  * @a_aggr: Total no. of aggregates queued
149*4882a593Smuzhiyun  * @a_queued_hw: Total AMPDUs queued to hardware
150*4882a593Smuzhiyun  * @a_completed: Total AMPDUs completed
151*4882a593Smuzhiyun  * @a_retries: No. of AMPDUs retried (SW)
152*4882a593Smuzhiyun  * @a_xretries: No. of AMPDUs dropped due to xretries
153*4882a593Smuzhiyun  * @txerr_filtered: No. of frames with TXERR_FILT flag set.
154*4882a593Smuzhiyun  * @fifo_underrun: FIFO underrun occurrences
155*4882a593Smuzhiyun 	Valid only for:
156*4882a593Smuzhiyun 		- non-aggregate condition.
157*4882a593Smuzhiyun 		- first packet of aggregate.
158*4882a593Smuzhiyun  * @xtxop: No. of frames filtered because of TXOP limit
159*4882a593Smuzhiyun  * @timer_exp: Transmit timer expiry
160*4882a593Smuzhiyun  * @desc_cfg_err: Descriptor configuration errors
161*4882a593Smuzhiyun  * @data_urn: TX data underrun errors
162*4882a593Smuzhiyun  * @delim_urn: TX delimiter underrun errors
163*4882a593Smuzhiyun  * @puttxbuf: Number of times hardware was given txbuf to write.
164*4882a593Smuzhiyun  * @txstart:  Number of times hardware was told to start tx.
165*4882a593Smuzhiyun  * @txprocdesc:  Number of times tx descriptor was processed
166*4882a593Smuzhiyun  * @txfailed:  Out-of-memory or other errors in xmit path.
167*4882a593Smuzhiyun  */
168*4882a593Smuzhiyun struct ath_tx_stats {
169*4882a593Smuzhiyun 	u32 tx_pkts_all;
170*4882a593Smuzhiyun 	u32 tx_bytes_all;
171*4882a593Smuzhiyun 	u32 queued;
172*4882a593Smuzhiyun 	u32 completed;
173*4882a593Smuzhiyun 	u32 xretries;
174*4882a593Smuzhiyun 	u32 a_aggr;
175*4882a593Smuzhiyun 	u32 a_queued_hw;
176*4882a593Smuzhiyun 	u32 a_completed;
177*4882a593Smuzhiyun 	u32 a_retries;
178*4882a593Smuzhiyun 	u32 a_xretries;
179*4882a593Smuzhiyun 	u32 txerr_filtered;
180*4882a593Smuzhiyun 	u32 fifo_underrun;
181*4882a593Smuzhiyun 	u32 xtxop;
182*4882a593Smuzhiyun 	u32 timer_exp;
183*4882a593Smuzhiyun 	u32 desc_cfg_err;
184*4882a593Smuzhiyun 	u32 data_underrun;
185*4882a593Smuzhiyun 	u32 delim_underrun;
186*4882a593Smuzhiyun 	u32 puttxbuf;
187*4882a593Smuzhiyun 	u32 txstart;
188*4882a593Smuzhiyun 	u32 txprocdesc;
189*4882a593Smuzhiyun 	u32 txfailed;
190*4882a593Smuzhiyun };
191*4882a593Smuzhiyun 
192*4882a593Smuzhiyun /*
193*4882a593Smuzhiyun  * Various utility macros to print TX/Queue counters.
194*4882a593Smuzhiyun  */
195*4882a593Smuzhiyun #define PR_QNUM(_n) sc->tx.txq_map[_n]->axq_qnum
196*4882a593Smuzhiyun #define TXSTATS sc->debug.stats.txstats
197*4882a593Smuzhiyun #define PR(str, elem)							\
198*4882a593Smuzhiyun 	do {								\
199*4882a593Smuzhiyun 		seq_printf(file, "%s%13u%11u%10u%10u\n", str,		\
200*4882a593Smuzhiyun 			   TXSTATS[PR_QNUM(IEEE80211_AC_BE)].elem,\
201*4882a593Smuzhiyun 			   TXSTATS[PR_QNUM(IEEE80211_AC_BK)].elem,\
202*4882a593Smuzhiyun 			   TXSTATS[PR_QNUM(IEEE80211_AC_VI)].elem,\
203*4882a593Smuzhiyun 			   TXSTATS[PR_QNUM(IEEE80211_AC_VO)].elem); \
204*4882a593Smuzhiyun 	} while(0)
205*4882a593Smuzhiyun 
206*4882a593Smuzhiyun struct ath_rx_rate_stats {
207*4882a593Smuzhiyun 	struct {
208*4882a593Smuzhiyun 		u32 ht20_cnt;
209*4882a593Smuzhiyun 		u32 ht40_cnt;
210*4882a593Smuzhiyun 		u32 sgi_cnt;
211*4882a593Smuzhiyun 		u32 lgi_cnt;
212*4882a593Smuzhiyun 	} ht_stats[24];
213*4882a593Smuzhiyun 
214*4882a593Smuzhiyun 	struct {
215*4882a593Smuzhiyun 		u32 ofdm_cnt;
216*4882a593Smuzhiyun 	} ofdm_stats[8];
217*4882a593Smuzhiyun 
218*4882a593Smuzhiyun 	struct {
219*4882a593Smuzhiyun 		u32 cck_lp_cnt;
220*4882a593Smuzhiyun 		u32 cck_sp_cnt;
221*4882a593Smuzhiyun 	} cck_stats[4];
222*4882a593Smuzhiyun };
223*4882a593Smuzhiyun 
224*4882a593Smuzhiyun struct ath_airtime_stats {
225*4882a593Smuzhiyun 	u32 rx_airtime;
226*4882a593Smuzhiyun 	u32 tx_airtime;
227*4882a593Smuzhiyun };
228*4882a593Smuzhiyun 
229*4882a593Smuzhiyun #define ANT_MAIN 0
230*4882a593Smuzhiyun #define ANT_ALT  1
231*4882a593Smuzhiyun 
232*4882a593Smuzhiyun struct ath_antenna_stats {
233*4882a593Smuzhiyun 	u32 recv_cnt;
234*4882a593Smuzhiyun 	u32 rssi_avg;
235*4882a593Smuzhiyun 	u32 lna_recv_cnt[4];
236*4882a593Smuzhiyun 	u32 lna_attempt_cnt[4];
237*4882a593Smuzhiyun };
238*4882a593Smuzhiyun 
239*4882a593Smuzhiyun struct ath_stats {
240*4882a593Smuzhiyun 	struct ath_interrupt_stats istats;
241*4882a593Smuzhiyun 	struct ath_tx_stats txstats[ATH9K_NUM_TX_QUEUES];
242*4882a593Smuzhiyun 	struct ath_rx_stats rxstats;
243*4882a593Smuzhiyun 	struct ath_dfs_stats dfs_stats;
244*4882a593Smuzhiyun 	struct ath_antenna_stats ant_stats[2];
245*4882a593Smuzhiyun 	u32 reset[__RESET_TYPE_MAX];
246*4882a593Smuzhiyun };
247*4882a593Smuzhiyun 
248*4882a593Smuzhiyun struct ath9k_debug {
249*4882a593Smuzhiyun 	struct dentry *debugfs_phy;
250*4882a593Smuzhiyun 	u32 regidx;
251*4882a593Smuzhiyun 	struct ath_stats stats;
252*4882a593Smuzhiyun };
253*4882a593Smuzhiyun 
254*4882a593Smuzhiyun int ath9k_init_debug(struct ath_hw *ah);
255*4882a593Smuzhiyun void ath9k_deinit_debug(struct ath_softc *sc);
256*4882a593Smuzhiyun 
257*4882a593Smuzhiyun void ath_debug_stat_interrupt(struct ath_softc *sc, enum ath9k_int status);
258*4882a593Smuzhiyun void ath_debug_stat_tx(struct ath_softc *sc, struct ath_buf *bf,
259*4882a593Smuzhiyun 		       struct ath_tx_status *ts, struct ath_txq *txq,
260*4882a593Smuzhiyun 		       unsigned int flags);
261*4882a593Smuzhiyun void ath_debug_stat_rx(struct ath_softc *sc, struct ath_rx_status *rs);
262*4882a593Smuzhiyun int ath9k_get_et_sset_count(struct ieee80211_hw *hw,
263*4882a593Smuzhiyun 			    struct ieee80211_vif *vif, int sset);
264*4882a593Smuzhiyun void ath9k_get_et_stats(struct ieee80211_hw *hw,
265*4882a593Smuzhiyun 			struct ieee80211_vif *vif,
266*4882a593Smuzhiyun 			struct ethtool_stats *stats, u64 *data);
267*4882a593Smuzhiyun void ath9k_get_et_strings(struct ieee80211_hw *hw,
268*4882a593Smuzhiyun 			  struct ieee80211_vif *vif,
269*4882a593Smuzhiyun 			  u32 sset, u8 *data);
270*4882a593Smuzhiyun void ath9k_sta_add_debugfs(struct ieee80211_hw *hw,
271*4882a593Smuzhiyun 			   struct ieee80211_vif *vif,
272*4882a593Smuzhiyun 			   struct ieee80211_sta *sta,
273*4882a593Smuzhiyun 			   struct dentry *dir);
274*4882a593Smuzhiyun void ath9k_debug_stat_ant(struct ath_softc *sc,
275*4882a593Smuzhiyun 			  struct ath_hw_antcomb_conf *div_ant_conf,
276*4882a593Smuzhiyun 			  int main_rssi_avg, int alt_rssi_avg);
277*4882a593Smuzhiyun void ath9k_debug_sync_cause(struct ath_softc *sc, u32 sync_cause);
278*4882a593Smuzhiyun 
279*4882a593Smuzhiyun #else
280*4882a593Smuzhiyun 
ath9k_init_debug(struct ath_hw * ah)281*4882a593Smuzhiyun static inline int ath9k_init_debug(struct ath_hw *ah)
282*4882a593Smuzhiyun {
283*4882a593Smuzhiyun 	return 0;
284*4882a593Smuzhiyun }
285*4882a593Smuzhiyun 
ath9k_deinit_debug(struct ath_softc * sc)286*4882a593Smuzhiyun static inline void ath9k_deinit_debug(struct ath_softc *sc)
287*4882a593Smuzhiyun {
288*4882a593Smuzhiyun }
ath_debug_stat_interrupt(struct ath_softc * sc,enum ath9k_int status)289*4882a593Smuzhiyun static inline void ath_debug_stat_interrupt(struct ath_softc *sc,
290*4882a593Smuzhiyun 					    enum ath9k_int status)
291*4882a593Smuzhiyun {
292*4882a593Smuzhiyun }
ath_debug_stat_tx(struct ath_softc * sc,struct ath_buf * bf,struct ath_tx_status * ts,struct ath_txq * txq,unsigned int flags)293*4882a593Smuzhiyun static inline void ath_debug_stat_tx(struct ath_softc *sc,
294*4882a593Smuzhiyun 				     struct ath_buf *bf,
295*4882a593Smuzhiyun 				     struct ath_tx_status *ts,
296*4882a593Smuzhiyun 				     struct ath_txq *txq,
297*4882a593Smuzhiyun 				     unsigned int flags)
298*4882a593Smuzhiyun {
299*4882a593Smuzhiyun }
ath_debug_stat_rx(struct ath_softc * sc,struct ath_rx_status * rs)300*4882a593Smuzhiyun static inline void ath_debug_stat_rx(struct ath_softc *sc,
301*4882a593Smuzhiyun 				     struct ath_rx_status *rs)
302*4882a593Smuzhiyun {
303*4882a593Smuzhiyun }
ath9k_debug_stat_ant(struct ath_softc * sc,struct ath_hw_antcomb_conf * div_ant_conf,int main_rssi_avg,int alt_rssi_avg)304*4882a593Smuzhiyun static inline void ath9k_debug_stat_ant(struct ath_softc *sc,
305*4882a593Smuzhiyun 					struct ath_hw_antcomb_conf *div_ant_conf,
306*4882a593Smuzhiyun 					int main_rssi_avg, int alt_rssi_avg)
307*4882a593Smuzhiyun {
308*4882a593Smuzhiyun 
309*4882a593Smuzhiyun }
310*4882a593Smuzhiyun 
311*4882a593Smuzhiyun static inline void
ath9k_debug_sync_cause(struct ath_softc * sc,u32 sync_cause)312*4882a593Smuzhiyun ath9k_debug_sync_cause(struct ath_softc *sc, u32 sync_cause)
313*4882a593Smuzhiyun {
314*4882a593Smuzhiyun }
315*4882a593Smuzhiyun 
316*4882a593Smuzhiyun #endif /* CONFIG_ATH9K_DEBUGFS */
317*4882a593Smuzhiyun 
318*4882a593Smuzhiyun #ifdef CONFIG_ATH9K_STATION_STATISTICS
319*4882a593Smuzhiyun void ath_debug_rate_stats(struct ath_softc *sc,
320*4882a593Smuzhiyun 			  struct ath_rx_status *rs,
321*4882a593Smuzhiyun 			  struct sk_buff *skb);
322*4882a593Smuzhiyun #else
ath_debug_rate_stats(struct ath_softc * sc,struct ath_rx_status * rs,struct sk_buff * skb)323*4882a593Smuzhiyun static inline void ath_debug_rate_stats(struct ath_softc *sc,
324*4882a593Smuzhiyun 					struct ath_rx_status *rs,
325*4882a593Smuzhiyun 					struct sk_buff *skb)
326*4882a593Smuzhiyun {
327*4882a593Smuzhiyun }
328*4882a593Smuzhiyun #endif /* CONFIG_ATH9K_STATION_STATISTICS */
329*4882a593Smuzhiyun 
330*4882a593Smuzhiyun #endif /* DEBUG_H */
331