brcmfmac: expose sdio internal counters in debugfs
authorArend van Spriel <arend@broadcom.com>
Sat, 9 Jun 2012 20:51:44 +0000 (22:51 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 13 Jun 2012 18:35:50 +0000 (14:35 -0400)
commit80969836a7ddde326d3f289d234e9e2d9ed27272
tree223a0f8dc1372972aa3c750fb4bc061cd968dbdc
parentd319a7cfd9d80a2e2359e978ba88991531312ee6
brcmfmac: expose sdio internal counters in debugfs

The structure brcmf_sdio contains a number of counters that are useful
for debugging. These were not available in user-space. This patch
exposes them in debugfs under the filename 'counters'.

Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/dhd_dbg.c
drivers/net/wireless/brcm80211/brcmfmac/dhd_dbg.h
drivers/net/wireless/brcm80211/brcmfmac/dhd_sdio.c