diff mbox series

[SRU,Jammy:linux-intel-iotg,1/1] UBUNTU: SAUCE: (no-up) iwlwifi: restrict AX210 (8086:6024) max fw api version to 63

Message ID 20230707132813.16647-2-jianhui.lee@canonical.com
State New
Headers show
Series AX210 (8086:6024) WLAN init failed ucode -5 on 5.15 intel IoTG kernel | expand

Commit Message

Jian Hui Lee July 7, 2023, 1:28 p.m. UTC
BugLink: https://bugs.launchpad.net/bugs/2026470

The ucode version 66 would not be loaded successfully on this model with
the folloing error messages:

[    5.704854] iwlwifi 0000:01:00.0: Detected RF GF, rfid=0x10d000
[    5.706056] iwlwifi 0000:01:00.0: Microcode SW error detected. Restarting 0x0.
[    5.706258] iwlwifi 0000:01:00.0: Start IWL Error Log Dump:
[    5.706265] iwlwifi 0000:01:00.0: Transport status: 0x0000004A, valid: 6
[    5.706273] iwlwifi 0000:01:00.0: Loaded firmware version: 66.f1c864e0.0 ty-a0-gf-a0-66.ucode
[    5.706281] iwlwifi 0000:01:00.0: 0x00000071 | NMI_INTERRUPT_UMAC_FATAL
[    5.706288] iwlwifi 0000:01:00.0: 0x002002F0 | trm_hw_status0
[    5.706294] iwlwifi 0000:01:00.0: 0x00000000 | trm_hw_status1
[    5.706299] iwlwifi 0000:01:00.0: 0x004DA722 | branchlink2
[    5.706306] iwlwifi 0000:01:00.0: 0x004D0CCE | interruptlink1
[    5.706311] iwlwifi 0000:01:00.0: 0x004D0CCE | interruptlink2
...
[    6.726292] iwlwifi 0000:01:00.0: Failed to run INIT ucode: -5

Since ucode version 63 works well on this, and we did the api version
limitation to the same series model (8086:6020) before, so do the same
trick as well.

Signed-off-by: Jian Hui Lee <jianhui.lee@canonical.com>
---
 drivers/net/wireless/intel/iwlwifi/pcie/drv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/net/wireless/intel/iwlwifi/pcie/drv.c b/drivers/net/wireless/intel/iwlwifi/pcie/drv.c
index c74103ec8d5d..1b0d11801d30 100644
--- a/drivers/net/wireless/intel/iwlwifi/pcie/drv.c
+++ b/drivers/net/wireless/intel/iwlwifi/pcie/drv.c
@@ -624,7 +624,7 @@  static const struct iwl_dev_info iwl_dev_info_table[] = {
 	IWL_DEV_INFO(0x2725, 0xE024, iwlax210_2ax_cfg_ty_gf_a0, NULL),
 	IWL_DEV_INFO(0x2725, 0x4020, iwlax210_2ax_cfg_ty_gf_a0, NULL),
 	IWL_DEV_INFO(0x2725, 0x6020, iwlax210_2ax_cfg_ty_gf_a0_lock_ucode_v63, NULL),
-	IWL_DEV_INFO(0x2725, 0x6024, iwlax210_2ax_cfg_ty_gf_a0, NULL),
+	IWL_DEV_INFO(0x2725, 0x6024, iwlax210_2ax_cfg_ty_gf_a0_lock_ucode_v63, NULL),
 	IWL_DEV_INFO(0x2725, 0x1673, iwlax210_2ax_cfg_ty_gf_a0, iwl_ax210_killer_1675w_name),
 	IWL_DEV_INFO(0x2725, 0x1674, iwlax210_2ax_cfg_ty_gf_a0, iwl_ax210_killer_1675x_name),
 	IWL_DEV_INFO(0x7A70, 0x0090, iwlax211_2ax_cfg_so_gf_a0_long, NULL),