ath11k-qca6390-bringup-202012140938: rebate to v5.10 and MHI M2 workaround

Justin Mazzola Paluska jmp at justinmp.com
Sat Dec 19 11:44:26 EST 2020


Hi all,

I've gotten my card to work by instructing my card to connect to the 2.4 
GHz radio of my access point.  If I try to connect to the 5 GHz radio of 
my access point, I get the "firmware crashed: MHI_CB_SYS_ERROR" and the 
card is no longer usable until a reboot. I don't know if it matters, but 
the 5 GHz radio is configured to channel 116 (5.580 GHz), which is a DFS 
channel in my country (US).

The two radios share the same SSID and most of my gear seamlessly roams 
between the two frequency bands.

In more detail: my access point is a Netgear Nighthawk X4S R7800 running 
OpenWRT.  The two radios are configured as:

Radio 0:
Type: Qualcomm Atheros QCA9984 802.11nac
Channel: 116 (5.580 GHz)
Mode: Master
BSSID: 08:02:8E:94:AB:FC
Encryption: WPA2 PSK (CCMP)

Radio 1:
Type: Qualcomm Atheros QCA9984 802.11bgn
Channel: 11 (2.462 GHz)
Mode: Master
BSSID: 08:02:8E:94:AB:FD
Encryption: WPA2 PSK (CCMP)

Here's what happens when I connect to the 2.4 GHz radio:

[  688.970835] wlp86s0: authenticate with 08:02:8e:94:ab:fd
[  689.032396] wlp86s0: send auth to 08:02:8e:94:ab:fd (try 1/3)
[  689.046065] wlp86s0: authenticated
[  689.047849] wlp86s0: associate with 08:02:8e:94:ab:fd (try 1/3)
[  689.054698] wlp86s0: RX AssocResp from 08:02:8e:94:ab:fd (capab=0x431 
status=0 aid=4)
[  689.067401] wlp86s0: associated
[  689.087425] IPv6: ADDRCONF(NETDEV_CHANGE): wlp86s0: link becomes ready

Here's what happens when I disconnect from the 2.4 GHz radio:

[  742.131768] wlp86s0: deauthenticating from 08:02:8e:94:ab:fd by local 
choice (Reason: 3=DEAUTH_LEAVING)

If I change the card to connect to the 5 GHz radio, I get the following 
error:

[  805.141136] wlp86s0: authenticate with 08:02:8e:94:ab:fc
[  805.287367] ath11k_pci 0000:56:00.0: firmware crashed: MHI_CB_SYS_ERROR
[  806.214239] ath11k_pci 0000:56:00.0: failed to synchronize setup for 
vdev 0 start: -110
[  806.214247] ath11k_pci 0000:56:00.0: failed to start vdev 0 addr 
9c:b6:d0:3e:a1:c5 on freq 5580: -110
[  806.214248] ath11k_pci 0000:56:00.0: failed to delay vdev start: -110
[  806.214257] ath11k_pci 0000:56:00.0: failed to send WMI_PEER_DELETE cmd
[  806.214261] ath11k_pci 0000:56:00.0: failed to delete peer vdev_id 0 
addr 08:02:8e:94:ab:fc ret -108
[  806.214264] ath11k_pci 0000:56:00.0: Failed to add station: 
08:02:8e:94:ab:fc for VDEV: 0
[  806.214294] wlp86s0: failed to insert STA entry for the AP (error -110)
[  806.214331] ------------[ cut here ]------------
[  806.214349] WARNING: CPU: 6 PID: 773 at 
drivers/net/wireless/ath/ath11k/mac.c:5323 
ath11k_mac_op_unassign_vif_chanctx+0x1d8/0x2e0 [ath11k]
[  806.214351] Modules linked in: ctr(E) ccm(E) michael_mic(E) rfcomm(E) 
snd_seq_dummy(E) snd_hrtimer(E) snd_seq(E) snd_seq_device(E) cmac(E) 
algif_hash(E) algif_skcipher(E) af_alg(E) uvcvideo(E) 
videobuf2_vmalloc(E) videobuf2_memops(E) videobuf2_v4l2(E) 
videobuf2_common(E) videodev(E) mc(E) snd_soc_skl_hda_dsp(E) qrtr_mhi(E) 
snd_soc_hdac_hdmi(E) snd_soc_dmic(E) bnep(E) intel_rapl_msr(E) 
dell_laptop(E) dell_smm_hwmon(E) x86_pkg_temp_thermal(E) 
intel_powerclamp(E) coretemp(E) kvm_intel(E) kvm(E) irqbypass(E) 
snd_hda_codec_hdmi(E) snd_hda_codec_realtek(E) intel_cstate(E) qrtr(E) 
intel_uncore(E) snd_hda_codec_generic(E) ns(E) snd_sof_pci(E) 
snd_sof_intel_byt(E) snd_sof_intel_ipc(E) ath11k_pci(E) 
snd_sof_intel_hda_common(E) mhi(E) snd_sof_xtensa_dsp(E) snd_sof(E) 
ath11k(E) snd_sof_intel_hda(E) snd_soc_hdac_hda(E) snd_hda_ext_core(E) 
snd_soc_acpi_intel_match(E) qmi_helpers(E) snd_soc_acpi(E) 
ledtrig_audio(E) dell_wmi(E) snd_hda_intel(E) snd_intel_dspcfg(E) 
dell_smbios(E) pcspkr(E)
[  806.214417]  soundwire_intel(E) mac80211(E) serio_raw(E) 
efi_pstore(E) soundwire_generic_allocation(E) dcdbas(E) 
dell_wmi_descriptor(E) snd_soc_core(E) snd_compress(E) 
soundwire_cadence(E) soundwire_bus(E) wmi_bmof(E) snd_hda_codec(E) 
snd_hda_core(E) snd_hwdep(E) snd_pcm(E) snd_timer(E) iTCO_wdt(E) 
cfg80211(E) intel_pmc_bxt(E) snd(E) iTCO_vendor_support(E) watchdog(E) 
soundcore(E) libarc4(E) mei_me(E) hid_sensor_als(E) 
hid_sensor_trigger(E) mei(E) hid_sensor_iio_common(E) 
industrialio_triggered_buffer(E) hid_multitouch(E) joydev(E) 
kfifo_buf(E) industrialio(E) nls_ascii(E) nls_cp437(E) vfat(E) fat(E) 
processor_thermal_device(E) intel_rapl_common(E) intel_soc_dts_iosf(E) 
hci_uart(E) btqca(E) ucsi_acpi(E) btrtl(E) typec_ucsi(E) btbcm(E) 
tpm_crb(E) typec(E) btintel(E) bluetooth(E) tpm_tis(E) tpm_tis_core(E) 
tpm(E) rng_core(E) jitterentropy_rng(E) drbg(E) ansi_cprng(E) 
ecdh_generic(E) ecc(E) rfkill(E) int3403_thermal(E) 
int340x_thermal_zone(E) evdev(E) ac(E) intel_pmc_core(E) intel_hid(E)
[  806.214478]  acpi_pad(E) int3400_thermal(E) acpi_tad(E) 
acpi_thermal_rel(E) sparse_keymap(E) msr(E) parport_pc(E) ppdev(E) lp(E) 
parport(E) fuse(E) configfs(E) efivarfs(E) ip_tables(E) x_tables(E) 
autofs4(E) ext4(E) crc32c_generic(E) crc16(E) mbcache(E) jbd2(E) 
dm_crypt(E) dm_mod(E) hid_sensor_hub(E) intel_ishtp_hid(E) wacom(E) 
usbhid(E) hid_generic(E) crc32_pclmul(E) crc32c_intel(E) 
rtsx_pci_sdmmc(E) mmc_core(E) ghash_clmulni_intel(E) aesni_intel(E) 
libaes(E) crypto_simd(E) cryptd(E) glue_helper(E) psmouse(E) i915(E) 
i2c_i801(E) i2c_smbus(E) nvme(E) i2c_algo_bit(E) intel_lpss_pci(E) 
intel_lpss(E) drm_kms_helper(E) nvme_core(E) xhci_pci(E) xhci_hcd(E) 
cec(E) rtsx_pci(E) idma64(E) t10_pi(E) intel_ish_ipc(E) crc_t10dif(E) 
thunderbolt(E) usbcore(E) intel_ishtp(E) crct10dif_generic(E) 
crct10dif_pclmul(E) drm(E) crct10dif_common(E) wmi(E) button(E) 
battery(E) i2c_hid(E) hid(E) video(E)
[  806.214545] CPU: 6 PID: 773 Comm: wpa_supplicant Tainted: G        W 
I E     5.10.0+ #3
[  806.214547] Hardware name: Dell Inc. XPS 13 9310/0F7M4C, BIOS 1.1.4 
11/23/2020
[  806.214558] RIP: 0010:ath11k_mac_op_unassign_vif_chanctx+0x1d8/0x2e0 
[ath11k]
[  806.214561] Code: 8b 85 e0 02 00 00 4c 89 e9 be 10 00 00 00 4c 89 e7 
48 c7 c2 28 e2 39 c1 e8 65 5e 01 00 80 bd 98 03 00 00 00 0f 85 71 fe ff 
ff <0f> 0b e9 6a fe ff ff f0 80 a3 d8 16 00 00 fe f6 05 f2 7e 05 00 10
[  806.214562] RSP: 0018:ffffac5240bf7800 EFLAGS: 00010246
[  806.214565] RAX: 0000000000000000 RBX: ffff9a561b291240 RCX: 
0000000000000000
[  806.214566] RDX: ffff9a56dfcb2c00 RSI: ffff9a56c5a5f548 RDI: 
ffff9a56df05b5d8
[  806.214567] RBP: ffff9a56c5a5f548 R08: ffff9a56c5a5e940 R09: 
ffffac5240bf7650
[  806.214568] R10: ffffac5240bf7648 R11: ffffffffa44c1da8 R12: 
ffff9a56c5a20000
[  806.214570] R13: ffff9a561b291298 R14: ffff9a56df059ec0 R15: 
ffff9a56df05b5d8
[  806.214572] FS:  00007f337e7231c0(0000) GS:ffff9a56ef780000(0000) 
knlGS:0000000000000000
[  806.214573] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  806.214575] CR2: 00007f3aa91e8000 CR3: 0000000857a66001 CR4: 
0000000000770ee0
[  806.214576] PKRU: 55555554
[  806.214578] Call Trace:
[  806.214621]  ieee80211_assign_vif_chanctx+0x8b/0x420 [mac80211]
[  806.214627]  ? mutex_lock+0xe/0x30
[  806.214637]  ? ath11k_mac_op_bss_info_changed+0x3c/0xaf0 [ath11k]
[  806.214668]  __ieee80211_vif_release_channel+0x4f/0x130 [mac80211]
[  806.214696]  ieee80211_vif_release_channel+0x3a/0x50 [mac80211]
[  806.214735]  ieee80211_mgd_auth.cold+0x10a/0x164 [mac80211]
[  806.214768]  cfg80211_mlme_auth+0x127/0x210 [cfg80211]
[  806.214792]  nl80211_authenticate+0x2a1/0x2f0 [cfg80211]
[  806.214800]  genl_family_rcv_msg_doit+0xea/0x150
[  806.214805]  genl_rcv_msg+0xde/0x1d0
[  806.214826]  ? nl80211_parse_key+0x2f0/0x2f0 [cfg80211]
[  806.214829]  ? genl_get_cmd+0xd0/0xd0
[  806.214832]  netlink_rcv_skb+0x50/0xf0
[  806.214838]  genl_rcv+0x24/0x40
[  806.214841]  netlink_unicast+0x201/0x2c0
[  806.214844]  netlink_sendmsg+0x243/0x480
[  806.214849]  sock_sendmsg+0x5e/0x60
[  806.214852]  ____sys_sendmsg+0x22e/0x270
[  806.214857]  ? import_iovec+0x2d/0x30
[  806.214859]  ? sendmsg_copy_msghdr+0x7c/0xa0
[  806.214862]  ___sys_sendmsg+0x75/0xb0
[  806.214867]  ? unix_ioctl+0x56/0x70
[  806.214870]  ? sock_do_ioctl+0x3c/0x130
[  806.214875]  ? __cgroup_bpf_run_filter_setsockopt+0xbe/0x310
[  806.214877]  __sys_sendmsg+0x59/0xa0
[  806.214881]  do_syscall_64+0x33/0x80
[  806.214885]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[  806.214888] RIP: 0033:0x7f337eb6a263
[  806.214891] Code: 64 89 02 48 c7 c0 ff ff ff ff eb b7 66 2e 0f 1f 84 
00 00 00 00 00 90 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 2e 00 00 00 0f 
05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 89 54 24 1c 48
[  806.214892] RSP: 002b:00007ffd1642b958 EFLAGS: 00000246 ORIG_RAX: 
000000000000002e
[  806.214895] RAX: ffffffffffffffda RBX: 000055edc653c960 RCX: 
00007f337eb6a263
[  806.214896] RDX: 0000000000000000 RSI: 00007ffd1642b990 RDI: 
0000000000000006
[  806.214897] RBP: 000055edc65ab430 R08: 0000000000000004 R09: 
000055edc6533010
[  806.214898] R10: 00007ffd1642ba64 R11: 0000000000000246 R12: 
000055edc653c870
[  806.214899] R13: 00007ffd1642b990 R14: 00007ffd1642ba64 R15: 
000055edc656cc20
[  806.214902] ---[ end trace 5b5187a245390600 ]---
[  806.214907] ath11k_pci 0000:56:00.0: failed to submit WMI_VDEV_STOP cmd
[  806.214909] ath11k_pci 0000:56:00.0: failed to stop WMI vdev 0: -108
[  806.214911] ath11k_pci 0000:56:00.0: failed to stop vdev 0: -108
[  810.319874] ath11k_warn: 8 callbacks suppressed
[  810.319880] ath11k_pci 0000:56:00.0: failed to send WMI_START_SCAN_CMDID
[  810.319885] ath11k_pci 0000:56:00.0: failed to start hw scan: -108
[  811.321072] ath11k_pci 0000:56:00.0: failed to send WMI_START_SCAN_CMDID
[  811.321076] ath11k_pci 0000:56:00.0: failed to start hw scan: -108
[  812.321919] ath11k_pci 0000:56:00.0: failed to send WMI_START_SCAN_CMDID
[  812.321923] ath11k_pci 0000:56:00.0: failed to start hw scan: -108
[  812.622038] ath11k_pci 0000:56:00.0: fail to set monitor filter: -108
[  812.622077] ath11k_pci 0000:56:00.0: failed to submit 
WMI_VDEV_DELETE_CMDID
[  812.622080] ath11k_pci 0000:56:00.0: failed to delete WMI vdev 0: -108
[  812.622082] ath11k_pci 0000:56:00.0: removing stale peer 
08:02:8e:94:ab:fc from vdev_id 0
[  812.622096] ath11k_pci 0000:56:00.0: failed to clear rx_filter for 
monitor status ring: (-108)
[  812.650327] ath11k_pci 0000:56:00.0: failed to enable PMF QOS: (-108

The card is then unusable until I reboot the machine.  Doing a modprobe 
-r ath11k_pci and modprobe ath11k_pci doesn't help.
      --Justin



More information about the ath11k mailing list