From: Johannes Berg Date: Fri, 17 Apr 2020 10:21:39 +0000 (+0300) Subject: iwlwifi: pcie: add n_window/ampdu to tx_queue debugfs X-Git-Tag: v5.10.7~2469^2~261^2~34^2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=95a9e44f8fb2626e4d0cb642ae6b5f6f30c5fb58;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: Luca Coelho Link: https://lore.kernel.org/r/iwlwifi.20200417131727.a2cc1f36008f.Iea23802bb64a08de410223e9af4431dfcadf121b@changeid --- diff --git a/drivers/net/wireless/intel/iwlwifi/pcie/trans.c b/drivers/net/wireless/intel/iwlwifi/pcie/trans.c index 3c33c01..06785c4 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)");