openwrt/package/firmware/ipq-wifi
Sven Eckelmann 1c95d78f08 ipq-wifi: Work around Plasma Cloud PA1200 5GHz crash
It was noticed [1] that the ath10k firmware crashes on 5GHz since OpenWrt
21.02.0. The problem seems to be triggered by the the nonLinearTxFir field
in the 5GHz BDF. If baseEepHeader.nonLinearTxFir (offset 0xc2) is 1 then
the firmware just crashes when setting up the 5Ghz radio using `ifconfig
wlan1 up`:

  ath10k_ahb a800000.wifi: firmware crashed! (guid 9e36ee82-4d2c-4c63-b20b-609a1eaca30c)
  ath10k_ahb a800000.wifi: qca4019 hw1.0 target 0x01000000 chip_id 0x003b00ff sub 0000:0000
  ath10k_ahb a800000.wifi: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
  ath10k_ahb a800000.wifi: firmware ver 10.4-3.6-00140 api 5 features no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast,no-ps crc32 ba79b746
  ath10k_ahb a800000.wifi: board_file api 2 bmi_id 0:17 crc32 5f400efc
  ath10k_ahb a800000.wifi: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 512 raw 0 hwcrypto 1
  ath10k_ahb a800000.wifi: firmware register dump:
  ath10k_ahb a800000.wifi: [00]: 0x0000000B 0x000015B3 0x009C3C27 0x00975B31
  ath10k_ahb a800000.wifi: [04]: 0x009C3C27 0x00060530 0x00000018 0x004176B8
  ath10k_ahb a800000.wifi: [08]: 0x00405A50 0x00412A30 0x00000000 0x00000000
  ath10k_ahb a800000.wifi: [12]: 0x00000009 0x00000000 0x009B9742 0x009B974F
  ath10k_ahb a800000.wifi: [16]: 0x00971238 0x009B9742 0x00000000 0x00000000
  ath10k_ahb a800000.wifi: [20]: 0x409C3C27 0x004053DC 0x00000D2C 0x00405A60
  ath10k_ahb a800000.wifi: [24]: 0x809C3E13 0x0040543C 0x00000000 0xC09C3C27
  ath10k_ahb a800000.wifi: [28]: 0x809B9AC5 0x0040547C 0x00412A30 0x0040549C
  ath10k_ahb a800000.wifi: [32]: 0x809B8ECD 0x0040549C 0x00000001 0x00412A30
  ath10k_ahb a800000.wifi: [36]: 0x809B8FF3 0x004054CC 0x00412838 0x00000014
  ath10k_ahb a800000.wifi: [40]: 0x809BEF98 0x0040551C 0x0041627C 0x00000002
  ath10k_ahb a800000.wifi: [44]: 0x80986D47 0x0040553C 0x0041627C 0x00416A88
  ath10k_ahb a800000.wifi: [48]: 0x809CBB0A 0x0040559C 0x0041ACC0 0x00000000
  ath10k_ahb a800000.wifi: [52]: 0x809864EE 0x0040560C 0x0041ACC0 0x00000001
  ath10k_ahb a800000.wifi: [56]: 0x809CA8A4 0x0040564C 0x0041ACC0 0x00000001
  ath10k_ahb a800000.wifi: Copy Engine register dump:
  ath10k_ahb a800000.wifi: [00]: 0x0004a000  14  14   3   3
  ath10k_ahb a800000.wifi: [01]: 0x0004a400  16  16  22  23
  ath10k_ahb a800000.wifi: [02]: 0x0004a800   3   3   2   3
  ath10k_ahb a800000.wifi: [03]: 0x0004ac00  15  15  15  15
  ath10k_ahb a800000.wifi: [04]: 0x0004b000   4   4  44   4
  ath10k_ahb a800000.wifi: [05]: 0x0004b400   3   3   2   3
  ath10k_ahb a800000.wifi: [06]: 0x0004b800   1   1   1   1
  ath10k_ahb a800000.wifi: [07]: 0x0004bc00   1   1   1   1
  ath10k_ahb a800000.wifi: [08]: 0x0004c000   0   0 127   0
  ath10k_ahb a800000.wifi: [09]: 0x0004c400   0   0   0   0
  ath10k_ahb a800000.wifi: [10]: 0x0004c800   0   0   0   0
  ath10k_ahb a800000.wifi: [11]: 0x0004cc00   0   0   0   0
  ath10k_ahb a800000.wifi: failed to update channel list: -108
  ath10k_ahb a800000.wifi: failed to set pdev regdomain: -108
  ath10k_ahb a800000.wifi: failed to create WMI vdev 0: -108
  ieee80211 phy1: Hardware restart was requested

Since no actual solution is known (besides downgrading the ath10k firmware)
it seems to be better to disable the nonLinearTxFir for now.

[1] https://lore.kernel.org/ath10k/3423718.UToCqzeSYe@ripper/

Signed-off-by: Sven Eckelmann <sven@narfation.org>
(cherry picked from commit 8b09070820)
2021-09-25 18:39:53 +02:00
..
board-8dev_habanero-dvk.qca4019 ipq40xx: add support for 8devices Habanero DVK 2020-03-09 00:53:50 +01:00
board-aruba_ap-303.qca4019 ipq-wifi: add BDF for Aruba AP-303 2019-12-20 17:48:52 +01:00
board-avm_fritzrepeater-1200.qca4019 ipq-wifi: add AVM FRITZ!Repeater 1200 bdf 2019-10-23 01:17:28 +02:00
board-buffalo_wtr-m2133hp.qca4019 ipq40xx: add support for Buffalo WTR-M2133HP 2020-07-08 16:07:05 +02:00
board-buffalo_wtr-m2133hp.qca9984 ipq40xx: add support for Buffalo WTR-M2133HP 2020-07-08 16:07:05 +02:00
board-cellc_rtl30vw.qca4019 ipq40xx: add support for Cell C RTL30VW 2020-04-10 15:22:26 +02:00
board-devolo_magic-2-wifi-next.qca4019 ipq40xx: add support for devolo Magic 2 WiFi next 2020-12-22 20:55:40 +01:00
board-dlink_dap2610.qca4019 ipq40xx: Add support for D-Link DAP-2610 2020-01-26 01:20:45 +01:00
board-edgecore_ecw5410.qca9984 ipq806x: add Edgecore ECW5410 support 2020-09-17 08:42:17 +02:00
board-edgecore_oap100.qca4019 ipq40xx: add Edgecore OAP-100 support 2020-09-17 08:43:07 +02:00
board-engenius_eap2200.qca4019 ipq40xx: add support for EnGenius EAP2200 2020-02-28 22:29:10 +01:00
board-engenius_eap2200.qca9888 ipq40xx: add support for EnGenius EAP2200 2020-02-28 22:29:10 +01:00
board-engenius_emd1.qca4019 ipq40xx: add support for EnGenius EMD1 2020-01-26 01:20:45 +01:00
board-engenius_emr3500.qca4019 ipq40xx: add support for EnGenius EMR3500 2020-06-13 14:38:03 +02:00
board-ezviz_cs-w3-wd1200g-eup.qca4019 ipq40xx: add support for EZVIZ CS-W3-WD1200G EUP 2020-01-12 15:57:58 +01:00
board-glinet_gl-ap1300.qca4019 ipq40xx: add support for GL.iNet GL-AP1300 2020-12-25 10:38:13 +01:00
board-glinet_gl-s1300.qca4019 ipq40xx: add support for GL.iNet GL-S1300 2020-07-08 16:07:05 +02:00
board-linksys_ea8300.qca4019 ipq40xx: Add support for Linksys EA8300 (Dallas) 2019-05-18 13:43:54 +02:00
board-linksys_ea8300.qca9888 ipq40xx: Add support for Linksys EA8300 (Dallas) 2019-05-18 13:43:54 +02:00
board-linksys_mr8300-v0.qca4019 ipq40xx: Add support for Linksys MR8300 (Dallas) 2020-09-25 19:31:51 +02:00
board-linksys_mr8300-v0.qca9888 ipq40xx: Add support for Linksys MR8300 (Dallas) 2020-09-25 19:31:51 +02:00
board-luma_wrtq-329acn.qca4019 ipq40xx: add support for Luma Home WRTQ-329ACN 2020-09-25 19:30:19 +02:00
board-mikrotik_hap-ac2.qca4019 ipq40xx: add MikroTik hAP ac2 support 2021-05-03 14:57:29 +02:00
board-mikrotik_sxtsq-5-ac.qca4019 ipq40xx: add support for MikroTik SXTsq 5 ac 2021-05-03 14:57:29 +02:00
board-mobipromo_cm520-79f.qca4019 ipq40xx: add support for MobiPromo CM520-79F 2020-04-10 15:22:26 +02:00
board-nec_wg2600hp3.qca9984 ipq806x: add support for NEC Platforms Aterm WG2600HP3 2020-12-25 10:38:13 +01:00
board-plasmacloud_pa1200.qca4019 ipq-wifi: Work around Plasma Cloud PA1200 5GHz crash 2021-09-25 18:39:53 +02:00
board-plasmacloud_pa2200.qca4019 ipq-wifi: Fix suffix for Plasma Cloud PA2200 QCA4019 board-2.bin 2020-12-25 10:38:13 +01:00
board-plasmacloud_pa2200.qca9888 ipq40xx: add support for Plasma Cloud PA2200 2020-12-22 19:11:50 +01:00
board-qxwlan_e2600ac.qca4019 ipq-wifi: drop deprecated .bin support 2020-01-26 01:20:46 +01:00
Makefile ipq40xx: add support for MikroTik SXTsq 5 ac 2021-05-03 14:57:29 +02:00