wil6210: add support for enhanced DMA debugfs
authorMaya Erez <merez@codeaurora.org>
Fri, 29 Jun 2018 13:28:37 +0000 (16:28 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 2 Jul 2018 14:24:48 +0000 (17:24 +0300)
commitd98b853934fee79b3cde2c850e03b9c367297a78
treefc428347e99c1543f52eb4e4d38cf7aad51a7a4a
parent7be13fc3e60fb51570288d4516a15266ed500dfd
wil6210: add support for enhanced DMA debugfs

Add debugfs support for enhanced DMA TX and RX descriptor rings,
TX and RX status rings and RX buffer management.

Run the following command to print the TX and RX status rings:
cat srings

Run the following command in order to select the status ring:
echo STATUS_RING_IDX > dbg_sring_index

Run the following command in order to select the status message:
echo STATUS_MSG_IDX > dbg_status_msg_index

Run the following command in order to print the selected status
message from the selected status ring:
cat status_msg

Run the following command in order to print the RX buffer management
debug information:
cat rx_buff_mgmt

Signed-off-by: Gidon Studinski <gidons@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