diff options
author | Johannes Berg <johannes.berg@intel.com> | 2016-10-20 09:41:14 +0200 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2017-01-23 22:36:50 +0100 |
commit | 2ed1e01910825240e5d53c8d59106230d6e5c52b (patch) | |
tree | 70c61b1bc29af3551b89dc7e132fec9a9671dfe7 /drivers/net/wireless/intel/iwlwifi/iwl-fw-file.h | |
parent | iwlwifi: mvm: don't restart HW if suspend fails with unified image (diff) | |
download | linux-2ed1e01910825240e5d53c8d59106230d6e5c52b.tar.xz linux-2ed1e01910825240e5d53c8d59106230d6e5c52b.zip |
iwlwifi: mvm: accept arbitrary memory dump TLVs
There's no reason to be validating the memory dump types, or
checking them for duplication, or anything, since we really
just pass them through from the TLV to the dump.
Thus, change the way we handle memory dump TLVs to let the
driver just blindly use anything specified there, dumping it
into the memory dump output file.
This makes the system extensible without driver changes.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/iwl-fw-file.h')
-rw-r--r-- | drivers/net/wireless/intel/iwlwifi/iwl-fw-file.h | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/iwl-fw-file.h b/drivers/net/wireless/intel/iwlwifi/iwl-fw-file.h index 84813b550ef1..11245b9117c7 100644 --- a/drivers/net/wireless/intel/iwlwifi/iwl-fw-file.h +++ b/drivers/net/wireless/intel/iwlwifi/iwl-fw-file.h @@ -489,25 +489,9 @@ enum iwl_fw_dbg_monitor_mode { }; /** - * enum iwl_fw_mem_seg_type - data types for dumping on error - * - * @FW_DBG_MEM_SMEM: the data type is SMEM - * @FW_DBG_MEM_DCCM_LMAC: the data type is DCCM_LMAC - * @FW_DBG_MEM_DCCM_UMAC: the data type is DCCM_UMAC - */ -enum iwl_fw_dbg_mem_seg_type { - FW_DBG_MEM_DCCM_LMAC = 0, - FW_DBG_MEM_DCCM_UMAC, - FW_DBG_MEM_SMEM, - - /* Must be last */ - FW_DBG_MEM_MAX, -}; - -/** * struct iwl_fw_dbg_mem_seg_tlv - configures the debug data memory segments * - * @data_type: enum %iwl_fw_mem_seg_type + * @data_type: the memory segment type to record * @ofs: the memory segment offset * @len: the memory segment length, in bytes * |