Adding OpenWrt support for Xiaomi AX3600

Try setting country to US in all radios, that works for me.
After changing channel, sometimes it takes 30secs to 1min for the SSID to show up, could be because of radar detection, I don't know.
If that works, try your country.

From what I had read, AX210 auto selects it's country, so also see what is allowed.
EDIT:
https://www.intel.com/content/www/us/en/products/docs/wireless/wi-fi-6e-ax210-module-brief.html

The Intel® Wi-Fi 6E AX210 module detects its location and automatically optimizes the Wi-Fi settings to local regulatory requirements, maximizing performance in each geography, simplifying travel experience and global enterprise procurement.

@robimarko
I can't and could never select channels 12-13 in 2.4Ghz, selecting EU countries.

i'm using 160Mhz on channel 100 with an AX210NGW and it works fine.
2401.9 Mbit/s, 160 MHz, HE-MCS 11, HE-NSS 2

Did you wait for DFS ?

Putting the Country to US made the router visible from laptop. Before was Driver default.
Thank you

1 Like

The irony is that by rules they should be allowed, but as you know its all a black box

2 Likes

Just pushed an update to expose the RTC and ADC inside of the PMIC.
RTC itself works, but none of the boards we support have a battery backup connected so it loses time after power loss, so its currently disabled in the DTS by default.

ADC channels are cool, they tell us various reference voltages, 3.3V input into PMIC, its temperature etc.
There are 3 PA thermistors as well that depend on the vendor whether they have connected them or not.

5 Likes

Installed this version and working perfectly. Waiting for the time you can make the PR :slight_smile: Great work again as always...

The need to flash several times the sysupgrade is getting annoying. One of my nodes has been upgraded with only two sysupgrades, the other has needed SEVEN of them...No idea of how this can be fixed?

Some suggested to stop wifi before sysupgrade:
/etc/init.d/wpad stop

It has helped me.

3 Likes

Hello, yesterday I updated "Updated prebuilt images 2022-05-20", on the AX3600 I set the channel width to 80 MHz, in the room on the Samsung S22, speedtest.net . No gave out 550-650 Mbps (2 streams), signals -58, -64 dBm, went out from the room, the signal did not drop to -82, dBm, ran a speedtest.net , after measuring the incoming speed, the ath11k driver crashed again. With a channel width of 20 and 40 MHz, the ath11k driver does not crash, it happens exactly at 80 MHz, and when a device with a low signal tries to send packets to an access point.
Here is the log from the device when atn11k crashes:

Fri May 20 15:51:31 2022 kern.warn kernel: [ 1155.099984] ath11k_warn: 38 callbacks suppressed
Fri May 20 15:51:31 2022 kern.warn kernel: [ 1155.100007] ath11k c000000.wifi: failed to send WMI_PDEV_BSS_CHAN_INFO_REQUEST cmd
Fri May 20 15:51:31 2022 kern.warn kernel: [ 1155.103699] ath11k c000000.wifi: failed to send pdev bss chan info request
Fri May 20 15:51:31 2022 kern.warn kernel: [ 1155.111486] ath11k c000000.wifi: failed to send WMI_PDEV_SET_PARAM cmd
Fri May 20 15:51:31 2022 kern.warn kernel: [ 1155.117933] ath11k c000000.wifi: Failed to set beacon mode for VDEV: 1
Fri May 20 15:51:31 2022 kern.warn kernel: [ 1155.124485] ath11k c000000.wifi: failed to send WMI_BCN_TMPL_CMDID
Fri May 20 15:51:31 2022 kern.warn kernel: [ 1155.130969] ath11k c000000.wifi: failed to submit beacon template command: -108
Fri May 20 15:51:31 2022 kern.warn kernel: [ 1155.137117] ath11k c000000.wifi: failed to update bcn template: -108
Fri May 20 15:51:31 2022 kern.warn kernel: [ 1155.144347] ath11k c000000.wifi: failed to send WMI_VDEV_SET_PARAM_CMDID
Fri May 20 15:51:31 2022 kern.warn kernel: [ 1155.150933] ath11k c000000.wifi: Failed to set dtim period for VDEV 1: -108
Fri May 20 15:51:31 2022 kern.warn kernel: [ 1155.157723] ath11k c000000.wifi: failed to send WMI_VDEV_SET_PARAM_CMDID
Fri May 20 15:51:32 2022 daemon.notice hostapd: Remove interface 'wlan1'
Fri May 20 15:51:32 2022 daemon.notice hostapd: wlan1: interface state ENABLED->DISABLED
Fri May 20 15:51:32 2022 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED 56:ff:20:5c:b1:71
Fri May 20 15:51:32 2022 daemon.notice hostapd: wlan1: AP-DISABLED
Fri May 20 15:51:32 2022 daemon.notice hostapd: wlan1: CTRL-EVENT-TERMINATING
Fri May 20 15:51:32 2022 daemon.err hostapd: rmdir[ctrl_interface=/var/run/hostapd]: Permission denied
Fri May 20 15:51:32 2022 daemon.notice hostapd: nl80211: deinit ifname=wlan1 disabled_11b_rates=0
Fri May 20 15:51:32 2022 kern.info kernel: [ 1156.608817] device wlan1 left promiscuous mode
Fri May 20 15:51:32 2022 kern.info kernel: [ 1156.608972] brctl1000: port 4(wlan1) entered disabled state
Fri May 20 15:51:33 2022 kern.info kernel: [ 1156.669283] wlan1: HW problem - can not stop rx aggregation for 56:ff:20:5c:b1:71 tid 0
Fri May 20 15:51:33 2022 kern.info kernel: [ 1156.669334] wlan1: HW problem - can not stop rx aggregation for 56:ff:20:5c:b1:71 tid 7
Fri May 20 15:51:33 2022 daemon.notice netifd: Network device 'wlan1' link is down
Fri May 20 15:51:33 2022 kern.err kernel: [ 1156.778644] wlan1: failed to remove key (0, 56:ff:20:5c:b1:71) from hardware (-108)
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1156.778859] ------------[ cut here ]------------
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1156.785117] WARNING: CPU: 3 PID: 1892 at sta_set_sinfo+0xb7c/0xbc0 [mac80211]
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1156.789981] Modules linked in: pppoe ppp_async nft_fib_inet nf_flow_table_ipv6 nf_flow_table_ipv4 nf_flow_table_inet ath11k_ahb ath11k ath10k_pci ath10k_core ath pppox ppp_generic nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_redir nft_quota nft_objref nft_numgen nft_nat nft_masq nft_log nft_limit nft_hash nft_flow_offload nft_fib_ipv6 nft_fib_ipv4 nft_fib nft_ct nft_counter nft_chain_nat nf_tables nf_nat nf_flow_table nf_conntrack mac80211 cfg80211 slhc qrtr_smd qrtr qmi_helpers ns nfnetlink nf_reject_ipv6 nf_reject_ipv4 nf_log_syslog nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c hwmon crc_ccitt compat qca_nss_drv seqiv jitterentropy_rng drbg michael_mic hmac cmac leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_qcom qca_nss_dp qca_ssdk gpio_button_hotplug crc32c_generic
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1156.844394] CPU: 3 PID: 1892 Comm: hostapd Not tainted 5.15.40 #0
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1156.866629] Hardware name: Xiaomi AX3600 (DT)
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1156.872615] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1156.876960] pc : sta_set_sinfo+0xb7c/0xbc0 [mac80211]
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1156.883726] lr : sta_set_sinfo+0xadc/0xbc0 [mac80211]
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1156.888935] sp : ffffffc00fb73750
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1156.893966] x29: ffffffc00fb73750 x28: 0000000000000000 x27: 0000000000000000
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1156.897273] x26: 0000000000000001 x25: ffffff80068897b8 x24: ffffff8006889788
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1156.904391] x23: 0000000000000001 x22: ffffffc00fb737d0 x21: ffffff8008fc68c0
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1156.911510] x20: ffffff8006889080 x19: ffffff8009311000 x18: 0000000000000361
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1156.918626] x17: 6572617764726168 x16: 206d6f7266202931 x15: ffffffc008a87980
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1156.925745] x14: 0000000000000a23 x13: 0000000000000361 x12: ffffffc00fb733d8
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1156.932863] x11: ffffffc000d2bf30 x10: ffffffc00fb73600 x9 : ffffffc00fb73620
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1156.939981] x8 : 00000000ffffffd0 x7 : 0000000000000000 x6 : 0000000000000000
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1156.947099] x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffffff8002582340
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1156.954216] x2 : 0000000000000000 x1 : ffffff8002582340 x0 : 00000000ffffff94
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1156.961336] Call trace:
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1156.968445]  sta_set_sinfo+0xb7c/0xbc0 [mac80211]
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1156.970706]  __sta_info_flush+0x104/0x160 [mac80211]
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1156.975568]  ieee80211_color_change_finish+0x1978/0x225c [mac80211]
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1156.980603]  __cfg80211_stop_ap+0x58/0xf0 [cfg80211]
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1156.986591]  cfg80211_stop_ap+0x40/0x70 [cfg80211]
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1156.991799]  cfg80211_check_station_change+0x3148/0x3cd0 [cfg80211]
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1156.996403]  genl_family_rcv_msg_doit+0xb8/0x120
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.002563]  genl_rcv_msg+0xd4/0x1d0
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.007422]  netlink_rcv_skb+0x5c/0x130
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.010980]  genl_rcv+0x38/0x50
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.014539]  netlink_unicast+0x1e8/0x2d4
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.017666]  netlink_sendmsg+0x1a4/0x3d0
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.021832]  ____sys_sendmsg+0x278/0x2c0
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.025738]  ___sys_sendmsg+0x84/0xf0
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.029644]  __sys_sendmsg+0x48/0x90
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.033203]  __arm64_sys_sendmsg+0x24/0x30
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.036849]  invoke_syscall.constprop.0+0x5c/0x104
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.040757]  do_el0_svc+0x74/0x16c
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.045530]  el0_svc+0x18/0x54
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.048914]  el0t_64_sync_handler+0xa4/0x130
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.051955]  el0t_64_sync+0x184/0x188
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.056380] ---[ end trace 6c4a96a30fe72c31 ]---
Fri May 20 15:51:33 2022 kern.err kernel: [ 1157.060026] ath11k c000000.wifi: failed to send HAL_REO_CMD_UPDATE_RX_QUEUE cmd, tid 0 (-108)
Fri May 20 15:51:33 2022 kern.err kernel: [ 1157.064642] ath11k c000000.wifi: failed to send HAL_REO_CMD_UPDATE_RX_QUEUE cmd, tid 1 (-108)
Fri May 20 15:51:33 2022 kern.err kernel: [ 1157.073074] ath11k c000000.wifi: failed to send HAL_REO_CMD_UPDATE_RX_QUEUE cmd, tid 2 (-108)
Fri May 20 15:51:33 2022 kern.err kernel: [ 1157.081577] ath11k c000000.wifi: failed to send HAL_REO_CMD_UPDATE_RX_QUEUE cmd, tid 3 (-108)
Fri May 20 15:51:33 2022 kern.err kernel: [ 1157.090085] ath11k c000000.wifi: failed to send HAL_REO_CMD_UPDATE_RX_QUEUE cmd, tid 4 (-108)
Fri May 20 15:51:33 2022 kern.err kernel: [ 1157.098581] ath11k c000000.wifi: failed to send HAL_REO_CMD_UPDATE_RX_QUEUE cmd, tid 5 (-108)
Fri May 20 15:51:33 2022 kern.err kernel: [ 1157.107095] ath11k c000000.wifi: failed to send HAL_REO_CMD_UPDATE_RX_QUEUE cmd, tid 6 (-108)
Fri May 20 15:51:33 2022 kern.err kernel: [ 1157.115603] ath11k c000000.wifi: failed to send HAL_REO_CMD_UPDATE_RX_QUEUE cmd, tid 7 (-108)
Fri May 20 15:51:33 2022 kern.err kernel: [ 1157.124112] ath11k c000000.wifi: failed to send HAL_REO_CMD_UPDATE_RX_QUEUE cmd, tid 8 (-108)
Fri May 20 15:51:33 2022 kern.err kernel: [ 1157.132617] ath11k c000000.wifi: failed to send HAL_REO_CMD_UPDATE_RX_QUEUE cmd, tid 9 (-108)
Fri May 20 15:51:33 2022 kern.err kernel: [ 1157.141125] ath11k c000000.wifi: failed to send HAL_REO_CMD_UPDATE_RX_QUEUE cmd, tid 10 (-108)
Fri May 20 15:51:33 2022 kern.err kernel: [ 1157.149631] ath11k c000000.wifi: failed to send HAL_REO_CMD_UPDATE_RX_QUEUE cmd, tid 11 (-108)
Fri May 20 15:51:33 2022 kern.err kernel: [ 1157.158129] ath11k c000000.wifi: failed to send HAL_REO_CMD_UPDATE_RX_QUEUE cmd, tid 12 (-108)
Fri May 20 15:51:33 2022 kern.err kernel: [ 1157.166731] ath11k c000000.wifi: failed to send HAL_REO_CMD_UPDATE_RX_QUEUE cmd, tid 13 (-108)
Fri May 20 15:51:33 2022 kern.err kernel: [ 1157.175327] ath11k c000000.wifi: failed to send HAL_REO_CMD_UPDATE_RX_QUEUE cmd, tid 14 (-108)
Fri May 20 15:51:33 2022 kern.err kernel: [ 1157.183925] ath11k c000000.wifi: failed to send HAL_REO_CMD_UPDATE_RX_QUEUE cmd, tid 15 (-108)
Fri May 20 15:51:33 2022 kern.err kernel: [ 1157.192515] ath11k c000000.wifi: failed to send HAL_REO_CMD_UPDATE_RX_QUEUE cmd, tid 16 (-108)
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.201253] ------------[ cut here ]------------
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.209681] WARNING: CPU: 3 PID: 1892 at sta_set_sinfo+0xba4/0xbc0 [mac80211]
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.214461] Modules linked in: pppoe ppp_async nft_fib_inet nf_flow_table_ipv6 nf_flow_table_ipv4 nf_flow_table_inet ath11k_ahb ath11k ath10k_pci ath10k_core ath pppox ppp_generic nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_redir nft_quota nft_objref nft_numgen nft_nat nft_masq nft_log nft_limit nft_hash nft_flow_offload nft_fib_ipv6 nft_fib_ipv4 nft_fib nft_ct nft_counter nft_chain_nat nf_tables nf_nat nf_flow_table nf_conntrack mac80211 cfg80211 slhc qrtr_smd qrtr qmi_helpers ns nfnetlink nf_reject_ipv6 nf_reject_ipv4 nf_log_syslog nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c hwmon crc_ccitt compat qca_nss_drv seqiv jitterentropy_rng drbg michael_mic hmac cmac leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_qcom qca_nss_dp qca_ssdk gpio_button_hotplug crc32c_generic
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.268873] CPU: 3 PID: 1892 Comm: hostapd Tainted: G        W         5.15.40 #0
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.291110] Hardware name: Xiaomi AX3600 (DT)
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.298482] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.302827] pc : sta_set_sinfo+0xba4/0xbc0 [mac80211]
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.309595] lr : sta_set_sinfo+0xba0/0xbc0 [mac80211]
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.314803] sp : ffffffc00fb73750
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.319834] x29: ffffffc00fb73750 x28: 0000000000000000 x27: 0000000000000000
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.323139] x26: 0000000000000001 x25: ffffff80068897b8 x24: ffffff8006889788
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.330258] x23: 0000000000000001 x22: ffffffc00fb737d0 x21: ffffff8008fc68c0
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.337376] x20: ffffff8006889080 x19: ffffff8009311000 x18: 000000000000039c
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.344495] x17: 2045554555515f58 x16: 525f455441445055 x15: 0000000000000000
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.351612] x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.358731] x11: ffffffc000d2bdf0 x10: ffffffc00fb73620 x9 : ffffffc00fb73640
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.365848] x8 : 00000000ffffffd0 x7 : 00000000000071b1 x6 : ffffff8009d9a02c
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.372967] x5 : 0000000000009338 x4 : 0000000000000000 x3 : ffffff8002582340
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.380085] x2 : 0000000000000000 x1 : ffffff8002582340 x0 : 00000000ffffff94
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.387203] Call trace:
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.394312]  sta_set_sinfo+0xba4/0xbc0 [mac80211]
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.396572]  __sta_info_flush+0x104/0x160 [mac80211]
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.401435]  ieee80211_color_change_finish+0x1978/0x225c [mac80211]
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.406472]  __cfg80211_stop_ap+0x58/0xf0 [cfg80211]
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.412460]  cfg80211_stop_ap+0x40/0x70 [cfg80211]
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.417666]  cfg80211_check_station_change+0x3148/0x3cd0 [cfg80211]
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.422270]  genl_family_rcv_msg_doit+0xb8/0x120
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.428430]  genl_rcv_msg+0xd4/0x1d0
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.433289]  netlink_rcv_skb+0x5c/0x130
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.436848]  genl_rcv+0x38/0x50
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.440407]  netlink_unicast+0x1e8/0x2d4
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.443533]  netlink_sendmsg+0x1a4/0x3d0
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.447700]  ____sys_sendmsg+0x278/0x2c0
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.451606]  ___sys_sendmsg+0x84/0xf0
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.455512]  __sys_sendmsg+0x48/0x90
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.459072]  __arm64_sys_sendmsg+0x24/0x30
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.462717]  invoke_syscall.constprop.0+0x5c/0x104
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.466625]  do_el0_svc+0x74/0x16c
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.471396]  el0_svc+0x18/0x54
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.474782]  el0t_64_sync_handler+0xa4/0x130
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.477823]  el0t_64_sync+0x184/0x188
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.482249] ---[ end trace 6c4a96a30fe72c32 ]---
Fri May 20 15:51:33 2022 kern.warn kernel: [ 1157.486090] ------------[ cut here ]------------
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.490499] WARNING: CPU: 3 PID: 1892 at sta_info_free+0x3c/0xe4 [mac80211]
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.495102] Modules linked in: pppoe ppp_async nft_fib_inet nf_flow_table_ipv6 nf_flow_table_ipv4 nf_flow_table_inet ath11k_ahb ath11k ath10k_pci ath10k_core ath pppox ppp_generic nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_redir nft_quota nft_objref nft_numgen nft_nat nft_masq nft_log nft_limit nft_hash nft_flow_offload nft_fib_ipv6 nft_fib_ipv4 nft_fib nft_ct nft_counter nft_chain_nat nf_tables nf_nat nf_flow_table nf_conntrack mac80211 cfg80211 slhc qrtr_smd qrtr qmi_helpers ns nfnetlink nf_reject_ipv6 nf_reject_ipv4 nf_log_syslog nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c hwmon crc_ccitt compat qca_nss_drv seqiv jitterentropy_rng drbg michael_mic hmac cmac leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_qcom qca_nss_dp qca_ssdk gpio_button_hotplug crc32c_generic
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.549341] CPU: 3 PID: 1892 Comm: hostapd Tainted: G        W         5.15.40 #0
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.571579] Hardware name: Xiaomi AX3600 (DT)
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.578952] pstate: 20400005 (nzCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.583296] pc : sta_info_free+0x3c/0xe4 [mac80211]
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.590062] lr : sta_set_sinfo+0xb68/0xbc0 [mac80211]
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.594925] sp : ffffffc00fb73730
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.600129] x29: ffffffc00fb73730 x28: 0000000000000000 x27: 0000000000000000
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.603435] x26: 0000000000000001 x25: ffffff80068897b8 x24: ffffff8006889788
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.610554] x23: 0000000000000001 x22: ffffffc00fb737d0 x21: ffffff8008fc68c0
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.617672] x20: ffffff8006889080 x19: ffffff8009311000 x18: 0cea122a0dac8927
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.624790] x17: 000000000b9f76c0 x16: 0675091506d65a47 x15: 0000000000000000
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.631908] x14: 0000000000000001 x13: 0000000000000040 x12: 0000000000000000
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.639025] x11: 0000000000000000 x10: 0000000000000000 x9 : 0000000000000000
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.646144] x8 : 0000000000000228 x7 : 0000000000000000 x6 : ffffffc008a789e0
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.653261] x5 : 0000000000002171 x4 : 0000000000000000 x3 : 00000000000000a0
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.660380] x2 : 0000000000000000 x1 : 0000000000000003 x0 : 000000000c100113
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.667499] Call trace:
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.674607]  sta_info_free+0x3c/0xe4 [mac80211]
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.676868]  sta_set_sinfo+0xb68/0xbc0 [mac80211]
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.681381]  __sta_info_flush+0x104/0x160 [mac80211]
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.686244]  ieee80211_color_change_finish+0x1978/0x225c [mac80211]
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.691281]  __cfg80211_stop_ap+0x58/0xf0 [cfg80211]
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.697269]  cfg80211_stop_ap+0x40/0x70 [cfg80211]
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.702476]  cfg80211_check_station_change+0x3148/0x3cd0 [cfg80211]
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.707080]  genl_family_rcv_msg_doit+0xb8/0x120
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.713239]  genl_rcv_msg+0xd4/0x1d0
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.718099]  netlink_rcv_skb+0x5c/0x130
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.721657]  genl_rcv+0x38/0x50
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.725214]  netlink_unicast+0x1e8/0x2d4
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.728342]  netlink_sendmsg+0x1a4/0x3d0
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.732508]  ____sys_sendmsg+0x278/0x2c0
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.736416]  ___sys_sendmsg+0x84/0xf0
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.740320]  __sys_sendmsg+0x48/0x90
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.743880]  __arm64_sys_sendmsg+0x24/0x30
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.747526]  invoke_syscall.constprop.0+0x5c/0x104
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.751434]  do_el0_svc+0x74/0x16c
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.756206]  el0_svc+0x18/0x54
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.759590]  el0t_64_sync_handler+0xa4/0x130
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.762631]  el0t_64_sync+0x184/0x188
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.767058] ---[ end trace 6c4a96a30fe72c33 ]---
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.770676] ------------[ cut here ]------------
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.775308] sta_info_move_state() returned -2
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.779975] WARNING: CPU: 3 PID: 1892 at sta_info_free+0xdc/0xe4 [mac80211]
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.784165] Modules linked in: pppoe ppp_async nft_fib_inet nf_flow_table_ipv6 nf_flow_table_ipv4 nf_flow_table_inet ath11k_ahb ath11k ath10k_pci ath10k_core ath pppox ppp_generic nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_redir nft_quota nft_objref nft_numgen nft_nat nft_masq nft_log nft_limit nft_hash nft_flow_offload nft_fib_ipv6 nft_fib_ipv4 nft_fib nft_ct nft_counter nft_chain_nat nf_tables nf_nat nf_flow_table nf_conntrack mac80211 cfg80211 slhc qrtr_smd qrtr qmi_helpers ns nfnetlink nf_reject_ipv6 nf_reject_ipv4 nf_log_syslog nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c hwmon crc_ccitt compat qca_nss_drv seqiv jitterentropy_rng drbg michael_mic hmac cmac leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_qcom qca_nss_dp qca_ssdk gpio_button_hotplug crc32c_generic
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.838491] CPU: 3 PID: 1892 Comm: hostapd Tainted: G        W         5.15.40 #0
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.860729] Hardware name: Xiaomi AX3600 (DT)
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.868101] pstate: 40400005 (nZcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.872445] pc : sta_info_free+0xdc/0xe4 [mac80211]
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.879211] lr : sta_info_free+0xdc/0xe4 [mac80211]
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.884073] sp : ffffffc00fb73730
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.888930] x29: ffffffc00fb73730 x28: 0000000000000000 x27: 0000000000000000
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.892411] x26: 0000000000000001 x25: ffffff80068897b8 x24: ffffff8006889788
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.899529] x23: 0000000000000001 x22: ffffffc00fb737d0 x21: ffffff8008fc68c0
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.906647] x20: ffffff8006889080 x19: ffffff8009311000 x18: 00000000000003f3
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.913765] x17: 000000000b9f76c0 x16: 0675091506d65a47 x15: ffffffc008a87980
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.920883] x14: 0000000000000bd9 x13: 00000000000003f3 x12: ffffffc00fb73458
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.928001] x11: ffffffc008adf980 x10: 00000000fffff000 x9 : ffffffc008adf980
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.935120] x8 : 0000000000000000 x7 : ffffffc008a87980 x6 : 0000000000000001
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.942237] x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000000
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.949355] x2 : ffffff801fed6080 x1 : ffffffc017534000 x0 : 0000000000000021
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.956474] Call trace:
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.963582]  sta_info_free+0xdc/0xe4 [mac80211]
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.965843]  sta_set_sinfo+0xb68/0xbc0 [mac80211]
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.970358]  __sta_info_flush+0x104/0x160 [mac80211]
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.975219]  ieee80211_color_change_finish+0x1978/0x225c [mac80211]
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.980257]  __cfg80211_stop_ap+0x58/0xf0 [cfg80211]
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.986243]  cfg80211_stop_ap+0x40/0x70 [cfg80211]
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.991452]  cfg80211_check_station_change+0x3148/0x3cd0 [cfg80211]
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1157.996055]  genl_family_rcv_msg_doit+0xb8/0x120
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1158.002216]  genl_rcv_msg+0xd4/0x1d0
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1158.007075]  netlink_rcv_skb+0x5c/0x130
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1158.010634]  genl_rcv+0x38/0x50
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1158.014190]  netlink_unicast+0x1e8/0x2d4
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1158.017318]  netlink_sendmsg+0x1a4/0x3d0
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1158.021485]  ____sys_sendmsg+0x278/0x2c0
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1158.025390]  ___sys_sendmsg+0x84/0xf0
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1158.029297]  __sys_sendmsg+0x48/0x90
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1158.032855]  __arm64_sys_sendmsg+0x24/0x30
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1158.036502]  invoke_syscall.constprop.0+0x5c/0x104
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1158.040409]  do_el0_svc+0x74/0x16c
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1158.045182]  el0_svc+0x18/0x54
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1158.048566]  el0t_64_sync_handler+0xa4/0x130
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1158.051608]  el0t_64_sync+0x184/0x188
Fri May 20 15:51:34 2022 kern.warn kernel: [ 1158.056032] ---[ end trace 6c4a96a30fe72c34 ]---
Fri May 20 15:51:34 2022 kern.err kernel: [ 1158.119202] wlan1: failed to remove key (1, ff:ff:ff:ff:ff:ff) from hardware (-108)
Fri May 20 15:51:34 2022 kern.err kernel: [ 1158.119702] ath11k c000000.wifi: failed to clear rx_filter for monitor status ring: (-108)
Fri May 20 15:51:34 2022 daemon.notice netifd: Wireless device 'radio1' is now down
Fri May 20 15:51:34 2022 daemon.notice hostapd: Configuration file: /var/run/hostapd-phy1.conf (phy wlan1) --> new PHY
Fri May 20 15:51:34 2022 daemon.err hostapd: Could not set interface wlan1 flags (UP): Cannot send after socket shutdown
Fri May 20 15:51:34 2022 daemon.err hostapd: nl80211: Could not set interface 'wlan1' UP
Fri May 20 15:51:34 2022 daemon.notice hostapd: nl80211: deinit ifname=wlan1 disabled_11b_rates=0
Fri May 20 15:51:34 2022 daemon.err hostapd: nl80211 driver initialization failed.
Fri May 20 15:51:34 2022 daemon.notice hostapd: wlan1: CTRL-EVENT-TERMINATING
Fri May 20 15:51:34 2022 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan1 wasn't started
Fri May 20 15:51:34 2022 daemon.notice netifd: radio1 (9915): Command failed: ubus call hostapd config_add {"iface":"wlan1", "config":"/var/run/hostapd-phy1.conf"} (Invalid argument)
Fri May 20 15:51:34 2022 daemon.notice netifd: radio1 (9915): Usage: ubus [<options>] <command> [arguments...]
Fri May 20 15:51:34 2022 daemon.notice netifd: radio1 (9915): Options:
Fri May 20 15:51:34 2022 daemon.notice netifd: radio1 (9915):  -s <socket>:		Set the unix domain socket to connect to
Fri May 20 15:51:34 2022 daemon.notice netifd: radio1 (9915):  -t <timeout>:		Set the timeout (in seconds) for a command to complete
Fri May 20 15:51:34 2022 daemon.notice netifd: radio1 (9915):  -S:			Use simplified output (for scripts)
Fri May 20 15:51:34 2022 daemon.notice netifd: radio1 (9915):  -v:			More verbose output
Fri May 20 15:51:34 2022 daemon.notice netifd: radio1 (9915):  -m <type>:		(for monitor): include a specific message type
Fri May 20 15:51:34 2022 daemon.notice netifd: radio1 (9915): 			(can be used more than once)
Fri May 20 15:51:34 2022 daemon.notice netifd: radio1 (9915):  -M <r|t>		(for monitor): only capture received or transmitted traffic
Fri May 20 15:51:34 2022 daemon.notice netifd: radio1 (9915):
Fri May 20 15:51:34 2022 daemon.notice netifd: radio1 (9915): Commands:
Fri May 20 15:51:34 2022 daemon.notice netifd: radio1 (9915):  - list [<path>]			List objects
Fri May 20 15:51:34 2022 daemon.notice netifd: radio1 (9915):  - call <path> <method> [<message>]	Call an object method
Fri May 20 15:51:34 2022 daemon.notice netifd: radio1 (9915):  - subscribe <path> [<path>...]	Subscribe to object(s) notifications
Fri May 20 15:51:34 2022 daemon.notice netifd: radio1 (9915):  - listen [<path>...]			Listen for events
Fri May 20 15:51:34 2022 daemon.notice netifd: radio1 (9915):  - send <type> [<message>]		Send an event
Fri May 20 15:51:34 2022 daemon.notice netifd: radio1 (9915):  - wait_for <object> [<object>...]	Wait for multiple objects to appear on ubus
Fri May 20 15:51:34 2022 daemon.notice netifd: radio1 (9915):  - monitor				Monitor ubus traffic
Fri May 20 15:51:34 2022 daemon.notice netifd: radio1 (9915):
Fri May 20 15:51:34 2022 daemon.notice netifd: radio1 (9915): Device setup failed: HOSTAPD_START_FAILED
Fri May 20 15:51:34 2022 kern.err kernel: [ 1158.603723] ath11k c000000.wifi: failed to enable PMF QOS: (-108
Fri May 20 15:51:34 2022 daemon.notice netifd: Wireless device 'radio1' set retry=0
Fri May 20 15:51:34 2022 daemon.crit netifd: Wireless device 'radio1' setup failed, retry=0
Fri May 20 15:51:35 2022 daemon.notice netifd: Wireless device 'radio1' is now down
Fri May 20 15:51:35 2022 daemon.info dnsmasq[1]: read /etc/hosts - 4 addresses
Fri May 20 15:51:35 2022 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 2 addresses
Fri May 20 15:51:35 2022 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses
Fri May 20 15:51:39 2022 kern.warn kernel: [ 1163.584316] ath11k_warn: 72 callbacks suppressed
Fri May 20 15:51:39 2022 kern.warn kernel: [ 1163.584333] ath11k c000000.wifi: failed to send WMI_PDEV_BSS_CHAN_INFO_REQUEST cmd

For what reason can he go into a crash , error from "sta_set_sinfo+0xba4/0xbc0 [mac80211]" ?

You mean that "oom on low workload" bug?

Can you use the Preformatted text thing when you put log... will try to repro your problem...

Hi @robimarko @Ansuel et al,
Thanks for the hard work you have been doing to bring Openwrt support for this device.

I had a compile issue with qca-ssdk complaining about -mcmodel=large not available.
Turns out I just had to pass an EXTRA_CFLAG -fno-PIC to the Makefile.

I also had to fix 0006-SSDK-config-add-kernel-5.15.patch

Keep up the great work :smiley:

Thanks for the tip. The driver crashes when the channel width is 80 MHz, and the RX signal is minimal for the 802.11 AX client. In the status of the client, on your firmware the line "HE-DCM-1" appears more often, on the firmware from robimarko, it is displayed when the signals are low. Perhaps because of the patch "ath11k: limit ring size with 512MB patch ", "ath11k_nss: reduce tlv to 2k SKB" ?

I use "ipq807x-5.15-pr" now on 4 AP's...
runs now for 2 days very stable!
in use are more than 40 devices via LAN and WLAN in 6 Vlan´s

thanks for the great work
@robimarko @Ansuel

This is weird to say the least

@radiobyte lets try with the patch i just pushed... but strange that you use peer tid feature

What are the use cases? did not understand the answer.

Do you mean WMM, in the radio settings ?. Here are my settings:

no that's another thing... you probably use live chat service that sets the tid bit on wifi (i assume)
Anyway pls check latest firmware...

Just a generic feedback for 2 Ax3600 working as dumb APs on ath10k and ath11k (one also provides DHCP and DNS). No WAN, no speed tests.

  • Version worked fine: OpenWrt SNAPSHOT r0-b2a888d (needs occasional reboot ~twice a week)
  • Version worked fine: OpenWrt SNAPSHOT r0-b5a4f48 (needs occasional reboot)
  • Version under test: OpenWrt SNAPSHOT r0-56194b5 (no problems during upgrade and ~1h uptime)

Thanks for your ongoing work!

1 Like