summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c
diff options
context:
space:
mode:
authorSujith <Sujith.Manoharan@atheros.com>2010-05-14 11:18:54 +0530
committerJohn W. Linville <linville@tuxdriver.com>2010-06-02 16:13:02 -0400
commit2edb4583c6a581e1e48af259db2a2d467d11551d (patch)
treec7186a72858621b0927cb3a7ef323e81ec6545ea /drivers/net/wireless/ath/ath9k/htc_drv_txrx.c
parent6473d24d5b6b76bb5fd16914709a619a00c44d28 (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_drv_txrx.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/htc_drv_txrx.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c b/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c
index 2571b443ac82..09ff8f1a68e0 100644
--- a/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c
+++ b/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c
@@ -135,16 +135,20 @@ int ath9k_htc_tx_start(struct ath9k_htc_priv *priv, struct sk_buff *skb)
switch (hw_qnum) {
case 0:
+ TX_QSTAT_INC(WME_AC_BE);
epid = priv->data_be_ep;
break;
case 2:
+ TX_QSTAT_INC(WME_AC_VI);
epid = priv->data_vi_ep;
break;
case 3:
+ TX_QSTAT_INC(WME_AC_VO);
epid = priv->data_vo_ep;
break;
case 1:
default:
+ TX_QSTAT_INC(WME_AC_BK);
epid = priv->data_bk_ep;
break;
}