diff options
Diffstat (limited to 'drivers/net/wireless/ath/wil6210/debugfs.c')
-rw-r--r-- | drivers/net/wireless/ath/wil6210/debugfs.c | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/drivers/net/wireless/ath/wil6210/debugfs.c b/drivers/net/wireless/ath/wil6210/debugfs.c index 3830cc20d4fa..bbc22d88f78f 100644 --- a/drivers/net/wireless/ath/wil6210/debugfs.c +++ b/drivers/net/wireless/ath/wil6210/debugfs.c | |||
@@ -121,12 +121,18 @@ static int wil_vring_debugfs_show(struct seq_file *s, void *data) | |||
121 | 121 | ||
122 | snprintf(name, sizeof(name), "tx_%2d", i); | 122 | snprintf(name, sizeof(name), "tx_%2d", i); |
123 | 123 | ||
124 | seq_printf(s, | 124 | if (cid < WIL6210_MAX_CID) |
125 | "\n%pM CID %d TID %d BACK([%d] %d TU A%s) [%3d|%3d] idle %s\n", | 125 | seq_printf(s, |
126 | wil->sta[cid].addr, cid, tid, | 126 | "\n%pM CID %d TID %d BACK([%u] %u TU A%s) [%3d|%3d] idle %s\n", |
127 | txdata->agg_wsize, txdata->agg_timeout, | 127 | wil->sta[cid].addr, cid, tid, |
128 | txdata->agg_amsdu ? "+" : "-", | 128 | txdata->agg_wsize, |
129 | used, avail, sidle); | 129 | txdata->agg_timeout, |
130 | txdata->agg_amsdu ? "+" : "-", | ||
131 | used, avail, sidle); | ||
132 | else | ||
133 | seq_printf(s, | ||
134 | "\nBroadcast [%3d|%3d] idle %s\n", | ||
135 | used, avail, sidle); | ||
130 | 136 | ||
131 | wil_print_vring(s, wil, name, vring, '_', 'H'); | 137 | wil_print_vring(s, wil, name, vring, '_', 'H'); |
132 | } | 138 | } |
@@ -1405,6 +1411,7 @@ static const struct dbg_off dbg_wil_off[] = { | |||
1405 | WIL_FIELD(fw_version, S_IRUGO, doff_u32), | 1411 | WIL_FIELD(fw_version, S_IRUGO, doff_u32), |
1406 | WIL_FIELD(hw_version, S_IRUGO, doff_x32), | 1412 | WIL_FIELD(hw_version, S_IRUGO, doff_x32), |
1407 | WIL_FIELD(recovery_count, S_IRUGO, doff_u32), | 1413 | WIL_FIELD(recovery_count, S_IRUGO, doff_u32), |
1414 | WIL_FIELD(ap_isolate, S_IRUGO, doff_u32), | ||
1408 | {}, | 1415 | {}, |
1409 | }; | 1416 | }; |
1410 | 1417 | ||