summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/fw/api
diff options
context:
space:
mode:
authorShahar S Matityahu2018-11-26 09:15:35 +0100
committerLuca Coelho2019-02-04 11:27:17 +0100
commitbb0306bd6fa2ef6f4d596cc1e31e7e37ad5f48a3 (patch)
treea6292ae9cef6435c2ab0043ebede58edd355833d /drivers/net/wireless/intel/iwlwifi/fw/api
parentiwlwifi: dbg_ini: fix iwl_fw_ini_buffer_location field enum bad naming (diff)
downloadkernel-qcow2-linux-bb0306bd6fa2ef6f4d596cc1e31e7e37ad5f48a3.tar.gz
kernel-qcow2-linux-bb0306bd6fa2ef6f4d596cc1e31e7e37ad5f48a3.tar.xz
kernel-qcow2-linux-bb0306bd6fa2ef6f4d596cc1e31e7e37ad5f48a3.zip
iwlwifi: dbg_ini: give better naming to region struct fields
Some of the region struct fields have misleading naming change those fields to have an informative naming Signed-off-by: Shahar S Matityahu <shahar.s.matityahu@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/fw/api')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/fw/api/dbg-tlv.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/fw/api/dbg-tlv.h b/drivers/net/wireless/intel/iwlwifi/fw/api/dbg-tlv.h
index a2c4a28c46a3..2b4b902cffc4 100644
--- a/drivers/net/wireless/intel/iwlwifi/fw/api/dbg-tlv.h
+++ b/drivers/net/wireless/intel/iwlwifi/fw/api/dbg-tlv.h
@@ -138,11 +138,13 @@ struct iwl_fw_ini_debug_flow_tlv {
* @region_id: ID of this dump configuration
* @region_type: &enum iwl_fw_ini_region_type
* @num_regions: amount of regions in the address array.
- * @allocation_id: For DRAM type field substitutes for allocation_id.
* @name_len: name length
* @name: file name to use for this region
- * @size: size of the data, in bytes.(unused for IWL_FW_INI_REGION_DRAM_BUFFER)
- * @start_addr: array of addresses. (unused for IWL_FW_INI_REGION_DRAM_BUFFER)
+ * @num_of_range: the amount of ranges in the region.
+ * @allocation_id: For DRAM type field substitutes for allocation_id
+ * @range_data_size: size of the data to read per range, in bytes.
+ * @start_addr: array of addresses. for type IWL_FW_INI_REGION_DRAM_BUFFER,
+ * 1 entry. For any other case, num_of_ranges entries.
*/
struct iwl_fw_ini_region_cfg {
__le32 region_id;
@@ -150,10 +152,10 @@ struct iwl_fw_ini_region_cfg {
__le32 name_len;
u8 name[IWL_FW_INI_MAX_NAME];
union {
- __le32 num_regions;
+ __le32 num_of_ranges;
__le32 allocation_id;
};
- __le32 size;
+ __le32 range_data_size;
__le32 start_addr[];
} __packed; /* FW_DEBUG_TLV_REGION_CONFIG_S */