ath10k: add debugfs file to control firmware dbglog
authorKalle Valo <kvalo@qca.qualcomm.com>
Fri, 3 Jan 2014 10:59:31 +0000 (12:59 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 10 Jan 2014 09:49:46 +0000 (11:49 +0200)
commitf118a3e515fd713a0ade315018f6b645bc98916e
tree4f5b2ded346afe2ce6d9a9358b1b490d83463c2c
parent869526b958f59592c46086c11f638824b08d164a
ath10k: add debugfs file to control firmware dbglog

Firmware dbglogs can be now enabled through fw_dbglog file. To enable all
possible log messages run:

echo 0xffffffff > /sys/kernel/debug/ieee80211/phy0/ath10k/fw_dbglog

And to put back firmare defaults use 0x0:

echo 0x0 > /sys/kernel/debug/ieee80211/phy0/ath10k/fw_dbglog

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/core.h
drivers/net/wireless/ath/ath10k/debug.c
drivers/net/wireless/ath/ath10k/wmi.c
drivers/net/wireless/ath/ath10k/wmi.h