summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/iwlwifi/iwl-fw-file.h
diff options
context:
space:
mode:
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>2015-02-10 11:49:20 +0300
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>2015-03-02 09:20:30 +0300
commit917f39bb9ad295a701a47cb020ae91a2a0224d84 (patch)
treeb3771a57410246c3e556ce291d7d8a1e556f4377 /drivers/net/wireless/iwlwifi/iwl-fw-file.h
parentf35d9c55cd533076e5b9b083841acba5d5e4abad (diff)
downloadlinux-917f39bb9ad295a701a47cb020ae91a2a0224d84.tar.xz
iwlwifi: mvm: add trigger for firmware dump upon command response
This will allow to collect the data as soon the firmware sends a specific notification of command response. Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-fw-file.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-fw-file.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-fw-file.h b/drivers/net/wireless/iwlwifi/iwl-fw-file.h
index 85745dcb0e22..49388c290704 100644
--- a/drivers/net/wireless/iwlwifi/iwl-fw-file.h
+++ b/drivers/net/wireless/iwlwifi/iwl-fw-file.h
@@ -541,6 +541,17 @@ struct iwl_fw_dbg_trigger_missed_bcon {
} __packed;
/**
+ * struct iwl_fw_dbg_trigger_cmd - configures trigger for messages from FW.
+ * cmds: the list of commands to trigger the collection on
+ */
+struct iwl_fw_dbg_trigger_cmd {
+ struct cmd {
+ u8 cmd_id;
+ u8 group_id;
+ } __packed cmds[16];
+} __packed;
+
+/**
* struct iwl_fw_dbg_conf_tlv - a TLV that describes a debug configuration.
* @id: conf id
* @usniffer: should the uSniffer image be used