Adding OpenWrt support for Xiaomi AX3600 (Part 1)

Upgraded a few times in the last 2 weeks, last one was today, nothing like that N, AC and AX clients with WPA2-PSK (forced AES).

thanks, you made me think of new clients and the date roughly correlates with a reimaged windows of a company notebook. Might be it.

Wasn't expecting any different, but sharing that at current updated commit, continuing to see this about 2-3 a week, requiring a manual reboot to get clients to be able to connect to the AX3600 again.

Wed May 25 19:24:24 2022 kern.warn kernel: [76837.411431] ath11k c000000.wifi: failed to send WMI_PDEV_BSS_CHAN_INFO_REQUEST cmd
Wed May 25 19:24:24 2022 kern.warn kernel: [76837.411447] ath11k c000000.wifi: failed to send pdev bss chan info request
Wed May 25 19:24:24 2022 kern.warn kernel: [76837.411672] ath11k c000000.wifi: failed to send WMI_PDEV_SET_PARAM cmd
Wed May 25 19:24:24 2022 kern.warn kernel: [76837.411683] ath11k c000000.wifi: Failed to set beacon mode for VDEV: 0
Wed May 25 19:24:24 2022 kern.warn kernel: [76837.411708] ath11k c000000.wifi: failed to send WMI_BCN_TMPL_CMDID
Wed May 25 19:24:24 2022 kern.warn kernel: [76837.411717] ath11k c000000.wifi: failed to submit beacon template command: -108
Wed May 25 19:24:24 2022 kern.warn kernel: [76837.411725] ath11k c000000.wifi: failed to update bcn template: -108
Wed May 25 19:24:24 2022 kern.warn kernel: [76837.411735] ath11k c000000.wifi: failed to send WMI_VDEV_SET_PARAM_CMDID
Wed May 25 19:24:24 2022 kern.warn kernel: [76837.411743] ath11k c000000.wifi: Failed to set dtim period for VDEV 0: -108
Wed May 25 19:24:24 2022 kern.warn kernel: [76837.411806] ath11k c000000.wifi: failed to send WMI_VDEV_SET_PARAM_CMDID

Hello, for 3-4 hours I continuously loaded the AX3600 point with an incoming ~200 Mb/s channel, one 802.11AX client, memory usage increased from 54% to 76%. (memory 264-265 out of 408MB). Still no patch for memory reallocation?


If 20-30 devices are connected to the point, and the total channel load is ~ 250 Mbps, I wonder how much memory will be used?

What is the channel width 40 or 80 MHz?

1 Like

80 for 5ghz and 20 for 2.4ghz

@dimfish I'm using your latest build for AX6, by the way very stable, but one thing is bothering me. The downloads and installations of ipk packages are extremely slow, both via web ui and SSH (putty) and the weird thing is that, despite being in Brazil, the openwrt.admincomps.ru repository is the fastest, the extreme slowness it's just with the downloads.openwrt.org global repository. Sometimes I can't run "opkg update", because in Putty it shows the error "opkg_conf_load: Could not lock /var/lock/opkg.lock: Resource temporarily unavailable." and the web ui shows the attached error.

If you are living in Brazil then you can use Brazil mirror
https://openwrt.c3sl.ufpr.br/
See https://openwrt.org/downloads#mirrors

1 Like

The Brazilian mirror does not replicate the aarch64_cortex-a53 packages, in fact almost no mirror. But I found a Dutch mirror https://ftp.snt.utwente.nl/ that does, but the result was exactly the same (slow download). I don't know if it helps in the diagnosis, but the download is only slow when done through the router. When I try in a browser from any device on my network, for example the file https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/Packages.gz, the download is done automatically. By the way, in testing with Ansuel build, there is no such problem of slow downloads from https://downloads.openwrt.org. I read on the 4pda forum that you use wget-ssl for opkg downloads, is it related to it?

I use the firmware https://github.com/Ansuel/openwrt/releases/tag/ipq807x-2022-05-22, the operating time is 3 days while there are no disconnects of wireless clients, only the problem with memory reuse remains, I noticed the volume grows not from the number of connected device from the total download bandwidth of the incoming channel. We are waiting for a patch to solve the problem with the memory of the ath11k driver.

I'm using wget-ssl especially to support ftp protocol and I don't think it's related to download speed cause nobody else has ever complained since 5.10 from December 2021 when I added wget-ssl. BTW you can check speed of ftp protocol:
ftp://ftp.snt.utwente.nl/pub/software/lede/snapshots/packages/aarch64_cortex-a53/packages/

Unfortunately the same result, slow downloads :disappointed_relieved:

RTC sounds interessing, do you know a proper way to find the right pins on the PCB (if they are even available on the board)?

Pins for the battery?

Yeah, that's what I mean

Its a BGA package so unless they intentionally exposed the pins its game over

Damn, I thought so

Try using downloads.cdn.openwrt.org in the url's...

Works for me and i am from Brazil as well, using Oi ISP which sucks badly for anything international, with a lot of package loss most of time and every day! Peek hours is even worse...

1 Like

Tell me please. When I click Update lists in Software, it gives me an error below

Collected errors:
 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/targets/ipq807x/generic/packages/Packages.gz, wget returned 8.
 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/nss_packages/Packages.gz, wget returned 8.

I'm trying to install openvpn-openssl and it says kmod-tun is missing. Is it possible to fix this manually? I use the latest firmware on ax3600
1

This target isn't supported by vanilla OpenWrt yet, therfore no 9ne is building these target specific package repositories either. If you need additional (mostly kernel-) packages, you will have to build (-and the whole firmware containing) them from source yourself.