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)
commit467210a67b8e4e63dc7fb0bc9aca21e412f32da5
treee261397bd1da8749e838b4b67ae7c31df0d18cdf
parent75930d1a80e81052376ffc5298aadfe8a075d9d2
ath10k: add log level configuration for fw_dbglog

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>
drivers/net/wireless/ath/ath10k/core.h
drivers/net/wireless/ath/ath10k/debug.c
drivers/net/wireless/ath/ath10k/wmi-ops.h
drivers/net/wireless/ath/ath10k/wmi-tlv.c
drivers/net/wireless/ath/ath10k/wmi.c