ath9k: Add tx-failed counter.
[deliverable/linux.git] / drivers / net / wireless / ath / ath9k / debug.h
index 64fcfad467bf44a38e325d2aed6a4bbee4adfc37..fe2b487ed6c57823a089f45844abcbd403648dc5 100644 (file)
@@ -113,6 +113,7 @@ struct ath_interrupt_stats {
  * @puttxbuf: Number of times hardware was given txbuf to write.
  * @txstart:  Number of times hardware was told to start tx.
  * @txprocdesc:  Number of times tx descriptor was processed
+ * @txfailed:  Out-of-memory or other errors in xmit path.
  */
 struct ath_tx_stats {
        u32 tx_pkts_all;
@@ -135,6 +136,7 @@ struct ath_tx_stats {
        u32 puttxbuf;
        u32 txstart;
        u32 txprocdesc;
+       u32 txfailed;
 };
 
 /**
@@ -174,6 +176,7 @@ enum ath_reset_type {
        RESET_TYPE_TX_ERROR,
        RESET_TYPE_TX_HANG,
        RESET_TYPE_PLL_HANG,
+       RESET_TYPE_MAC_HANG,
        __RESET_TYPE_MAX
 };
 
This page took 0.027027 seconds and 5 git commands to generate.