OSDN Git Service

wil6210: add debugfs to show PMC ring content
authorDedy Lansky <dlansky@codeaurora.org>
Tue, 10 Sep 2019 13:46:24 +0000 (16:46 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 12 Sep 2019 15:06:32 +0000 (18:06 +0300)
commit977c45ab5f4190bc9ee08ce03e501f73082e3c68
tree18393dafb609464a417e8d41d484d6d7b1105a3a
parentf99fe49ff3729be7bbdf0d9336e78db94de8a873
wil6210: add debugfs to show PMC ring content

PMC is a hardware debug mechanism which allows capturing real time
debug data and stream it to host memory. The driver allocates memory
buffers and set them inside PMC ring of descriptors.
Add pmcring debugfs that application can use to read the binary
content of descriptors inside the PMC ring (cat pmcring).

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/pmc.c
drivers/net/wireless/ath/wil6210/pmc.h