wil6210: improve debugfs for reorder buffer
authorVladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Tue, 23 Dec 2014 07:47:06 +0000 (09:47 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 15 Jan 2015 12:31:14 +0000 (14:31 +0200)
When printing debugfs for the reorder buffer, include BACK
parameters: window size and timeout

Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/wil6210/debugfs.c

index 8b3b58c2d3c8c4d22ea47b5462fb982c6636cad7..32df4b7c5e6264cf8a70e6963bbee272cbb755b6 100644 (file)
@@ -1162,7 +1162,8 @@ static void wil_print_rxtid(struct seq_file *s, struct wil_tid_ampdu_rx *r)
        int i;
        u16 index = ((r->head_seq_num - r->ssn) & 0xfff) % r->buf_size;
 
-       seq_printf(s, "0x%03x [", r->head_seq_num);
+       seq_printf(s, "([%2d] %3d TU) 0x%03x [", r->buf_size, r->timeout,
+                  r->head_seq_num);
        for (i = 0; i < r->buf_size; i++) {
                if (i == index)
                        seq_printf(s, "%c", r->reorder_buf[i] ? 'O' : '|');