diff options
| author | Shahar S Matityahu <[email protected]> | 2019-06-17 11:51:51 +0000 |
|---|---|---|
| committer | Luca Coelho <[email protected]> | 2019-09-06 12:31:22 +0000 |
| commit | d4c444ef0dfabeac222f0e76011dc28cb1a18b68 (patch) | |
| tree | 0127aff5df98b73a064f8400e2c7aae7fa2033ec /drivers/net/wireless/intel/iwlwifi/fw/runtime.h | |
| parent | iwlwifi: dbg_ini: use linked list for dump TLVs during dump creation (diff) | |
| download | kernel-d4c444ef0dfabeac222f0e76011dc28cb1a18b68.tar.gz kernel-d4c444ef0dfabeac222f0e76011dc28cb1a18b68.zip | |
iwlwifi: dbg_ini: move tx fifo data into fw runtime
Needed for future changes.
Signed-off-by: Shahar S Matityahu <[email protected]>
Signed-off-by: Luca Coelho <[email protected]>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/fw/runtime.h')
| -rw-r--r-- | drivers/net/wireless/intel/iwlwifi/fw/runtime.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/fw/runtime.h b/drivers/net/wireless/intel/iwlwifi/fw/runtime.h index 0a4e13e4cc2c..40b92509085d 100644 --- a/drivers/net/wireless/intel/iwlwifi/fw/runtime.h +++ b/drivers/net/wireless/intel/iwlwifi/fw/runtime.h @@ -91,6 +91,20 @@ struct iwl_fwrt_shared_mem_cfg { #define IWL_FW_RUNTIME_DUMP_WK_NUM 5 /** + * struct iwl_txf_iter_data - Tx fifo iterator data struct + * @fifo: fifo number + * @lmac: lmac number + * @fifo_size: fifo size + * @internal_txf: non zero if fifo is internal Tx fifo + */ +struct iwl_txf_iter_data { + int fifo; + int lmac; + u32 fifo_size; + u8 internal_txf; +}; + +/** * struct iwl_fw_runtime - runtime data for firmware * @fw: firmware image * @cfg: NIC configuration @@ -143,7 +157,8 @@ struct iwl_fw_runtime { struct iwl_fw_ini_active_triggers active_trigs[IWL_FW_TRIGGER_ID_NUM]; u32 lmac_err_id[MAX_NUM_LMAC]; u32 umac_err_id; - void *fifo_iter; + + struct iwl_txf_iter_data txf_iter_data; struct timer_list periodic_trig; u8 img_name[IWL_FW_INI_MAX_IMG_NAME_LEN]; |
