Adding OpenWrt support for Xiaomi AX3600 (Part 1)

It really looks like stupid client decisions

When Client switches, does it stay on the same band (5GHz?)? Like I mention in other message, Windows and ax200 do not support 802.11r in PSK mode while iOS devices do.

I have issues with 802.11r 2xAX3600 wired APs (at least with one client), so I was asking rmandrad if he had tried it.

Hi @sqrwv no I haven' tried it. I use a device for "legacy" & "N " connections" and another for gaming all with different ssid's

1 Like

Hello,

What is missing for the version to be stable?
Is it usable without packet loss or anything else?

AP1 and AP2 are both on the same band (5GHz; channel 36, 80 MHz; WPA3-SAE). (I named the 2.4Ghz Wifi differently)

Have tested it again without 802.11r, v, k. Even without these options, the two HP EliteBooks jump between the two APs. Could it be the encryption (WPA3-SAE), or what other configuration option could I try?

Try to reduce the transmit power a little bit.

With roaming support turned off, see if iOS devices behave similar to Windows clients ( jumping between APs).

What is the difference in SNR for the client with issues between APs? As others suggested the issue is likely with the client. Lowering ap power and/or enabling dissociation on low ack might help the client make better decisions. Also check if windows driver has roaming aggressiveness setting.

Huuuuuuu~
I give up single partition of Ansuel.
It just became softbirck again.
Everything was done right. However, if you just sysupgrade it, it becomes a softbrick state. Never do sysupgrade if you have a single partition.

I'm really impressed that you used serial to flash openwrt and unify partitions and then sysupgrade random openwrt build from yandex :confused:
I have sysupgraded on "single partition" probably 20+ times without single brick. It was robimarko repo + cherry-picked ansuel's patch from his repo.

4 Likes

He probably think everyone use the same partition layout... Or it's the first Xiaomi 3600 with 128mb flash... Wonder if he can post a bootlog?

You really want to dive into that? :slight_smile:

Here is something more interesting:

I am doing simple 1 stream Iperf3 tests across the router, LAN-LAN. From time to time I can see 100% CPU load:

image

But not always. Same test, couple seconds later:

image

I am doing normal 10 second test runs. Mostly I am getting 940-950Mbits.

And sometimes this happens:

image

Htop is not able to read clocks anymore, Same test as the above ones: after a couple seconds Htop looses track of the clocks...

1 Like

Thank you for reply. What is cherry-picked ansuel's patch?

Nop!
My ax3600 have dual partition.(256mb)
if not sysupgrade, it is normal.
At your repo, Why is this part commented out?

/* Waste 128KiB to make uboot always fail on loading the
* second rootfs that should be located at 0x2dc0000
/
/
partition@2dc0000 {
label = "waste_space";
reg = <0x2dc0000 0x20000>;
};*/

root@OpenWrt:~# cat /proc/mtd
dev: size erasesize name
mtd0: 00100000 00020000 "0:sbl1"
mtd1: 00100000 00020000 "0:mibib"
mtd2: 00300000 00020000 "0:qsee"
mtd3: 00080000 00020000 "0:devcfg"
mtd4: 00080000 00020000 "0:rpm"
mtd5: 00080000 00020000 "0:cdt"
mtd6: 00080000 00020000 "0:appsblenv"
mtd7: 00100000 00020000 "0:appsbl"
mtd8: 00080000 00020000 "0:art"
mtd9: 00080000 00020000 "bdata"
mtd10: 00100000 00020000 "pstore"
mtd11: 023c0000 00020000 "kernel"
mtd12: 0d220000 00020000 "rootfs"

root@OpenWrt:~# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 6.8M 6.8M 0 100% /rom
tmpfs 203.7M 1.1M 202.6M 1% /tmp
/dev/ubi0_1 175.1M 660.0K 169.7M 0% /overlay
overlayfs:/overlay 175.1M 660.0K 169.7M 0% /
tmpfs 512.0K 0 512.0K

I was so frustrated that I wrote a small script that notifies me via Signal Messanger as soon as the Windows PC connects to an AP. I have now tried all possible constellations and apparently I couldn't solve the problem.

Interestingly, both Windows PCs nearly always jump at the same time. Could it be that the AX3600's transmit power shortly drops and that's the reason for the jump? Both operate at 199mW

Oct  1 19:57:28 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:00 IEEE 802.11: authenticated
Oct  1 19:57:28 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:00 IEEE 802.11: associated (aid 9)
Oct  1 19:57:28 ap1 hostapd: wlan1: STA-OPMODE-SMPS-MODE-CHANGED el:it:eb:oo:ka:x2:00 off
Oct  1 19:57:28 ap1 hostapd: wlan1: AP-STA-CONNECTED el:it:eb:oo:ka:x2:00
Oct  1 19:57:28 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:00 RADIUS: starting accounting session 69081900A2716BA0
Oct  1 19:57:28 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:00 WPA: pairwise key handshake completed (RSN)
Oct  1 19:57:28 ap1 hostapd: wlan1: EAPOL-4WAY-HS-COMPLETED el:it:eb:oo:ka:x2:00
Oct  1 19:57:28 ap1 dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.102 el:it:eb:oo:ka:x2:00
Oct  1 19:57:28 ap1 dnsmasq-dhcp[1]: Ignoring domain domainblabla.at for DHCP host name HP-ELITEBOOK-AX200
Oct  1 19:57:28 ap1 dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.102 el:it:eb:oo:ka:x2:00 HP-ELITEBOOK-AX200
Oct  1 19:57:29 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:00 IEEE 802.11: authenticated
Oct  1 19:57:31 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:00 IEEE 802.11: associated (aid 2)
Oct  1 19:57:31 ap2 hostapd: wlan1-1: STA-OPMODE-SMPS-MODE-CHANGED el:it:eb:oo:ka:x2:00 off
Oct  1 19:57:31 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:00 RADIUS: starting accounting session A0DA0C03B71DBEC4
Oct  1 19:57:31 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:00 WPA: pairwise key handshake completed (RSN)
Oct  1 19:57:31 ap2 hostapd: EAPOL-4WAY-HS-COMPLETED el:it:eb:oo:ka:x2:00
Oct  1 19:57:31 ap1 dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.102 el:it:eb:oo:ka:x2:00
Oct  1 19:57:31 ap1 dnsmasq-dhcp[1]: Ignoring domain domainblabla.at for DHCP host name HP-ELITEBOOK-AX200
Oct  1 19:57:31 ap1 dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.102 el:it:eb:oo:ka:x2:00 HP-ELITEBOOK-AX200
Oct  1 19:58:19 ap1 hostapd: wlan1: STA-OPMODE-SMPS-MODE-CHANGED el:it:eb:oo:ka:x2:01 dynamic
Oct  1 19:58:25 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:01 IEEE 802.11: authenticated
Oct  1 19:58:25 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:01 IEEE 802.11: associated (aid 1)
Oct  1 19:58:26 ap1 dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.140 el:it:eb:oo:ka:x2:01
Oct  1 19:58:26 ap1 dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.140 el:it:eb:oo:ka:x2:01 HP-ELITEBOOK-AX201
Oct  1 19:58:27 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:01 IEEE 802.11: authenticated
Oct  1 19:58:28 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:01 IEEE 802.11: associated (aid 6)
Oct  1 19:58:28 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:01 RADIUS: starting accounting session C087B9174F2E3445
Oct  1 19:58:28 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:01 WPA: pairwise key handshake completed (RSN)
Oct  1 19:58:28 ap1 hostapd: wlan1: EAPOL-4WAY-HS-COMPLETED el:it:eb:oo:ka:x2:01
Oct  1 19:58:28 ap1 dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.140 el:it:eb:oo:ka:x2:01
Oct  1 19:58:28 ap1 dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.140 el:it:eb:oo:ka:x2:01 HP-ELITEBOOK-AX201
Oct  1 19:58:29 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:01 IEEE 802.11: authenticated
Oct  1 19:58:30 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:01 IEEE 802.11: associated (aid 6)
Oct  1 19:58:30 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:01 RADIUS: starting accounting session C087B9174F2E3445
Oct  1 19:58:30 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:01 WPA: pairwise key handshake completed (RSN)
Oct  1 19:58:30 ap1 hostapd: wlan1: EAPOL-4WAY-HS-COMPLETED el:it:eb:oo:ka:x2:01
Oct  1 19:58:30 ap1 dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.140 el:it:eb:oo:ka:x2:01
Oct  1 19:58:30 ap1 dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.140 el:it:eb:oo:ka:x2:01 HP-ELITEBOOK-AX201
Oct  1 19:58:32 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:01 IEEE 802.11: authenticated
Oct  1 19:58:33 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:01 IEEE 802.11: associated (aid 6)
Oct  1 19:58:33 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:01 RADIUS: starting accounting session C087B9174F2E3445
Oct  1 19:58:33 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:01 WPA: pairwise key handshake completed (RSN)
Oct  1 19:58:33 ap1 hostapd: wlan1: EAPOL-4WAY-HS-COMPLETED el:it:eb:oo:ka:x2:01
Oct  1 19:58:33 ap1 dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.140 el:it:eb:oo:ka:x2:01
Oct  1 19:58:33 ap1 dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.140 el:it:eb:oo:ka:x2:01 HP-ELITEBOOK-AX201
Oct  1 19:58:34 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:01 IEEE 802.11: authenticated
Oct  1 19:58:35 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:01 IEEE 802.11: associated (aid 1)
Oct  1 19:58:35 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:01 RADIUS: starting accounting session 24708AE590261FFE
Oct  1 19:58:35 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:01 WPA: pairwise key handshake completed (RSN)
Oct  1 19:58:35 ap2 hostapd: EAPOL-4WAY-HS-COMPLETED el:it:eb:oo:ka:x2:01
Oct  1 19:58:35 ap1 dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.140 el:it:eb:oo:ka:x2:01
Oct  1 19:58:35 ap1 dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.140 el:it:eb:oo:ka:x2:01 HP-ELITEBOOK-AX201
Oct  1 19:58:53 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:01 IEEE 802.11: disconnected due to excessive missing ACKs
Oct  1 19:58:53 ap1 hostapd: wlan1: AP-STA-DISCONNECTED el:it:eb:oo:ka:x2:01
Oct  1 19:59:23 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:01 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Oct  1 20:14:11 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:00 IEEE 802.11: disconnected due to excessive missing ACKs
Oct  1 20:14:11 ap1 hostapd: wlan1: AP-STA-DISCONNECTED el:it:eb:oo:ka:x2:00
Oct  1 20:14:41 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:00 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Oct  1 20:32:00 ap1 dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.198 ec:a9:07:0d:d5:83
Oct  1 20:32:00 ap1 dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.198 ec:a9:07:0d:d5:83 Wohnzimmer
Oct  1 20:32:17 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:01 IEEE 802.11: authenticated
Oct  1 20:32:17 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:00 IEEE 802.11: authenticated
Oct  1 20:32:18 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:01 IEEE 802.11: associated (aid 6)
Oct  1 20:32:18 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:00 IEEE 802.11: associated (aid 9)
Oct  1 20:32:18 ap1 hostapd: wlan1: AP-STA-CONNECTED el:it:eb:oo:ka:x2:01
Oct  1 20:32:18 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:01 RADIUS: starting accounting session 931830239FE099B5
Oct  1 20:32:18 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:01 WPA: pairwise key handshake completed (RSN)
Oct  1 20:32:18 ap1 hostapd: wlan1: EAPOL-4WAY-HS-COMPLETED el:it:eb:oo:ka:x2:01
Oct  1 20:32:18 ap1 hostapd: wlan1: STA-OPMODE-SMPS-MODE-CHANGED el:it:eb:oo:ka:x2:00 off
Oct  1 20:32:18 ap1 hostapd: wlan1: AP-STA-CONNECTED el:it:eb:oo:ka:x2:00
Oct  1 20:32:18 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:00 RADIUS: starting accounting session 0DB4F75CCD17B3CB
Oct  1 20:32:18 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:00 WPA: pairwise key handshake completed (RSN)
Oct  1 20:32:18 ap1 hostapd: wlan1: EAPOL-4WAY-HS-COMPLETED el:it:eb:oo:ka:x2:00
Oct  1 20:32:18 ap1 dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.140 el:it:eb:oo:ka:x2:01
Oct  1 20:32:18 ap1 dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.140 el:it:eb:oo:ka:x2:01 HP-ELITEBOOK-AX201
Oct  1 20:32:18 ap1 dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.102 el:it:eb:oo:ka:x2:00
Oct  1 20:32:18 ap1 dnsmasq-dhcp[1]: Ignoring domain domainblabla.at for DHCP host name HP-ELITEBOOK-AX200
Oct  1 20:32:18 ap1 dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.102 el:it:eb:oo:ka:x2:00 HP-ELITEBOOK-AX200
Oct  1 20:32:19 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:01 IEEE 802.11: authenticated
Oct  1 20:32:19 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:00 IEEE 802.11: authenticated
Oct  1 20:32:20 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:01 IEEE 802.11: associated (aid 1)
Oct  1 20:32:20 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:01 RADIUS: starting accounting session 24708AE590261FFE
Oct  1 20:32:20 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:01 WPA: pairwise key handshake completed (RSN)
Oct  1 20:32:20 ap2 hostapd: EAPOL-4WAY-HS-COMPLETED el:it:eb:oo:ka:x2:01
Oct  1 20:32:20 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:00 RADIUS: starting accounting session A0DA0C03B71DBEC4
Oct  1 20:32:20 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:00 WPA: pairwise key handshake completed (RSN)
Oct  1 20:32:20 ap2 hostapd: EAPOL-4WAY-HS-COMPLETED el:it:eb:oo:ka:x2:00
Oct  1 20:32:20 ap1 dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.102 el:it:eb:oo:ka:x2:00
Oct  1 20:32:20 ap1 dnsmasq-dhcp[1]: Ignoring domain domainblabla.at for DHCP host name HP-ELITEBOOK-AX200
Oct  1 20:32:20 ap1 dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.102 el:it:eb:oo:ka:x2:00 HP-ELITEBOOK-AX200
Oct  1 20:32:23 ap1 dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.140 el:it:eb:oo:ka:x2:01
Oct  1 20:32:23 ap1 dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.140 el:it:eb:oo:ka:x2:01 HP-ELITEBOOK-AX201
Oct  1 20:35:11 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:01 IEEE 802.11: authenticated
Oct  1 20:35:11 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:00 IEEE 802.11: authenticated
Oct  1 20:35:12 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:01 IEEE 802.11: associated (aid 6)
Oct  1 20:35:12 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:00 IEEE 802.11: associated (aid 9)
Oct  1 20:35:12 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:01 RADIUS: starting accounting session 931830239FE099B5
Oct  1 20:35:12 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:01 WPA: pairwise key handshake completed (RSN)
Oct  1 20:35:12 ap1 hostapd: wlan1: EAPOL-4WAY-HS-COMPLETED el:it:eb:oo:ka:x2:01
Oct  1 20:35:12 ap1 hostapd: wlan1: STA-OPMODE-SMPS-MODE-CHANGED el:it:eb:oo:ka:x2:00 off
Oct  1 20:35:12 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:00 RADIUS: starting accounting session 0DB4F75CCD17B3CB
Oct  1 20:35:12 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:00 WPA: pairwise key handshake completed (RSN)
Oct  1 20:35:12 ap1 hostapd: wlan1: EAPOL-4WAY-HS-COMPLETED el:it:eb:oo:ka:x2:00
Oct  1 20:35:12 ap1 dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.140 el:it:eb:oo:ka:x2:01
Oct  1 20:35:12 ap1 dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.140 el:it:eb:oo:ka:x2:01 HP-ELITEBOOK-AX201
Oct  1 20:35:12 ap1 dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.102 el:it:eb:oo:ka:x2:00
Oct  1 20:35:12 ap1 dnsmasq-dhcp[1]: Ignoring domain domainblabla.at for DHCP host name HP-ELITEBOOK-AX200
Oct  1 20:35:12 ap1 dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.102 el:it:eb:oo:ka:x2:00 HP-ELITEBOOK-AX200
Oct  1 20:35:13 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:01 IEEE 802.11: authenticated
Oct  1 20:35:13 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:00 IEEE 802.11: authenticated
Oct  1 20:35:14 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:00 IEEE 802.11: associated (aid 2)
Oct  1 20:35:14 ap2 hostapd: wlan1-1: STA-OPMODE-SMPS-MODE-CHANGED el:it:eb:oo:ka:x2:00 off
Oct  1 20:35:14 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:01 IEEE 802.11: associated (aid 1)
Oct  1 20:35:14 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:00 RADIUS: starting accounting session A0DA0C03B71DBEC4
Oct  1 20:35:14 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:00 WPA: pairwise key handshake completed (RSN)
Oct  1 20:35:14 ap2 hostapd: EAPOL-4WAY-HS-COMPLETED el:it:eb:oo:ka:x2:00
Oct  1 20:35:14 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:01 RADIUS: starting accounting session 24708AE590261FFE
Oct  1 20:35:14 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:01 WPA: pairwise key handshake completed (RSN)
Oct  1 20:35:14 ap2 hostapd: EAPOL-4WAY-HS-COMPLETED el:it:eb:oo:ka:x2:01
Oct  1 20:35:14 ap1 dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.102 el:it:eb:oo:ka:x2:00
Oct  1 20:35:14 ap1 dnsmasq-dhcp[1]: Ignoring domain domainblabla.at for DHCP host name HP-ELITEBOOK-AX200
Oct  1 20:35:14 ap1 dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.102 el:it:eb:oo:ka:x2:00 HP-ELITEBOOK-AX200
Oct  1 20:35:14 ap1 dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.140 el:it:eb:oo:ka:x2:01
Oct  1 20:35:14 ap1 dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.140 el:it:eb:oo:ka:x2:01 HP-ELITEBOOK-AX201
Oct  1 20:35:16 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:01 IEEE 802.11: authenticated
Oct  1 20:35:17 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:01 IEEE 802.11: associated (aid 6)
Oct  1 20:35:17 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:01 RADIUS: starting accounting session 931830239FE099B5
Oct  1 20:35:17 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:01 WPA: pairwise key handshake completed (RSN)
Oct  1 20:35:17 ap1 hostapd: wlan1: EAPOL-4WAY-HS-COMPLETED el:it:eb:oo:ka:x2:01
Oct  1 20:35:17 ap1 dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.140 el:it:eb:oo:ka:x2:01
Oct  1 20:35:17 ap1 dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.140 el:it:eb:oo:ka:x2:01 HP-ELITEBOOK-AX201
Oct  1 20:35:17 ap1 dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.140 el:it:eb:oo:ka:x2:01
Oct  1 20:35:17 ap1 dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.140 el:it:eb:oo:ka:x2:01 HP-ELITEBOOK-AX201
Oct  1 20:35:18 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:01 IEEE 802.11: authenticated
Oct  1 20:35:19 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:00 IEEE 802.11: authenticated
Oct  1 20:35:20 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:01 IEEE 802.11: associated (aid 1)
Oct  1 20:35:20 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:01 RADIUS: starting accounting session 24708AE590261FFE
Oct  1 20:35:20 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:01 WPA: pairwise key handshake completed (RSN)
Oct  1 20:35:20 ap2 hostapd: EAPOL-4WAY-HS-COMPLETED el:it:eb:oo:ka:x2:01
Oct  1 20:35:20 ap1 dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.140 el:it:eb:oo:ka:x2:01
Oct  1 20:35:20 ap1 dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.140 el:it:eb:oo:ka:x2:01 HP-ELITEBOOK-AX201
Oct  1 20:35:20 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:00 IEEE 802.11: associated (aid 9)
Oct  1 20:35:20 ap1 hostapd: wlan1: STA-OPMODE-SMPS-MODE-CHANGED el:it:eb:oo:ka:x2:00 off
Oct  1 20:35:20 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:00 RADIUS: starting accounting session 0DB4F75CCD17B3CB
Oct  1 20:35:20 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:00 WPA: pairwise key handshake completed (RSN)
Oct  1 20:35:20 ap1 hostapd: wlan1: EAPOL-4WAY-HS-COMPLETED el:it:eb:oo:ka:x2:00
Oct  1 20:35:20 ap1 dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.102 el:it:eb:oo:ka:x2:00
Oct  1 20:35:20 ap1 dnsmasq-dhcp[1]: Ignoring domain domainblabla.at for DHCP host name HP-ELITEBOOK-AX200
Oct  1 20:35:20 ap1 dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.102 el:it:eb:oo:ka:x2:00 HP-ELITEBOOK-AX200
Oct  1 20:35:22 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:00 IEEE 802.11: authenticated
Oct  1 20:35:23 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:00 IEEE 802.11: did not acknowledge authentication response
Oct  1 20:35:23 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:00 IEEE 802.11: associated (aid 2)
Oct  1 20:35:23 ap2 hostapd: wlan1-1: STA-OPMODE-SMPS-MODE-CHANGED el:it:eb:oo:ka:x2:00 off
Oct  1 20:35:23 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:00 RADIUS: starting accounting session A0DA0C03B71DBEC4
Oct  1 20:35:23 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:00 WPA: pairwise key handshake completed (RSN)
Oct  1 20:35:23 ap2 hostapd: EAPOL-4WAY-HS-COMPLETED el:it:eb:oo:ka:x2:00
Oct  1 20:35:23 ap1 dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.102 el:it:eb:oo:ka:x2:00
Oct  1 20:35:23 ap1 dnsmasq-dhcp[1]: Ignoring domain domainblabla.at for DHCP host name HP-ELITEBOOK-AX200
Oct  1 20:35:23 ap1 dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.102 el:it:eb:oo:ka:x2:00 HP-ELITEBOOK-AX200
Oct  1 20:35:24 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:01 IEEE 802.11: authenticated
Oct  1 20:35:25 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:00 IEEE 802.11: authenticated
Oct  1 20:35:26 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:01 IEEE 802.11: associated (aid 6)
Oct  1 20:35:26 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:01 RADIUS: starting accounting session 931830239FE099B5
Oct  1 20:35:26 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:01 WPA: pairwise key handshake completed (RSN)
Oct  1 20:35:26 ap1 hostapd: wlan1: EAPOL-4WAY-HS-COMPLETED el:it:eb:oo:ka:x2:01
Oct  1 20:35:26 ap1 dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.140 el:it:eb:oo:ka:x2:01
Oct  1 20:35:26 ap1 dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.140 el:it:eb:oo:ka:x2:01 HP-ELITEBOOK-AX201
Oct  1 20:35:26 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:00 IEEE 802.11: associated (aid 2)
Oct  1 20:35:26 ap2 hostapd: wlan1-1: STA-OPMODE-SMPS-MODE-CHANGED el:it:eb:oo:ka:x2:00 off
Oct  1 20:35:26 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:00 RADIUS: starting accounting session A0DA0C03B71DBEC4
Oct  1 20:35:26 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:00 WPA: pairwise key handshake completed (RSN)
Oct  1 20:35:26 ap2 hostapd: EAPOL-4WAY-HS-COMPLETED el:it:eb:oo:ka:x2:00
Oct  1 20:35:26 ap1 dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.102 el:it:eb:oo:ka:x2:00
Oct  1 20:35:26 ap1 dnsmasq-dhcp[1]: Ignoring domain domainblabla.at for DHCP host name HP-ELITEBOOK-AX200
Oct  1 20:35:26 ap1 dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.102 el:it:eb:oo:ka:x2:00 HP-ELITEBOOK-AX200
Oct  1 20:35:27 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:01 IEEE 802.11: authenticated
Oct  1 20:35:27 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:00 IEEE 802.11: authenticated
Oct  1 20:35:28 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:01 IEEE 802.11: associated (aid 1)
Oct  1 20:35:28 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:01 RADIUS: starting accounting session 24708AE590261FFE
Oct  1 20:35:28 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:01 WPA: pairwise key handshake completed (RSN)
Oct  1 20:35:28 ap2 hostapd: EAPOL-4WAY-HS-COMPLETED el:it:eb:oo:ka:x2:01
Oct  1 20:35:28 ap1 dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.140 el:it:eb:oo:ka:x2:01
Oct  1 20:35:28 ap1 dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.140 el:it:eb:oo:ka:x2:01 HP-ELITEBOOK-AX201
Oct  1 20:35:28 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:00 IEEE 802.11: associated (aid 9)
Oct  1 20:35:28 ap1 hostapd: wlan1: STA-OPMODE-SMPS-MODE-CHANGED el:it:eb:oo:ka:x2:00 off
Oct  1 20:35:28 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:00 RADIUS: starting accounting session 0DB4F75CCD17B3CB
Oct  1 20:35:28 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:00 WPA: pairwise key handshake completed (RSN)
Oct  1 20:35:28 ap1 hostapd: wlan1: EAPOL-4WAY-HS-COMPLETED el:it:eb:oo:ka:x2:00
Oct  1 20:35:28 ap1 dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.102 el:it:eb:oo:ka:x2:00
Oct  1 20:35:28 ap1 dnsmasq-dhcp[1]: Ignoring domain domainblabla.at for DHCP host name HP-ELITEBOOK-AX200
Oct  1 20:35:28 ap1 dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.102 el:it:eb:oo:ka:x2:00 HP-ELITEBOOK-AX200
Oct  1 20:35:29 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:00 IEEE 802.11: authenticated
Oct  1 20:35:30 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:01 IEEE 802.11: authenticated
Oct  1 20:35:31 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:00 IEEE 802.11: associated (aid 2)
Oct  1 20:35:31 ap2 hostapd: wlan1-1: STA-OPMODE-SMPS-MODE-CHANGED el:it:eb:oo:ka:x2:00 off
Oct  1 20:35:31 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:00 RADIUS: starting accounting session A0DA0C03B71DBEC4
Oct  1 20:35:31 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:00 WPA: pairwise key handshake completed (RSN)
Oct  1 20:35:31 ap2 hostapd: EAPOL-4WAY-HS-COMPLETED el:it:eb:oo:ka:x2:00
Oct  1 20:35:31 ap1 dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.102 el:it:eb:oo:ka:x2:00
Oct  1 20:35:31 ap1 dnsmasq-dhcp[1]: Ignoring domain domainblabla.at for DHCP host name HP-ELITEBOOK-AX200
Oct  1 20:35:31 ap1 dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.102 el:it:eb:oo:ka:x2:00 HP-ELITEBOOK-AX200
Oct  1 20:35:32 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:01 IEEE 802.11: associated (aid 6)
Oct  1 20:35:32 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:01 RADIUS: starting accounting session 931830239FE099B5
Oct  1 20:35:32 ap1 hostapd: wlan1: STA el:it:eb:oo:ka:x2:01 WPA: pairwise key handshake completed (RSN)
Oct  1 20:35:32 ap1 hostapd: wlan1: EAPOL-4WAY-HS-COMPLETED el:it:eb:oo:ka:x2:01
Oct  1 20:35:32 ap1 dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.140 el:it:eb:oo:ka:x2:01
Oct  1 20:35:32 ap1 dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.140 el:it:eb:oo:ka:x2:01 HP-ELITEBOOK-AX201
Oct  1 20:35:32 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:00 IEEE 802.11: authenticated
Oct  1 20:35:33 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:01 IEEE 802.11: authenticated
Oct  1 20:35:34 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:00 IEEE 802.11: associated (aid 2)
Oct  1 20:35:34 ap2 hostapd: wlan1-1: STA-OPMODE-SMPS-MODE-CHANGED el:it:eb:oo:ka:x2:00 off
Oct  1 20:35:34 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:00 RADIUS: starting accounting session A0DA0C03B71DBEC4
Oct  1 20:35:34 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:00 WPA: pairwise key handshake completed (RSN)
Oct  1 20:35:34 ap2 hostapd: EAPOL-4WAY-HS-COMPLETED el:it:eb:oo:ka:x2:00
Oct  1 20:35:34 ap1 dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.102 el:it:eb:oo:ka:x2:00
Oct  1 20:35:34 ap1 dnsmasq-dhcp[1]: Ignoring domain domainblabla.at for DHCP host name HP-ELITEBOOK-AX200
Oct  1 20:35:34 ap1 dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.102 el:it:eb:oo:ka:x2:00 HP-ELITEBOOK-AX200
Oct  1 20:35:35 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:01 IEEE 802.11: associated (aid 1)
Oct  1 20:35:35 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:01 RADIUS: starting accounting session 24708AE590261FFE
Oct  1 20:35:35 ap2 hostapd: wlan1-1: STA el:it:eb:oo:ka:x2:01 WPA: pairwise key handshake completed (RSN)
Oct  1 20:35:35 ap2 hostapd: EAPOL-4WAY-HS-COMPLETED el:it:eb:oo:ka:x2:01
Oct  1 20:35:35 ap1 dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.140 el:it:eb:oo:ka:x2:01
Oct  1 20:35:35 ap1 dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.140 el:it:eb:oo:ka:x2:01 HP-ELITEBOOK-AX201

Always works for some time without issues and then every now and then it starts jumping again. pretty annoying.

Update: It has nothing to do with mesh. I created a separate WLAN network on each AP ("AP1" and "AP2" - WPA2-PSK). The clients no longer jump between the APs (of course), but they disconnect from the existing one and reconnect. The logs do not show anything.

I followed your repository description. am i doing something wrong?

To install it you have to load a initramfs image (once you have enabled
uboot serial access)
(example command)
tftpboot 50000000 192.168.1.10:ipq807x/generic/openwrt-ipq807x-generic-xiaomi_ax3600-initramfs-fit-uImage.itb; bootm

Once the system has loaded simply load the 2 .ubi factory files with SCP and run
the following command:
ubiformat /dev/mtd11 -f /tmp/openwrt-ipq807x-generic-xiaomi_ax3600-squashfs-nand-factory-kernel.ubi
ubiformat /dev/mtd12 -f /tmp/openwrt-ipq807x-generic-xiaomi_ax3600-squashfs-nand-factory-rootfs.ubi
fw_setenv flag_boot_rootfs 0
fw_setenv flag_last_success 0
fw_setenv flag_boot_success 0
fw_setenv flag_try_sys1_failed 0
fw_setenv flag_try_sys2_failed 1

Now you can reboot the router and system will be loaded
with the new partition layout.

See if it helps htop refresh rate, setup:
image
image
(or play with the value)

The random, one cpu high load you captured is puzzling, because in the other runs, we can't see the same total load, spread in all other cores.
If they had the same load in all cores, it could be packet steering not working correctly some of the test runs.

I disable GRO in all interfaces, as you know, in some tests it lowers performance, at least until some kind of offload is implemented.
Local startup:

# Turn OFF GRO in all interfaces
sleep 2
for i in br-lan eth0 eth1 eth2 eth3 lo wlan0 wlan1 wlan2; do
  ethtool -K $i gro off
done

(but will be on again if the interface is disabled/enabled)


Maybe try without WPA3, some clients don't like it.

1 Like

Hi, dear
Is it difficult to upload rootfs.ubi and kernal.ubi separately?

Why do you need this? Stock partition table is compiled in my builds. If you want to have different partition layout you have be build from sources by yourself.
From my side I wonder if we can find way to change partitions without uart. AFAIK we can try to mtd write method something like that:

nvram set flag_boot_rootfs=0
nvram set flag_last_success=0
nvram set flag_boot_success=1
nvram set flag_try_sys1_failed=0
nvram set flag_try_sys2_failed=0
nvram set mtdparts "nmbm0:1024k(bl2),256k(Nvram),256k(Bdata),2048k(factory),2048k(fip),256k(crash),256k(crash_log),36608k(ubi)215168k(ubi1)"
nvram commit
mtd erase ubi
mtd erase ubi1
mtd -r -e ubi write /tmp/kernel.ubi ubi
mtd -r -e ubi1 write /tmp/rootfs.ubi ubi1
3 Likes

Thank you for reply.
I undstood.