aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/wil6210/pmc.h
diff options
context:
space:
mode:
authorDedy Lansky <dlansky@codeaurora.org>2019-09-10 16:46:24 +0300
committerKalle Valo <kvalo@codeaurora.org>2019-09-12 18:06:32 +0300
commit977c45ab5f4190bc9ee08ce03e501f73082e3c68 (patch)
tree18393dafb609464a417e8d41d484d6d7b1105a3a /drivers/net/wireless/ath/wil6210/pmc.h
parentwil6210: add wil_netif_rx() helper function (diff)
downloadlinux-dev-977c45ab5f4190bc9ee08ce03e501f73082e3c68.tar.xz
linux-dev-977c45ab5f4190bc9ee08ce03e501f73082e3c68.zip
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>
Diffstat (limited to '')
-rw-r--r--drivers/net/wireless/ath/wil6210/pmc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/wil6210/pmc.h b/drivers/net/wireless/ath/wil6210/pmc.h
index bebc8d52e1e6..92b8c4d84a6a 100644
--- a/drivers/net/wireless/ath/wil6210/pmc.h
+++ b/drivers/net/wireless/ath/wil6210/pmc.h
@@ -25,3 +25,4 @@ void wil_pmc_free(struct wil6210_priv *wil, int send_pmc_cmd);
int wil_pmc_last_cmd_status(struct wil6210_priv *wil);
ssize_t wil_pmc_read(struct file *, char __user *, size_t, loff_t *);
loff_t wil_pmc_llseek(struct file *filp, loff_t off, int whence);
+int wil_pmcring_read(struct seq_file *s, void *data);