summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/wil6210/debugfs.c
diff options
context:
space:
mode:
authorVladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>2014-08-06 10:31:49 +0300
committerJohn W. Linville <linville@tuxdriver.com>2014-08-25 16:17:30 -0400
commit91b775edf7ad54f849895e021677f7d9c15a9f5d (patch)
tree0ae6054c519b90971c8486f59b54121c0c31996e /drivers/net/wireless/ath/wil6210/debugfs.c
parente2261afd4caaf1a6473eddbcbd8a5c5eb593316e (diff)
downloadblackbird-op-linux-91b775edf7ad54f849895e021677f7d9c15a9f5d.tar.gz
blackbird-op-linux-91b775edf7ad54f849895e021677f7d9c15a9f5d.zip
wil6210: map MAC timer for packet lifetime into debugfs
expose reading RGF_MAC_MTRL_COUNTER_0 in debugfs Signed-off-by: Dedy Lansky <qca_dlansky@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/wil6210/debugfs.c')
-rw-r--r--drivers/net/wireless/ath/wil6210/debugfs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/wil6210/debugfs.c b/drivers/net/wireless/ath/wil6210/debugfs.c
index 8f66186adb8c..dee2380a44d3 100644
--- a/drivers/net/wireless/ath/wil6210/debugfs.c
+++ b/drivers/net/wireless/ath/wil6210/debugfs.c
@@ -1021,6 +1021,9 @@ int wil6210_debugfs_init(struct wil6210_priv *wil)
HOSTADDR(RGF_DMA_EP_MISC_ICR));
wil6210_debugfs_create_pseudo_ISR(wil, dbg);
wil6210_debugfs_create_ITR_CNT(wil, dbg);
+ wil_debugfs_create_iomem_x32("MAC_MTRL_COUNTER_0", S_IRUGO, dbg,
+ wil->csr +
+ HOSTADDR(RGF_MAC_MTRL_COUNTER_0));
wil_debugfs_create_iomem_x32("RGF_USER_USAGE_1", S_IRUGO, dbg,
wil->csr +
OpenPOWER on IntegriCloud