wifi: iwlwifi: mvm: extend STEP URM workaround for new devices
authorJohannes Berg <johannes.berg@intel.com>
Mon, 15 Apr 2024 08:54:37 +0000 (11:54 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 19 Apr 2024 08:15:44 +0000 (10:15 +0200)
The same applies for newer devices (currently SC), so just
change the condition here.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240415114847.db62bba6b2fa.Ie7fdc75c0b8759574a8744f0a316065cb791dd82@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/fw.c

index 1f8d4723512f3f637802ca66706503fe13b72074..5958e48d812b11dabcd51941a09768ad08b84199 100644 (file)
@@ -666,7 +666,7 @@ static int iwl_run_unified_mvm_ucode(struct iwl_mvm *mvm)
        iwl_dbg_tlv_time_point(&mvm->fwrt, IWL_FW_INI_TIME_POINT_AFTER_ALIVE,
                               NULL);
 
-       if (mvm->trans->trans_cfg->device_family == IWL_DEVICE_FAMILY_BZ)
+       if (mvm->trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_BZ)
                mvm->trans->step_urm = !!(iwl_read_umac_prph(mvm->trans,
                                                             CNVI_PMU_STEP_FLOW) &
                                                CNVI_PMU_STEP_FLOW_FORCE_URM);