wifi: iwlwifi: mvm: add firmware debug points for EMLSR entry / exit
This will help to dump the firmware logs at the right spot if needed. Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Link: https://patch.msgid.link/20240729201718.3a91e89e32f8.Ieb28d7756c47dee52c912a71abe82fa0b08b19da@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
committed by
Johannes Berg
parent
2b7ee1a10a
commit
db9979d5aa
@@ -476,6 +476,8 @@ enum iwl_fw_ini_region_device_memory_subtype {
|
||||
* @IWL_FW_INI_TIME_POINT_PRESET_OVERRIDE_START: start handling override preset
|
||||
* request
|
||||
* @IWL_FW_INI_TIME_SCAN_FAILURE: failed scan channel list
|
||||
* @IWL_FW_INI_TIME_ESR_LINK_UP: EMLSR is active (several links are activated)
|
||||
* @IWL_FW_INI_TIME_ESR_LINK_DOWN: EMLSR is inactive (only one active link left)
|
||||
* @IWL_FW_INI_TIME_POINT_NUM: number of time points
|
||||
*/
|
||||
enum iwl_fw_ini_time_point {
|
||||
@@ -509,6 +511,8 @@ enum iwl_fw_ini_time_point {
|
||||
IWL_FW_INI_TIME_POINT_PRESET_OVERRIDE_EXT_REQ,
|
||||
IWL_FW_INI_TIME_POINT_PRESET_OVERRIDE_START,
|
||||
IWL_FW_INI_TIME_SCAN_FAILURE,
|
||||
IWL_FW_INI_TIME_ESR_LINK_UP,
|
||||
IWL_FW_INI_TIME_ESR_LINK_DOWN,
|
||||
IWL_FW_INI_TIME_POINT_NUM,
|
||||
}; /* FW_TLV_DEBUG_TIME_POINT_API_E */
|
||||
|
||||
|
||||
@@ -269,6 +269,9 @@ static int iwl_mvm_esr_mode_active(struct iwl_mvm *mvm,
|
||||
*/
|
||||
iwl_mvm_restart_mpdu_count(mvm, mvmvif);
|
||||
|
||||
iwl_dbg_tlv_time_point(&mvm->fwrt, IWL_FW_INI_TIME_ESR_LINK_UP,
|
||||
NULL);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -456,6 +459,9 @@ static int iwl_mvm_esr_mode_inactive(struct iwl_mvm *mvm,
|
||||
/* Start a new counting window */
|
||||
iwl_mvm_restart_mpdu_count(mvm, mvmvif);
|
||||
|
||||
iwl_dbg_tlv_time_point(&mvm->fwrt, IWL_FW_INI_TIME_ESR_LINK_DOWN,
|
||||
NULL);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user