Commit c544e9c4 authored by Emmanuel Grumbach's avatar Emmanuel Grumbach

iwlwifi: rename iwl_fw_error_fw_mon to iwl_fw_error_dump_fw_mon

This is matches the convention of the other structures.
Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
parent 1e0b393a
...@@ -147,14 +147,14 @@ struct iwl_fw_error_dump_info { ...@@ -147,14 +147,14 @@ struct iwl_fw_error_dump_info {
} __packed; } __packed;
/** /**
* struct iwl_fw_error_fw_mon - FW monitor data * struct iwl_fw_error_dump_fw_mon - FW monitor data
* @fw_mon_wr_ptr: the position of the write pointer in the cyclic buffer * @fw_mon_wr_ptr: the position of the write pointer in the cyclic buffer
* @fw_mon_base_ptr: base pointer of the data * @fw_mon_base_ptr: base pointer of the data
* @fw_mon_cycle_cnt: number of wrap arounds * @fw_mon_cycle_cnt: number of wrap arounds
* @reserved: for future use * @reserved: for future use
* @data: captured data * @data: captured data
*/ */
struct iwl_fw_error_fw_mon { struct iwl_fw_error_dump_fw_mon {
__le32 fw_mon_wr_ptr; __le32 fw_mon_wr_ptr;
__le32 fw_mon_base_ptr; __le32 fw_mon_base_ptr;
__le32 fw_mon_cycle_cnt; __le32 fw_mon_cycle_cnt;
......
...@@ -1787,7 +1787,7 @@ static u32 iwl_trans_pcie_dump_data(struct iwl_trans *trans, ...@@ -1787,7 +1787,7 @@ static u32 iwl_trans_pcie_dump_data(struct iwl_trans *trans,
cmdq->q.n_window * (sizeof(*txcmd) + TFD_MAX_PAYLOAD_SIZE); cmdq->q.n_window * (sizeof(*txcmd) + TFD_MAX_PAYLOAD_SIZE);
if (trans_pcie->fw_mon_page) if (trans_pcie->fw_mon_page)
len += sizeof(*data) + sizeof(struct iwl_fw_error_fw_mon) + len += sizeof(*data) + sizeof(struct iwl_fw_error_dump_fw_mon) +
trans_pcie->fw_mon_size; trans_pcie->fw_mon_size;
if (!buf) if (!buf)
...@@ -1822,7 +1822,7 @@ static u32 iwl_trans_pcie_dump_data(struct iwl_trans *trans, ...@@ -1822,7 +1822,7 @@ static u32 iwl_trans_pcie_dump_data(struct iwl_trans *trans,
len += sizeof(*data); len += sizeof(*data);
if (trans_pcie->fw_mon_page) { if (trans_pcie->fw_mon_page) {
struct iwl_fw_error_fw_mon *fw_mon_data; struct iwl_fw_error_dump_fw_mon *fw_mon_data;
data = iwl_fw_error_next_data(data); data = iwl_fw_error_next_data(data);
data->type = cpu_to_le32(IWL_FW_ERROR_DUMP_FW_MONITOR); data->type = cpu_to_le32(IWL_FW_ERROR_DUMP_FW_MONITOR);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment