wil6210: enhancements for descriptor and status ring debugfs
authorDedy Lansky <dlansky@codeaurora.org>
Fri, 26 Apr 2019 15:43:33 +0000 (18:43 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 3 May 2019 05:04:15 +0000 (08:04 +0300)
commit9a874d045473f199e1a184a68be1cf4970db6cbf
treee69669cdf985c965a6a22200d3019e5419d625c8
parenta7feb56f204fd8bcc9a8d7342097f7b3cf87b50e
wil6210: enhancements for descriptor and status ring debugfs

Add printing of hwhead as part of desc ring and status ring debugfs.
Validate wil->rx_buff_mgmt and ring->ctx arrays before accessing them.
Dump Tx descriptor content even when it indicates invalid buff_id.

Signed-off-by: Dedy Lansky <dlansky@codeaurora.org>
Signed-off-by: Maya Erez <merez@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/wil6210/debugfs.c
drivers/net/wireless/ath/wil6210/wil6210.h