summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2020-04-17 13:21:39 +0300
committerLuca Coelho <luciano.coelho@intel.com>2020-04-24 16:38:09 +0300
commit95a9e44f8fb2626e4d0cb642ae6b5f6f30c5fb58 (patch)
tree5d232cc4b1ab4c799af2979543dbeabee22ccdad /drivers
parentdf67a1bea0378488a0454f2be2609349fda86727 (diff)
iwlwifi: pcie: add n_window/ampdu to tx_queue debugfs
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
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/pcie/trans.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/pcie/trans.c b/drivers/net/wireless/intel/iwlwifi/pcie/trans.c
index 3c33c01cda60..06785c46c50d 100644
--- a/drivers/net/wireless/intel/iwlwifi/pcie/trans.c
+++ b/drivers/net/wireless/intel/iwlwifi/pcie/trans.c
@@ -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)");