openwrt / openwrt

This repository is a mirror of https://git.openwrt.org/openwrt/openwrt.git It is for reference only and is not active for check-ins. We will continue to accept Pull Requests here. They will be merged via staging trees then into openwrt.git.
Other
19.92k stars 10.35k forks source link

Xiaomi AX3600 IPQ8074 problem with WiFi - exception and radio is down #12815

Closed kmaras77 closed 1 year ago

kmaras77 commented 1 year ago

Describe the bug

Exception in kernel log, radio IPQ8074 down

[47.657144] qcom-q6v5-wcss-pil cd00000.q6v5_wcss: fatal error received: [ 47.657144] QC Image Version: QC_IMAGE_VERSION_STRING=WLAN.HK.2.9.0.1-01713-QCAHKSWPL_SILICONZ-1 [ 47.657144] Image Variant : IMAGE_VARIANT_STRING=8074.wlanfw.eval_v2Q [ 47.657144] [ 47.657144] :Excep :0 Exception detectedparam0 :zero, param1 :zero, param2 :zero. [ 47.657144] Thread ID : 0x00000061 Thread name : WLAN_SCHED1 Process ID : 0 [ 47.657144] Register: [ 47.657144] SP : 0x4bfd1858 [ 47.657144] FP : 0x4bfd1890 [ 47.657144] PC : 0x4b28e9f8 [ 47.657144] SSR : 0x00000003 [ 47.657144] BADVA : 0x00000000 [ 47.657144] LR : 0x4b28e9d8 [ 47.657144] [ 47.657144] Stack Dump [ 47.657144] from : 0x4bfd1858 [ 47.657144] to : 0x4bfd21e8 [ 47.657144] [ 47.704048] remoteproc remoteproc0: crash detected in cd00000.q6v5_wcss: type fatal error [ 47.726307] remoteproc remoteproc0: handling crash #1 in cd00000.q6v5_wcss [ 47.734348] remoteproc remoteproc0: recovering cd00000.q6v5_wcss [ 47.742001] ath11k c000000.wifi: failed to transmit frame -108 [ 47.767025] remoteproc remoteproc0: stopped remote processor cd00000.q6v5_wcss [ 47.801979] ath11k c000000.wifi: failed to transmit frame -108 [ 47.818950] ath11k c000000.wifi: failed to transmit frame -108 [ 47.819011] ath11k c000000.wifi: failed to transmit frame -108 [ 47.823746] ath11k c000000.wifi: failed to transmit frame -108 [ 47.853377] ath11k c000000.wifi: failed to transmit frame -108 [ 47.854953] ath11k c000000.wifi: failed to transmit frame -108 [ 47.858117] ath11k c000000.wifi: failed to transmit frame -108 [ 47.864038] ath11k c000000.wifi: failed to transmit frame -108 [ 47.869741] ath11k c000000.wifi: failed to transmit frame -108 [ 53.033344] qcom-q6v5-wcss-pil cd00000.q6v5_wcss: start timed out [ 53.033392] remoteproc remoteproc0: can't start rproc cd00000.q6v5_wcss: -110 [ 56.768263] ath11k_warn: 112 callbacks suppressed [ 56.768286] ath11k c000000.wifi: failed to send WMI_PDEV_BSS_CHAN_INFO_REQUEST cmd [ 56.771979] ath11k c000000.wifi: failed to send pdev bss chan info request [ 56.781111] ath11k c000000.wifi: failed to send WMI_PDEV_BSS_CHAN_INFO_REQUEST cmd [ 56.786331] ath11k c000000.wifi: failed to send pdev bss chan info request [ 56.794966] ath11k c000000.wifi: failed to send WMI_PDEV_BSS_CHAN_INFO_REQUEST cmd [ 56.800710] ath11k c000000.wifi: failed to send pdev bss chan info request [ 56.809974] ath11k c000000.wifi: failed to send WMI_PDEV_BSS_CHAN_INFO_REQUEST cmd [ 56.815150] ath11k c000000.wifi: failed to send pdev bss chan info request [ 56.823887] ath11k c000000.wifi: failed to send WMI_PDEV_BSS_CHAN_INFO_REQUEST cmd [ 56.829530] ath11k c000000.wifi: failed to send pdev bss chan info request [ 61.883324] ath11k_warn: 100 callbacks suppressed [ 61.883345] ath11k c000000.wifi: failed to send WMI_REQUEST_STATS cmd [ 61.887035] ath11k c000000.wifi: could not request fw stats (-108) [ 61.893487] ath11k c000000.wifi: failed to request fw pdev stats: -108 [ 61.899685] ath11k c000000.wifi: failed to send WMI_PDEV_BSS_CHAN_INFO_REQUEST cmd [ 61.906068] ath11k c000000.wifi: failed to send pdev bss chan info request [ 64.300970] ath11k c000000.wifi: failed to send WMI_PDEV_BSS_CHAN_INFO_REQUEST cmd [ 64.301021] ath11k c000000.wifi: failed to send pdev bss chan info request [ 64.307831] ath11k c000000.wifi: failed to send WMI_PDEV_SET_PARAM cmd [ 64.314411] ath11k c000000.wifi: Failed to set beacon mode for VDEV: 0 [ 64.320886] ath11k c000000.wifi: failed to send WMI_BCN_TMPL_CMDID [ 66.893407] ath11k_warn: 38 callbacks suppressed [ 66.893430] ath11k c000000.wifi: failed to send WMI_PDEV_BSS_CHAN_INFO_REQUEST cmd [ 66.897122] ath11k c000000.wifi: failed to send pdev bss chan info request [ 66.905972] ath11k c000000.wifi: failed to send WMI_PDEV_BSS_CHAN_INFO_REQUEST cmd [ 66.911357] ath11k c000000.wifi: failed to send pdev bss chan info request [ 66.920528] ath11k c000000.wifi: failed to send WMI_PDEV_BSS_CHAN_INFO_REQUEST cmd [ 66.925805] ath11k c000000.wifi: failed to send pdev bss chan info request [ 66.934273] ath11k c000000.wifi: failed to send WMI_PDEV_BSS_CHAN_INFO_REQUEST cmd [ 66.940176] ath11k c000000.wifi: failed to send pdev bss chan info request [ 66.948939] ath11k c000000.wifi: failed to send WMI_PDEV_BSS_CHAN_INFO_REQUEST cmd [ 66.954610] ath11k c000000.wifi: failed to send pdev bss chan info request [ 71.963250] ath11k_warn: 82 callbacks suppressed [ 71.963271] ath11k c000000.wifi: failed to send WMI_VDEV_INSTALL_KEY cmd [ 71.966963] ath11k c000000.wifi: ath11k_install_key failed (-108) [ 71.973670] phy2-ap0: failed to remove key (0, d4:f0:57:31:c1:e3) from hardware (-108) [ 72.014374] ath11k c000000.wifi: failed to send WMI_REQUEST_STATS cmd [ 72.014422] ath11k c000000.wifi: could not request fw stats (-108) [ 72.019804] ath11k c000000.wifi: failed to request fw pdev stats: -108 [ 72.026085] ath11k c000000.wifi: failed to send WMI_PDEV_BSS_CHAN_INFO_REQUEST cmd [ 72.032396] ath11k c000000.wifi: failed to send pdev bss chan info request [ 72.928204] ath11k c000000.wifi: failed to update rx tid queue, tid 0 (-108) [ 72.928253] ath11k c000000.wifi: failed to update reo for rx tid 0: -108 [ 72.934389] phy2-ap0: HW problem - can not stop rx aggregation for d4:f0:57:31:c1:e3 tid 0 [ 78.073246] ath11k c000000.wifi: failed to flush transmit queue, data pkts pending 9 [ 78.073318] ath11k c000000.wifi: failed to send WMI_VDEV_INSTALL_KEY cmd [ 78.080069] ath11k c000000.wifi: failed to remove peer key 0: -108 [ 78.086783] ath11k c000000.wifi: failed to clear all peer keys for vdev 0: -108 [ 78.092742] ath11k c000000.wifi: Failed to disassociate station: d4:f0:57:31:c1:e3 [ 78.100009] ------------[ cut here ]------------ [ 78.107581] WARNING: CPU: 2 PID: 2002 at sta_set_sinfo+0xc1c/0xca0 [mac80211] [ 78.112360] Modules linked in: xt_connlimit pppoe ppp_async nf_conncount ath11k_ahb ath11k ath10k_pci ath10k_core ath xt_state xt_helper xt_conntrack xt_connmark xt_connbytes xt_CT pppox ppp_generic nft_redir nft_nat nft_masq nft_flow_offload nft_fib_inet nft_ct nft_chain_nat nf_nat nf_flow_table_inet nf_flow_table nf_conntrack mac80211 ipt_REJECT cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_recent xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_ecn xt_dscp xt_comment xt_TCPMSS xt_LOG xt_HL xt_DSCP xt_CLASSIFY slhc qrtr_smd qrtr qmi_helpers nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_quota nft_objref nft_numgen nft_log nft_limit nft_hash nft_fib_ipv6 nft_fib_ipv4 nft_fib nf_tables nf_reject_ipv6 nf_reject_ipv4 nf_log_syslog nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat xt_set x_tables ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface [ 78.112627] ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ipmac ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ntfs cifs oid_registry cifs_md4 cifs_arc4 asn1_decoder dns_resolver nls_utf8 nls_iso8859_1 nls_cp437 crypto_user algif_skcipher algif_rng algif_hash algif_aead af_alg sha512_generic seqiv jitterentropy_rng drbg michael_mic md5 md4 hmac des_generic cmac arc4 leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_qcom qca_nss_dp qca_ssdk gpio_button_hotplug vfat fat f2fs ext4 mbcache jbd2 aquantia hwmon crc32c_generic crc32_generic [ 78.242205] CPU: 2 PID: 2002 Comm: hostapd Not tainted 6.1.31 #0 [ 78.264441] Hardware name: Xiaomi AX3600 (DT) [ 78.270601] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 78.274859] pc : sta_set_sinfo+0xc1c/0xca0 [mac80211] [ 78.281626] lr : sta_set_sinfo+0xb68/0xca0 [mac80211] [ 78.286834] sp : ffffffc00d23b880 [ 78.291864] x29: ffffffc00d23b880 x28: ffffff800297ec00 x27: ffffffc00d23bdc8 [ 78.295172] x26: ffffff8002075880 x25: ffffffc008c22900 x24: ffffffc000f41000 [ 78.302290] x23: ffffffc00d23ba70 x22: ffffff800f420900 x21: ffffff8010162aa8 [ 78.309408] x20: ffffff8006d90880 x19: ffffff8010162000 x18: 00000000000001d1 [ 78.316525] x17: 31333a37353a3066 x16: 3a3464203a6e6f69 x15: ffffffc008b27218 [ 78.323643] x14: 0000000000000573 x13: 00000000000001d1 x12: 00000000ffffffea [ 78.330762] x11: 00000000ffffefff x10: ffffffc008b7f218 x9 : ffffffc008b271c0 [ 78.337880] x8 : 0000000000017fe8 x7 : c0000000ffffefff x6 : 0000000000000001 [ 78.344997] x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffffff800297ec00 [ 78.352116] x2 : 0000000000000000 x1 : ffffff800297ec00 x0 : 00000000ffffff94 [ 78.359235] Call trace: [ 78.366342] sta_set_sinfo+0xc1c/0xca0 [mac80211] [ 78.368605] sta_info_destroy_addr_bss+0x50/0x74 [mac80211] [ 78.373467] ieee80211_color_change_finish+0x1ac8/0x1d70 [mac80211] [ 78.378851] cfg80211_check_station_change+0x11b8/0x4c30 [cfg80211] [ 78.385099] genl_family_rcv_msg_doit+0xb8/0x11c [ 78.391347] genl_rcv_msg+0x108/0x230 [ 78.396206] netlink_rcv_skb+0x5c/0x130 [ 78.399766] genl_rcv+0x38/0x50 [ 78.403410] netlink_unicast+0x1e8/0x2d4 [ 78.406537] netlink_sendmsg+0x1a0/0x3d0 [ 78.410703] __syssendmsg+0x1c8/0x270 [ 78.414610] sys_sendmsg+0x7c/0xc0 [ 78.418516] sys_sendmsg+0x48/0xb0 [ 78.422074] __arm64_sys_sendmsg+0x24/0x30 [ 78.425721] invoke_syscall.constprop.0+0x5c/0x104 [ 78.429629] do_el0_svc+0x58/0x17c [ 78.434400] el0_svc+0x18/0x54 [ 78.437784] el0t_64_sync_handler+0xf4/0x120 [ 78.440825] el0t_64_sync+0x174/0x178 [ 78.445252] ---[ end trace 0000000000000000 ]--- [ 78.448908] ath11k c000000.wifi: failed to send WMI_PEER_DELETE cmd [ 78.453526] ath11k c000000.wifi: failed to delete peer vdev_id 0 addr d4:f0:57:31:c1:e3 ret -108 [ 78.459499] ath11k c000000.wifi: Failed to delete peer: d4:f0:57:31:c1:e3 for VDEV: 0 [ 78.468540] ath11k c000000.wifi: Found peer entry 28:d1:27:4e:30:d8 n vdev 0 after it was supposedly removed [ 78.476305] ------------[ cut here ]------------ [ 78.486138] WARNING: CPU: 2 PID: 2002 at sta_set_sinfo+0xc44/0xca0 [mac80211] [ 78.490745] Modules linked in: xt_connlimit pppoe ppp_async nf_conncount ath11k_ahb ath11k ath10k_pci ath10k_core ath xt_state xt_helper xt_conntrack xt_connmark xt_connbytes xt_CT pppox ppp_generic nft_redir nft_nat nft_masq nft_flow_offload nft_fib_inet nft_ct nft_chain_nat nf_nat nf_flow_table_inet nf_flow_table nf_conntrack mac80211 ipt_REJECT cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_recent xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_ecn xt_dscp xt_comment xt_TCPMSS xt_LOG xt_HL xt_DSCP xt_CLASSIFY slhc qrtr_smd qrtr qmi_helpers nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_quota nft_objref nft_numgen nft_log nft_limit nft_hash nft_fib_ipv6 nft_fib_ipv4 nft_fib nf_tables nf_reject_ipv6 nf_reject_ipv4 nf_log_syslog nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat xt_set x_tables ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface [ 78.490943] ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ipmac ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ntfs cifs oid_registry cifs_md4 cifs_arc4 asn1_decoder dns_resolver nls_utf8 nls_iso8859_1 nls_cp437 crypto_user algif_skcipher algif_rng algif_hash algif_aead af_alg sha512_generic seqiv jitterentropy_rng drbg michael_mic md5 md4 hmac des_generic cmac arc4 leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_qcom qca_nss_dp qca_ssdk gpio_button_hotplug vfat fat f2fs ext4 mbcache jbd2 aquantia hwmon crc32c_generic crc32_generic [ 78.620592] CPU: 2 PID: 2002 Comm: hostapd Tainted: G W 6.1.31 #0 [ 78.642829] Hardware name: Xiaomi AX3600 (DT) [ 78.650376] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 78.654718] pc : sta_set_sinfo+0xc44/0xca0 [mac80211] [ 78.661487] lr : sta_set_sinfo+0xc40/0xca0 [mac80211] [ 78.666695] sp : ffffffc00d23b880 [ 78.671726] x29: ffffffc00d23b880 x28: ffffff800297ec00 x27: ffffffc00d23bdc8 [ 78.675032] x26: ffffff8002075880 x25: ffffffc008c22900 x24: ffffffc000f41000 [ 78.682150] x23: ffffffc00d23ba70 x22: ffffff800f420900 x21: ffffff8010162aa8 [ 78.689268] x20: ffffff8006d90880 x19: ffffff8010162000 x18: 00000000000001fe [ 78.696387] x17: 302076656476206e x16: 2038643a30333a65 x15: ffffffc008b27218 [ 78.703505] x14: 00000000000005fa x13: 00000000000001fe x12: 00000000ffffffea [ 78.710623] x11: 00000000ffffefff x10: ffffffc008b7f218 x9 : ffffffc008b271c0 [ 78.717740] x8 : 0000000000000024 x7 : ffffff801110d000 x6 : 0000000000008e20 [ 78.724859] x5 : ffffffc017480000 x4 : 0000000000000000 x3 : ffffff800297ec00 [ 78.731976] x2 : 0000000000000000 x1 : ffffff800297ec00 x0 : 00000000ffffff94 [ 78.739095] Call trace: [ 78.746203] sta_set_sinfo+0xc44/0xca0 [mac80211] [ 78.748466] sta_info_destroy_addr_bss+0x50/0x74 [mac80211] [ 78.753328] ieee80211_color_change_finish+0x1ac8/0x1d70 [mac80211] [ 78.758710] cfg80211_check_station_change+0x11b8/0x4c30 [cfg80211] [ 78.764960] genl_family_rcv_msg_doit+0xb8/0x11c [ 78.771207] genl_rcv_msg+0x108/0x230 [ 78.776066] netlink_rcv_skb+0x5c/0x130 [ 78.779626] genl_rcv+0x38/0x50 [ 78.783270] netlink_unicast+0x1e8/0x2d4 [ 78.786398] netlink_sendmsg+0x1a0/0x3d0 [ 78.790563] __sys_sendmsg+0x1c8/0x270 [ 78.794470] _sys_sendmsg+0x7c/0xc0 [ 78.798377] sys_sendmsg+0x48/0xb0 [ 78.801935] arm64_sys_sendmsg+0x24/0x30 [ 78.805581] invoke_syscall.constprop.0+0x5c/0x104 [ 78.809489] do_el0_svc+0x58/0x17c [ 78.814261] el0_svc+0x18/0x54 [ 78.817645] el0t_64_sync_handler+0xf4/0x120 [ 78.820686] el0t_64_sync+0x174/0x178 [ 78.825112] ---[ end trace 0000000000000000 ]--- [ 78.829298] ------------[ cut here ]------------ [ 78.833364] WARNING: CPU: 2 PID: 2002 at sta_info_free+0xac/0x11c [mac80211] [ 78.837967] Modules linked in: xt_connlimit pppoe ppp_async nf_conncount ath11k_ahb ath11k ath10k_pci ath10k_core ath xt_state xt_helper xt_conntrack xt_connmark xt_connbytes xt_CT pppox ppp_generic nft_redir nft_nat nft_masq nft_flow_offload nft_fib_inet nft_ct nft_chain_nat nf_nat nf_flow_table_inet nf_flow_table nf_conntrack mac80211 ipt_REJECT cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_recent xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_ecn xt_dscp xt_comment xt_TCPMSS xt_LOG xt_HL xt_DSCP xt_CLASSIFY slhc qrtr_smd qrtr qmi_helpers nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_quota nft_objref nft_numgen nft_log nft_limit nft_hash nft_fib_ipv6 nft_fib_ipv4 nft_fib nf_tables nf_reject_ipv6 nf_reject_ipv4 nf_log_syslog nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat xt_set x_tables ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface [ 78.838231] ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ipmac ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ntfs cifs oid_registry cifs_md4 cifs_arc4 asn1_decoder dns_resolver nls_utf8 nls_iso8859_1 nls_cp437 crypto_user algif_skcipher algif_rng algif_hash algif_aead af_alg sha512_generic seqiv jitterentropy_rng drbg michael_mic md5 md4 hmac des_generic cmac arc4 leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_qcom qca_nss_dp qca_ssdk gpio_button_hotplug vfat fat f2fs ext4 mbcache jbd2 aquantia hwmon crc32c_generic crc32_generic [ 78.967726] CPU: 2 PID: 2002 Comm: hostapd Tainted: G W 6.1.31 #0 [ 78.989963] Hardware name: Xiaomi AX3600 (DT) [ 78.997511] pstate: 00400005 (nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 79.001854] pc : sta_info_free+0xac/0x11c [mac80211] [ 79.008621] lr : sta_set_sinfo+0xbf8/0xca0 [mac80211] [ 79.013831] sp : ffffffc00d23b860 [ 79.018774] x29: ffffffc00d23b860 x28: ffffff800297ec00 x27: ffffffc00d23bdc8 [ 79.022081] x26: ffffff8002075880 x25: ffffffc008c22900 x24: ffffffc000f41000 [ 79.029199] x23: ffffffc00d23ba70 x22: ffffff800f420900 x21: ffffff8010162aa8 [ 79.036317] x20: ffffff8010162000 x19: 000000000000000f x18: 00000000000001fe [ 79.043435] x17: 302076656476206e x16: 2038643a30333a65 x15: ffffffc008b27218 [ 79.050553] x14: 00000000000002bd x13: 0000000000000001 x12: 0000000000000000 [ 79.057671] x11: 0000000000000002 x10: 00000000000008c0 x9 : ffffffc00d23b680 [ 79.064789] x8 : ffffff800297f520 x7 : ffffff801feba740 x6 : 000000000a26693f [ 79.071907] x5 : 0000000000000601 x4 : 0000000000000000 x3 : 0000000000000000 [ 79.079026] x2 : 0000000000000000 x1 : 0000000000000003 x0 : 0000000004100113 [ 79.086143] Call trace: [ 79.093252] sta_info_free+0xac/0x11c [mac80211] [ 79.095514] sta_set_sinfo+0xbf8/0xca0 [mac80211] [ 79.100374] sta_info_destroy_addr_bss+0x50/0x74 [mac80211] [ 79.104976] ieee80211_color_change_finish+0x1ac8/0x1d70 [mac80211] [ 79.110360] cfg80211_check_station_change+0x11b8/0x4c30 [cfg80211] [ 79.116610] genl_family_rcv_msg_doit+0xb8/0x11c [ 79.122857] genl_rcv_msg+0x108/0x230 [ 79.127716] netlink_rcv_skb+0x5c/0x130 [ 79.131275] genl_rcv+0x38/0x50 [ 79.134920] netlink_unicast+0x1e8/0x2d4 [ 79.138046] netlink_sendmsg+0x1a0/0x3d0 [ 79.142214] __sys_sendmsg+0x1c8/0x270 [ 79.146120] _sys_sendmsg+0x7c/0xc0 [ 79.150025] sys_sendmsg+0x48/0xb0 [ 79.153584] arm64_sys_sendmsg+0x24/0x30 [ 79.157231] invoke_syscall.constprop.0+0x5c/0x104 [ 79.161138] do_el0_svc+0x58/0x17c [ 79.165910] el0_svc+0x18/0x54 [ 79.169294] el0t_64_sync_handler+0xf4/0x120 [ 79.172335] el0t_64_sync+0x174/0x178 [ 79.176762] ---[ end trace 0000000000000000 ]--- [ 79.180474] ath11k c000000.wifi: failed to clear all peer keys for vdev 0: -2 [ 79.185040] ------------[ cut here ]------------ [ 79.192040] sta_info_move_state() returned -2 [ 79.196872] WARNING: CPU: 2 PID: 2002 at sta_info_free+0x114/0x11c [mac80211] [ 79.200988] Modules linked in: xt_connlimit pppoe ppp_async nf_conncount ath11k_ahb ath11k ath10k_pci ath10k_core ath xt_state xt_helper xt_conntrack xt_connmark xt_connbytes xt_CT pppox ppp_generic nft_redir nft_nat nft_masq nft_flow_offload nft_fib_inet nft_ct nft_chain_nat nf_nat nf_flow_table_inet nf_flow_table nf_conntrack mac80211 ipt_REJECT cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_recent xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_ecn xt_dscp xt_comment xt_TCPMSS xt_LOG xt_HL xt_DSCP xt_CLASSIFY slhc qrtr_smd qrtr qmi_helpers nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_quota nft_objref nft_numgen nft_log nft_limit nft_hash nft_fib_ipv6 nft_fib_ipv4 nft_fib nf_tables nf_reject_ipv6 nf_reject_ipv4 nf_log_syslog nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat xt_set x_tables ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface [ 79.201186] ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ipmac ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ntfs cifs oid_registry cifs_md4 cifs_arc4 asn1_decoder dns_resolver nls_utf8 nls_iso8859_1 nls_cp437 crypto_user algif_skcipher algif_rng algif_hash algif_aead af_alg sha512_generic seqiv jitterentropy_rng drbg michael_mic md5 md4 hmac des_generic cmac arc4 leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_qcom qca_nss_dp qca_ssdk gpio_button_hotplug vfat fat f2fs ext4 mbcache jbd2 aquantia hwmon crc32c_generic crc32_generic [ 79.330920] CPU: 2 PID: 2002 Comm: hostapd Tainted: G W 6.1.31 #0 [ 79.353158] Hardware name: Xiaomi AX3600 (DT) [ 79.360704] pstate: 40400005 (nZcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 79.365049] pc : sta_info_free+0x114/0x11c [mac80211] [ 79.371817] lr : sta_info_free+0x114/0x11c [mac80211] [ 79.377024] sp : ffffffc00d23b860 [ 79.382055] x29: ffffffc00d23b860 x28: ffffff800297ec00 x27: ffffffc00d23bdc8 [ 79.385361] x26: ffffff8002075880 x25: ffffffc008c22900 x24: ffffffc000f41000 [ 79.392481] x23: ffffffc00d23ba70 x22: ffffff800f420900 x21: ffffff8010162aa8 [ 79.399598] x20: ffffff8010162000 x19: 000000000000000f x18: 0000000000000254 [ 79.406715] x17: 2d203a3020766564 x16: 7620726f66207379 x15: ffffffc008b27218 [ 79.413835] x14: 00000000000006fc x13: 0000000000000254 x12: 00000000ffffffea [ 79.420952] x11: 00000000ffffefff x10: ffffffc008b7f218 x9 : ffffffc008b271c0 [ 79.428070] x8 : 0000000000017fe8 x7 : c0000000ffffefff x6 : 0000000000000001 [ 79.435188] x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000000 [ 79.442306] x2 : ffffff801feb81d0 x1 : ffffffc017480000 x0 : 0000000000000021 [ 79.449425] Call trace: [ 79.456533] sta_info_free+0x114/0x11c [mac80211] [ 79.458794] sta_set_sinfo+0xbf8/0xca0 [mac80211] [ 79.463655] sta_info_destroy_addr_bss+0x50/0x74 [mac80211] [ 79.468344] ieee80211_color_change_finish+0x1ac8/0x1d70 [mac80211] [ 79.473728] cfg80211_check_station_change+0x11b8/0x4c30 [cfg80211] [ 79.479978] genl_family_rcv_msg_doit+0xb8/0x11c [ 79.486224] genl_rcv_msg+0x108/0x230 [ 79.491084] netlink_rcv_skb+0x5c/0x130 [ 79.494643] genl_rcv+0x38/0x50 [ 79.498288] netlink_unicast+0x1e8/0x2d4 [ 79.501415] netlink_sendmsg+0x1a0/0x3d0 [ 79.505582] __syssendmsg+0x1c8/0x270 [ 79.509488] sys_sendmsg+0x7c/0xc0 [ 79.513393] sys_sendmsg+0x48/0xb0 [ 79.516952] __arm64_sys_sendmsg+0x24/0x30 [ 79.520599] invoke_syscall.constprop.0+0x5c/0x104 [ 79.524505] do_el0_svc+0x58/0x17c [ 79.529278] el0_svc+0x18/0x54 [ 79.532662] el0t_64_sync_handler+0xf4/0x120 [ 79.535703] el0t_64_sync+0x174/0x178 [ 79.540130] ---[ end trace 0000000000000000 ]--- [ 79.933249] phy1-ap0: failed to set key (1, ff:ff:ff:ff:ff:ff) to hardware (-108) [ 82.583247] phy2-ap0: failed to remove key (0, 3c:43:8e:2e:4a:5d) from hardware (-108) [ 82.663263] phy2-ap0: failed to remove key (0, dc:4f:22:a8:79:5c) from hardware (-108) [ 82.743261] phy2-ap0: failed to remove key (0, 2c:f4:32:b4:8b:88) from hardware (-108) [ 83.063247] phy2-ap0: failed to remove key (0, 34:2f:bd:26:57:a6) from hardware (-108) [ 83.547985] ath11k_warn: 40 callbacks suppressed [ 83.548009] ath11k c000000.wifi: failed to update rx tid queue, tid 0 (-108) [ 83.551704] ath11k c000000.wifi: failed to update reo for rx tid 0: -108 [ 83.558781] phy2-ap0: HW problem - can not stop rx aggregation for 3c:43:8e:2e:4a:5d tid 0 [ 88.633306] ath11k c000000.wifi: failed to flush transmit queue, data pkts pending 9 [ 88.633379] ath11k c000000.wifi: failed to send WMI_VDEV_INSTALL_KEY cmd [ 88.640172] ath11k c000000.wifi: failed to remove peer key 0: -108 [ 88.646851] ath11k c000000.wifi: failed to clear all peer keys for vdev 0: -108 [ 88.652804] ath11k c000000.wifi: Failed to disassociate station: 3c:43:8e:2e:4a:5d [ 88.660117] ath11k c000000.wifi: failed to send WMI_PEER_DELETE cmd [ 88.667667] ath11k c000000.wifi: failed to delete peer vdev_id 0 addr 3c:43:8e:2e:4a:5d ret -108 [ 88.673827] ath11k c000000.wifi: Failed to delete peer: 3c:43:8e:2e:4a:5d for VDEV: 0 [ 88.682841] ath11k c000000.wifi: Found peer entry 28:d1:27:4e:30:d8 n vdev 0 after it was supposedly removed [ 88.690901] ath11k c000000.wifi: failed to clear all peer keys for vdev 0: -2 [ 93.753331] ath11k_warn: 1 callbacks suppressed [ 93.753355] ath11k c000000.wifi: failed to flush transmit queue, data pkts pending 9 [ 93.756723] ath11k c000000.wifi: failed to send WMI_VDEV_INSTALL_KEY cmd [ 93.764717] ath11k c000000.wifi: failed to remove peer key 0: -108 [ 93.771367] ath11k c000000.wifi: failed to clear all peer keys for vdev 0: -108 [ 93.777374] ath11k c000000.wifi: Failed to disassociate station: dc:4f:22:a8:79:5c [ 93.784666] ath11k c000000.wifi: failed to send WMI_PEER_DELETE cmd [ 93.792202] ath11k c000000.wifi: failed to delete peer vdev_id 0 addr dc:4f:22:a8:79:5c ret -108 [ 93.798384] ath11k c000000.wifi: Failed to delete peer: dc:4f:22:a8:79:5c for VDEV: 0 [ 93.807408] ath11k c000000.wifi: Found peer entry 28:d1:27:4e:30:d8 n vdev 0 after it was supposedly removed [ 93.815463] ath11k c000000.wifi: failed to clear all peer keys for vdev 0: -2 [ 98.873384] ath11k_warn: 6 callbacks suppressed ... ....

WiFi config: config wifi-device 'radio1' option type 'mac80211' option path 'platform/soc/c000000.wifi' option band '5g' option htmode 'HE160' option disabled '0' option country 'US' option cell_density '0' option noscan '1' option channel '36' option he_bss_color '1' option su_beamformee '1' option mu_beamformer '1' option mu_beamformee '1'

config wifi-iface 'default_radio1' option device 'radio1' option network 'lan' option mode 'ap' option encryption 'psk2' option key 'xxxxxxxxxx' option ieee80211r '1' option ieee80211k '1' option ieee80211v '1' option dtim_period '3' option disassoc_low_ack '0' option ft_over_ds '1' option ft_psk_generate_local '1' option max_inactivity '30' option nasid 'xxxxxxxx' option mobility_domain 'xxxx' option ssid 'xxxxxx' option time_advertisement '2' option time_zone 'CET-1CEST,M3.5.0,M10.5.0/3' option bss_transition '1' option wnm_sleep_mode '1' option disabled '0'

config wifi-device 'radio2' option type 'mac80211' option path 'platform/soc/c000000.wifi+1' option channel '1' option band '2g' option country 'US' option cell_density '0' option htmode 'HE40' option noscan '1' option he_bss_color '1' option su_beamformee '1' option mu_beamformer '1' option mu_beamformee '1' option txpower '25'

config wifi-iface 'default_radio2' option device 'radio2' option network 'lan' option mode 'ap' option ssid 'xx' option encryption 'psk2' option key 'xxxxxxx' option ieee80211r '1' option ieee80211k '1' option ieee80211v '1' option dtim_period '3' option disassoc_low_ack '0' option ft_over_ds '1' option ft_psk_generate_local '1' option max_inactivity '30' option nasid 'xxxxxxx' option mobility_domain '3754' option time_advertisement '2' option time_zone 'CET-1CEST,M3.5.0,M10.5.0/3' option macfilter 'deny' list maclist 'xxxxx' list maclist 'xxxxxx' option wpa_disable_eapol_key_retries '1' option ieee80211w '1' option bss_transition '1' option wnm_sleep_mode '1'

OpenWrt version

r23262-b6e0a24c49

OpenWrt target/subtarget

ipq807x/generic

Device

Xiaomi AX3600

Image kind

Official downloaded image

Steps to reproduce

Build image and radio is down after few seconds.

Actual behaviour

Exception in kernel logs, and there is no WiFi.

Expected behaviour

No response

Additional info

No response

Diffconfig

No response

Terms

dick902 commented 1 year ago

I'm also encountered ŵith the same issue on Xiaomi AX9000, Xiaomi AX3600 and Dynalink DL-WRX36 with the latest firmware WLAN.HK.2.9.0.1-01713! After rollback to the previous firmware, problem solve.

robimarko commented 1 year ago

Did the previous 2.9.0.1-01385 FW work fine?

raulmorales commented 1 year ago

Hi,

in version r23147 and 2.9.0.1-01385 FW it works perfectly well

[ 10.097023] ath: Country alpha2 being used: US [ 10.097027] ath: Regpair used: 0x3a [ 10.107845] ath11k c000000.wifi: ipq8074 hw2.0 [ 10.107882] ath11k c000000.wifi: FW memory mode: 1 [ 10.111493] remoteproc remoteproc0: powering up cd00000.q6v5_wcss [ 10.116202] remoteproc remoteproc0: Booting fw image IPQ8074/q6_fw.mdt, size 668 [ 11.402107] remoteproc remoteproc0: remote processor cd00000.q6v5_wcss is now up [ 11.406780] kmodloader: done loading kernel modules from /etc/modules.d/* [ 11.446226] ath11k c000000.wifi: qmi ignore invalid mem req type 3 [ 11.453667] ath11k c000000.wifi: chip_id 0x0 chip_family 0x0 board_id 0xff soc_id 0xffffffff [ 11.453718] ath11k c000000.wifi: fw_version 0x290c84a5 fw_build_timestamp 2023-03-25 07:34 fw_build_id WLAN.HK.2.9.0.1-01385-QCAHKSWPL_SILICONZ-1 [ 11.703993] ath11k c000000.wifi: htt event 48 not handled

dick902 commented 1 year ago

Did the previous 2.9.0.1-01385 FW work fine?

2.9.0.1-01385 FW work for me without issue.

kmaras77 commented 1 year ago

With FW WLAN.HK.2.9.0.1-01385-QCAHKSWPL_SILICONZ-1 and OpenWrt 23.05-SNAPSHOT r23004 it generally works, but some errors occur and WiFi is disconnected for a while:

there is error in event log: [30562.239254] ath11k c000000.wifi: failed to flush transmit queue, data pkts pending 10 [33281.831166] ath11k c000000.wifi: failed to flush transmit queue, data pkts pending 2 [35098.385257] ath11k c000000.wifi: failed to flush transmit queue, data pkts pending 4 [35107.585228] ath11k c000000.wifi: failed to flush transmit queue, data pkts pending 1 [35763.663070] ath11k c000000.wifi: failed to flush transmit queue, data pkts pending 1

robimarko commented 1 year ago

Ok, I made a PR to revert to previous FW version.