diff options
author | Shahar S Matityahu <shahar.s.matityahu@intel.com> | 2019-05-16 10:56:30 +0300 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2019-06-29 10:09:43 +0300 |
commit | 029c25f36343fe72fe1a80dcfc03ba34b0354de2 (patch) | |
tree | 9896844d42f0c1a4884a8288d1a6ecb22d63d141 /drivers/net/wireless/intel/iwlwifi/iwl-trans.h | |
parent | d374f3157fa4b3ffd830b41ecf25457781b8526b (diff) | |
download | linux-029c25f36343fe72fe1a80dcfc03ba34b0354de2.tar.xz |
iwlwifi: dbg_ini: fix debug monitor stop and restart in ini mode
In ini debug mode the recording does not restart unless legacy monitor
configuration is also given.
Add dbg_ini_dest field to trans to indicate the debug monitor
destination to solve this.
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/iwl-trans.h')
-rw-r--r-- | drivers/net/wireless/intel/iwlwifi/iwl-trans.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/iwl-trans.h b/drivers/net/wireless/intel/iwlwifi/iwl-trans.h index 90707c576ce4..0f8aeb111b0e 100644 --- a/drivers/net/wireless/intel/iwlwifi/iwl-trans.h +++ b/drivers/net/wireless/intel/iwlwifi/iwl-trans.h @@ -738,6 +738,7 @@ struct iwl_self_init_dram { * @num_blocks: number of blocks in fw_mon * @fw_mon: address of the buffers for firmware monitor * @hw_error: equals true if hw error interrupt was received from the FW + * @ini_dest: debug monitor destination uses &enum iwl_fw_ini_buffer_location */ struct iwl_trans_debug { u8 n_dest_reg; @@ -761,6 +762,7 @@ struct iwl_trans_debug { struct iwl_dram_data fw_mon[IWL_FW_INI_APPLY_NUM]; bool hw_error; + enum iwl_fw_ini_buffer_location ini_dest; }; /** |