ath10k: add log level configuration for fw_dbglog
authorSenthilKumar Jegadeesan <sjegadee@qti.qualcomm.com>
Thu, 29 Jan 2015 09:06:52 +0000 (14:36 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 4 Feb 2015 07:20:08 +0000 (09:20 +0200)
Introduce an optional log level configuration for the existing debugfs fw_dbglog file. It
allows users to configure the desired log level for firmware dbglog messages.

To configure log level as WARN:

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

The values are:

VERBOSE 0
INFO 1
WARN 2
ERR 3

Signed-off-by: SenthilKumar Jegadeesan <sjegadee@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>

No differences found