diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2010-05-14 01:48:54 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-06-02 16:13:02 -0400 |
commit | 2edb4583c6a581e1e48af259db2a2d467d11551d (patch) | |
tree | c7186a72858621b0927cb3a7ef323e81ec6545ea /drivers/net/wireless/ath/ath9k/htc.h | |
parent | 6473d24d5b6b76bb5fd16914709a619a00c44d28 (diff) |
ath9k_htc: Add queue statistics to xmit debugfs file
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/htc.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/htc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc.h b/drivers/net/wireless/ath/ath9k/htc.h index c251603ab032..351c4a44c984 100644 --- a/drivers/net/wireless/ath/ath9k/htc.h +++ b/drivers/net/wireless/ath/ath9k/htc.h | |||
@@ -257,12 +257,15 @@ struct ath9k_htc_tx_ctl { | |||
257 | #define TX_STAT_INC(c) (hif_dev->htc_handle->drv_priv->debug.tx_stats.c++) | 257 | #define TX_STAT_INC(c) (hif_dev->htc_handle->drv_priv->debug.tx_stats.c++) |
258 | #define RX_STAT_INC(c) (hif_dev->htc_handle->drv_priv->debug.rx_stats.c++) | 258 | #define RX_STAT_INC(c) (hif_dev->htc_handle->drv_priv->debug.rx_stats.c++) |
259 | 259 | ||
260 | #define TX_QSTAT_INC(q) (priv->debug.tx_stats.queue_stats[q]++) | ||
261 | |||
260 | struct ath_tx_stats { | 262 | struct ath_tx_stats { |
261 | u32 buf_queued; | 263 | u32 buf_queued; |
262 | u32 buf_completed; | 264 | u32 buf_completed; |
263 | u32 skb_queued; | 265 | u32 skb_queued; |
264 | u32 skb_completed; | 266 | u32 skb_completed; |
265 | u32 skb_dropped; | 267 | u32 skb_dropped; |
268 | u32 queue_stats[WME_NUM_AC]; | ||
266 | }; | 269 | }; |
267 | 270 | ||
268 | struct ath_rx_stats { | 271 | struct ath_rx_stats { |