forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
When trying to disconnect from Wi-Fi (either manually, but more often this happens on shutdown) the following errors are observed in dmesg:
[ 2492.275144] wlan0: deauthenticating from 60:e3:27:30:a7:0c by local choice (Reason: 3=DEAUTH_LEAVING)
[ 2495.459554] ath10k_snoc 18800000.wifi: failed to install key for vdev 0 peer 60:e3:27:30:a7:0c: -110
[ 2495.459605] wlan0: failed to remove key (0, 60:e3:27:30:a7:0c) from hardware (-110)
[ 2495.713730] qcom-q6v5-mss 4080000.remoteproc: fatal error received: err_qdi.c:459:EX:wlan_process:1:WLAN RT:207f:PC=b00c87e0
[ 2495.713786] remoteproc remoteproc0: crash detected in 4080000.remoteproc: type fatal error
[ 2495.713873] remoteproc remoteproc0: handling crash #1 in 4080000.remoteproc
[ 2495.713888] remoteproc remoteproc0: recovering 4080000.remoteproc
[ 2495.743237] ath10k_snoc 18800000.wifi: firmware crashed! (guid 53b5f397-eeb2-43b7-ba83-2241672bd6f2)
[ 2495.743370] ath10k_snoc 18800000.wifi: wcn3990 hw1.0 target 0x00000008 chip_id 0x00000000 sub 0000:0000
[ 2495.743393] ath10k_snoc 18800000.wifi: kconfig debug 1 debugfs 1 tracing 0 dfs 0 testmode 0
[ 2495.743423] ath10k_snoc 18800000.wifi: firmware ver 1.0.0.591 api 5 features wowlan,no-4addr-pad,allows-mesh-bcast,mgmt-tx-by-reference,non-bmi,single-chan-info-per-channel crc32 c256f0d6
[ 2495.743487] ath10k_snoc 18800000.wifi: board_file api 2 bmi_id N/A crc32 00000000
[ 2495.743508] ath10k_snoc 18800000.wifi: htt-ver 3.58 wmi-op 4 htt-op 3 cal file max-sta 32 raw 0 hwcrypto 1
[ 2495.820583] qcom-q6v5-mss 4080000.remoteproc: port failed halt
[ 2495.825913] remoteproc remoteproc0: stopped remote processor 4080000.remoteproc
[ 2495.935798] qcom-q6v5-mss 4080000.remoteproc: MBA booted without debug policy, loading mpss
[ 2497.687151] remoteproc remoteproc0: remote processor 4080000.remoteproc is now up
[ 2498.527530] ath10k_snoc 18800000.wifi: failed to set 2g txpower 40: -108
[ 2498.527571] ath10k_snoc 18800000.wifi: failed to setup tx power 20: -108
[ 2498.527605] ath10k_snoc 18800000.wifi: failed to set vdev wmm params on vdev 0: -108
[ 2498.527623] ath10k_snoc 18800000.wifi: failed to set vdev wmm params on vdev 0: -108
[ 2498.527638] ath10k_snoc 18800000.wifi: failed to set vdev wmm params on vdev 0: -108
[ 2498.527654] ath10k_snoc 18800000.wifi: failed to set vdev wmm params on vdev 0: -108
[ 2498.527674] ath10k_snoc 18800000.wifi: failed to stop WMI vdev 0: -108
[ 2498.527687] ath10k_snoc 18800000.wifi: failed to stop vdev 0: -108
[ 2498.527715] ath10k_snoc 18800000.wifi: failed to flush transmit queue (skip 1 ar-state 1): 1250
[ 2498.569965] ath10k_snoc 18800000.wifi: qmi not waiting for msa_ready indicator
[ 2500.554221] ieee80211 phy0: Hardware restart was requested
[ 2500.554346] ath10k_warn: 3 callbacks suppressed
[ 2500.554354] ath10k_snoc 18800000.wifi: failed to create WMI vdev 0: -108
[ 2500.758383] ath10k_snoc 18800000.wifi: device successfully recovered
After which Wi-Fi device is lost (appears as DOWN) and can't be reconnected without system reboot
ip a
xiaomi-whyred [~]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host noprefixroute
valid_lft forever preferred_lft forever
2: usb0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 9a:a0:60:75:95:95 brd ff:ff:ff:ff:ff:ff
inet 172.16.42.1/16 brd 172.16.255.255 scope global noprefixroute usb0
valid_lft forever preferred_lft forever
inet6 fe80::1947:fbd1:ff25:2a07/64 scope link noprefixroute
valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
link/ether 36:25:8c:55:f7:5c brd ff:ff:ff:ff:ff:ff permaddr 3a:a6:82:2b:02:e3
nmcli
xiaomi-whyred [~]# nmcli d
DEVICE TYPE STATE CONNECTION
usb0 ethernet connected USB Networking
lo loopback connected (externally) lo
wlan0 wifi disconnected --
p2p-dev-wlan0 wifi-p2p disconnected --
Executing
# ip link set dev wlan0 up
does not help, without any output in dmesg.
Doing
# modprobe -r ath10k_snoc ath10k_core
# modprobe ath10k_snoc
also does not help. It probes back, but wlan0 stays off
Reproducible on all my xiaomi devices I think, and probably on all 630/636/660 devices
Metadata
Metadata
Assignees
Labels
No labels