diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2015-03-25 21:40:47 +0100 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2015-04-02 08:29:13 +0200 |
commit | 874c174eb9950a62032a7c90c4a23947a2bb863d (patch) | |
tree | 2c0f62d3c2223d1adf5204b48383f1c58c2b2a70 /drivers/net/wireless/iwlwifi/iwl-fw-file.h | |
parent | iwlwifi: mvm: do string formatting in debug triggers (diff) | |
download | linux-874c174eb9950a62032a7c90c4a23947a2bb863d.tar.xz linux-874c174eb9950a62032a7c90c4a23947a2bb863d.zip |
iwlwifi: mvm: add trigger for time events
This will allow to collect data when a time event
notifcation with a certain id and action is coming from
the firmware. This can be very useful to debug various
flows.
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
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.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-fw-file.h b/drivers/net/wireless/iwlwifi/iwl-fw-file.h index cc789cb3c052..ee149482061f 100644 --- a/drivers/net/wireless/iwlwifi/iwl-fw-file.h +++ b/drivers/net/wireless/iwlwifi/iwl-fw-file.h @@ -637,6 +637,22 @@ struct iwl_fw_dbg_trigger_txq_timer { } __packed; /** + * struct iwl_fw_dbg_trigger_time_event - configures a time event trigger + * time_Events: a list of tuples <id, action_bitmap>. The driver will issue a + * trigger each time a time event notification that relates to time event + * id with one of the actions in the bitmap is received and + * BIT(notif->status) is set in status_bitmap. + * + */ +struct iwl_fw_dbg_trigger_time_event { + struct { + __le32 id; + __le32 action_bitmap; + __le32 status_bitmap; + } __packed time_events[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 |