iwlwifi: pcie: add n_window/ampdu to tx_queue debugfs
authorJohannes Berg <johannes.berg@intel.com>
Fri, 17 Apr 2020 10:21:39 +0000 (13:21 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 24 Apr 2020 13:38:09 +0000 (16:38 +0300)
Add the n_window and ampdu parameters so we can see them.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20200417131727.a2cc1f36008f.Iea23802bb64a08de410223e9af4431dfcadf121b@changeid
drivers/net/wireless/intel/iwlwifi/pcie/trans.c

index 3c33c01..06785c4 100644 (file)
@@ -2601,9 +2601,10 @@ static int iwl_dbgfs_tx_queue_seq_show(struct seq_file *seq, void *v)
                   !!test_bit(state->pos, trans_pcie->queue_stopped));
        if (txq)
                seq_printf(seq,
-                          "read=%u write=%u need_update=%d frozen=%d",
+                          "read=%u write=%u need_update=%d frozen=%d n_window=%d ampdu=%d",
                           txq->read_ptr, txq->write_ptr,
-                          txq->need_update, txq->frozen);
+                          txq->need_update, txq->frozen,
+                          txq->n_window, txq->ampdu);
        else
                seq_puts(seq, "(unallocated)");