aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/fw/error-dump.h
diff options
context:
space:
mode:
authorShahar S Matityahu <[email protected]>2019-07-23 09:47:13 +0000
committerLuca Coelho <[email protected]>2019-10-25 07:09:32 +0000
commita77e3d2829e2a73c3d76b2e776214788fc0ebfe8 (patch)
tree5caef03e5472983291f76a0fce63e0a7298f3fb0 /drivers/net/wireless/intel/iwlwifi/fw/error-dump.h
parentiwlwifi: dbg_ini: add monitor dumping support (diff)
downloadkernel-a77e3d2829e2a73c3d76b2e776214788fc0ebfe8.tar.gz
kernel-a77e3d2829e2a73c3d76b2e776214788fc0ebfe8.zip
iwlwifi: dbg_ini: add error tables dumping support
Allow to collect error table data. Signed-off-by: Shahar S Matityahu <[email protected]> Signed-off-by: Luca Coelho <[email protected]>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/fw/error-dump.h')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/fw/error-dump.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/fw/error-dump.h b/drivers/net/wireless/intel/iwlwifi/fw/error-dump.h
index 629af3f9c683..7be1c4b54503 100644
--- a/drivers/net/wireless/intel/iwlwifi/fw/error-dump.h
+++ b/drivers/net/wireless/intel/iwlwifi/fw/error-dump.h
@@ -434,7 +434,18 @@ struct iwl_fw_ini_dump_info {
u8 external_dbg_cfg_name[IWL_FW_INI_MAX_DBG_CFG_NAME_LEN];
__le32 regions_num;
__le32 region_ids[];
+} __packed;
+/**
+ * struct iwl_fw_ini_err_table_dump - ini error table dump
+ * @header: header of the region
+ * @version: error table version
+ * @ranges: the memory ranges of this this region
+ */
+struct iwl_fw_ini_err_table_dump {
+ struct iwl_fw_ini_error_dump_header header;
+ __le32 version;
+ struct iwl_fw_ini_error_dump_range ranges[];
} __packed;
/**