General OpenWrt support for Xiaomi AX3600 (Part 2)

Is hardware flow offloading supported on ipq807x? Here's what I get when restarting firewall:

root@router:~# /etc/init.d/firewall restart

Hardware flow offloading unavailable, falling back to software offloading

No, there is no HW offloading

Does the router supports a speed of 615Mbps without HW offloading?

When upgrading from @robimarko 's early December image to openwrt snapshot: what are the equivalent commands of

nvram get flag_boot_rootfs
nvram set flag_boot_rootfs=1
nvram set flag_last_success=1
nvram commit

At least in my case, the nvram command is not present, and I believe one has to use the uci command, but what is the correct syntax?
Thanks.

on openwrt there are fw_printenv/fw_setenv:

fw_printenv flag_boot_rootfs
fw_setenv flag_boot_rootfs 1
fw_setenv flag_last_success 1

Special for the AX3600 are

fw_printsys
fw_setsys

which can manipulate the data in the BData Partition (e.g. ssh_en=1). Use with caution!

Yes, 615Mbps is not a problem. If you are using wireguard and need high speed you may want to look at NSS build:

2 Likes

I have two AX3600 routers connected (LAN port of main router connected to LAN port of secondary router). Wireless speed is super slow in terms of upload.. Download is 300+ Mbps whereas upload is just 20-30 Mbps. This is super strange. I have tried changing different channels (149/100/52) in 802.11ax. my clients are also WiFi 6. software offloading is enabled. any pointers?

Where are you uploading? Most cable internet connections are asymmetrical, with upload speed around 20Mbps.

A device connected to the same secondary router over wired gets 800M Download & 900M+ Upload. So has nothing to do with ISP. Clearly something up with the wireless drivers.

tests are just via fast.com & speedtest. all to the servers in same geo.

1 Like

looks like the problem is more isolated towards ax / wifi 6. wifi 5 upload speed looks decent. tried from multiple ax devices. upload speed sucks

UpdatE: ok.. speed improved when i went near to the router.. but wifi 6 and macbook pro (m1 pro) clearly has issues. still slow.

Hi,

my AX3600 is not coming up after luci sysupgrade from robi "SNAPSHOT r0-71addb3" to openwrt official snapshot "Tue Jan 24 10:37:08 2023" :frowning:

I have two AX3600. Both have gone through recent repartitioning 2->1 and config versions 1->1.1->2. No big issues.

What I did now with one device:

  • dl openwrt snapshot sysupgrade.bin image instead of robimarkos github release images
  • sysupgrade with luci -> no change (known wpad issue)
  • stop wpad, then sysupgrade with luci

-> no ping response via lan for ~20min
-> no ping response via lan to 192.168.1.1 (should work on config loss, my network is 192.168.1.0/24)
-> lan devices attached to the dumb ap are also not reachable
-> wlan devices within reach of the other ax3600 have moved, others are not reachable

I guess this is not expected?

So far I only checked sha256sum is correct. Sensible next steps?

Just in case: I have a linux server to run tftp and I have a usb2serial adapter for 1.8V (never needed/used it though)

iperf tests makes it look even more pathetic

root@w:~# iperf3 -c 192.168.1.254
Connecting to host 192.168.1.254, port 5201
[  5] local 192.168.1.49 port 42878 connected to 192.168.1.254 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  38.2 MBytes   320 Mbits/sec    0   1.73 MBytes
[  5]   1.00-2.00   sec  46.1 MBytes   387 Mbits/sec    0   2.93 MBytes
[  5]   2.00-3.00   sec  50.8 MBytes   426 Mbits/sec    0   3.31 MBytes
[  5]   3.00-4.00   sec  48.8 MBytes   410 Mbits/sec    0   3.31 MBytes
[  5]   4.00-5.00   sec  46.6 MBytes   391 Mbits/sec    0   3.31 MBytes
[  5]   5.00-6.00   sec  47.1 MBytes   395 Mbits/sec    0   3.31 MBytes
[  5]   6.00-7.00   sec  44.8 MBytes   375 Mbits/sec    0   3.31 MBytes
[  5]   7.00-8.00   sec  47.0 MBytes   394 Mbits/sec    0   3.31 MBytes
[  5]   8.00-9.00   sec  47.5 MBytes   398 Mbits/sec    0   3.31 MBytes
[  5]   9.00-10.00  sec  47.4 MBytes   397 Mbits/sec    0   3.31 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   464 MBytes   389 Mbits/sec    0             sender
[  5]   0.00-10.01  sec   463 MBytes   388 Mbits/sec                  receiver

iperf Done.
root@w:~# iperf3 -c 192.168.1.254 -R
Connecting to host 192.168.1.254, port 5201
Reverse mode, remote host 192.168.1.254 is sending
[  5] local 192.168.1.49 port 32996 connected to 192.168.1.254 port 5201
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  4.16 MBytes  34.9 Mbits/sec
[  5]   1.00-2.00   sec  1.44 MBytes  12.1 Mbits/sec
[  5]   2.00-3.00   sec  1.38 MBytes  11.6 Mbits/sec
[  5]   3.00-4.00   sec  1.56 MBytes  13.1 Mbits/sec
[  5]   4.00-5.00   sec  1.86 MBytes  15.6 Mbits/sec
[  5]   5.00-6.00   sec  1.66 MBytes  13.9 Mbits/sec
[  5]   6.00-7.00   sec  1.52 MBytes  12.8 Mbits/sec
[  5]   7.00-8.00   sec  1.35 MBytes  11.3 Mbits/sec
[  5]   8.00-9.00   sec  1.63 MBytes  13.6 Mbits/sec
[  5]   9.00-10.00  sec  1.71 MBytes  14.3 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-10.01  sec  19.5 MBytes  16.3 Mbits/sec                  sender
[  5]   0.00-10.00  sec  18.3 MBytes  15.3 Mbits/sec                  receiver

iperf Done.

i get 200/45 (my max isp speed)

How can I rollback to the stock firmware?

See my old iperf3 tests speed here:
https://forum.openwrt.org/t/adding-openwrt-support-for-xiaomi-ax3600-part-1/55049/7036

Thanks for sharing. This looks to be an issue between this router AX3600 running OpenWRT set to 802.11ax/WiFi 6 - 80 Mhz (tried 149/100/52) and Macbook Pro (M1 Pro Apple Silicon chip) wherein upload is severely capped. Other WiFi 6 devices don't have this issue. I didn't have this issue on the stock firmware

Can someone confirm if this is the right step to rollback to stock / factory default xiaomi firmware?

UPDATE: need TFTP Recovery to rollback. Below steps will not work as there is only one mtd partition after flashing openwrt snapshot

root@m:~# fw_printenv flag_boot_rootfs
flag_boot_rootfs=0

Then run the following

fw_setenv flag_last_success 1
fw_setenv flag_boot_rootfs 1
reboot

To go back to Openwrt again

nvram get flag_boot_rootfs

if result is 1 and openwrt has already been flashed in the other partition then

nvram set flag_last_success = 0
nvram set flag_boot_rootfs = 0
nvram commit
reboot

Frequent WAN disconnects (WRT3200ACM) see this for reference. My confidence is growing that it’s not MT76 related. Try a 160MHz channel if you can. Seems to be an odd workaround.

https://openwrt.org/toh/xiaomi/ax3600#tftp_recovery

tftp recovery is the way (I know) to go back to xiaomi FW.