diff options
| author | Shahar S Matityahu <[email protected]> | 2018-11-26 10:15:35 +0200 | 
|---|---|---|
| committer | Luca Coelho <[email protected]> | 2019-02-04 12:27:17 +0200 | 
| commit | bb0306bd6fa2ef6f4d596cc1e31e7e37ad5f48a3 (patch) | |
| tree | a6292ae9cef6435c2ab0043ebede58edd355833d /drivers/net/wireless/intel/iwlwifi/fw/api | |
| parent | 56ea8e3b4ef6a319ac8297bc50f6909dccc684ec (diff) | |
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 <[email protected]>
Signed-off-by: Luca Coelho <[email protected]>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/fw/api')
| -rw-r--r-- | drivers/net/wireless/intel/iwlwifi/fw/api/dbg-tlv.h | 12 | 
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 */ |