summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath6kl/core.h
diff options
context:
space:
mode:
authorKalle Valo <kvalo@qca.qualcomm.com>2012-02-06 10:23:40 +0400
committerKalle Valo <kvalo@qca.qualcomm.com>2012-02-08 13:25:07 +0400
commitc807b30d2588dd3c74db1f690a0e9e724dd332da (patch)
tree285723e62f2e40814d164597c6a44340e0d8566f /drivers/net/wireless/ath/ath6kl/core.h
parent9b9a4f2acac2a04416ba15242b8666d4f8273e31 (diff)
downloadlinux-c807b30d2588dd3c74db1f690a0e9e724dd332da.tar.xz
ath6kl: add blocking debugfs file for retrieving firmware logs
When debugging firmware issues it's not always enough to get the latest firmware logs, sometimes we need to get logs from a longer period. To make this possible, add a debugfs file named fwlog_block. When reading from this file ath6kl will send firmware logs whenever available and otherwise it will block and wait for new logs. Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/core.h')
-rw-r--r--drivers/net/wireless/ath/ath6kl/core.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/core.h b/drivers/net/wireless/ath/ath6kl/core.h
index 9a58214135b9..4ff06a326785 100644
--- a/drivers/net/wireless/ath/ath6kl/core.h
+++ b/drivers/net/wireless/ath/ath6kl/core.h
@@ -653,6 +653,9 @@ struct ath6kl {
#ifdef CONFIG_ATH6KL_DEBUG
struct {
struct sk_buff_head fwlog_queue;
+ struct completion fwlog_completion;
+ bool fwlog_open;
+
u32 fwlog_mask;
unsigned int dbgfs_diag_reg;