Adding OpenWrt support for Xiaomi "Redmi Router AX6S"/"Xiaomi Router AX3200"

you need test yourself i only have one device so i cannot test that.
anyway you can use this device as repeter, set a static ip on the subnet of the other device,disable dhcp, scan, connect and add apcli0 or apclii0 to br-lan. done.

Just had time now, will flash & config it now and see how is the outcome.

UPDATE:
speed has improved after change config, and modify the module.
Same like you said, AC mode is better: around 450Mbps DL,UL. I literally sit beside router, range is still weak, if I move few steps away it will drop to 200Mbp or below. AX mode is still not usable. between 100-200Mbps.

1 Like

Hi, is there anyone tried to compile with closed source wireless driver? In chinese forums people compiling with closed source drivers:

I'm droping URLs below. The first post in right.com.cn says closed source driver. Didn't tried that img because it's for redmi soo mine is global mi branded one. I wanted to ask before doing something I'll regret.

https://www.right.com.cn/forum/forum.php?mod=viewthread&tid=8219050&extra=page%3D1%26filter%3Dtypeid%26typeid%3D94

@emirefek brocco1981 has compiled closed source driver, the wireless speed & range is very good almost same as Xiaomi OEM. if you dont mind missing some features you can give it a try.

Where can I find firmware with closed source drivers? And what are the missing features?

I'm having very strange behavior with OpenWRT in this device. While connecting my notebook with Thunderbolt Dock's LAN port. I'm not facing this problem in OEM firmware or ISP Providers router.

My laptop has Intel 2.5Gig LAN port but I'm using thunderbolt dock with 1GbE Realtek Ethernet Controller.

When I'm using realtek port I'm getting:
~300 Mbps on speedtest.net but
~800mbps on iperf3(default settings + to OpenWrt Router)

When I'm using laptops Intel Killer Ethernet Port I'm getting:
~500mbps on speedtest.net(My ISP provides 500/50 soo that's normal and max I can get)
~950mbps on iperf3(default settings + to OpenWrt Router)

I can understand the little difference between iperf because intel is definitely better hardware so when it's running in 900mbps I can understand the ~100mbps difference between these two devices but I don't understand why I'm getting this results on speedtest.net on realtek. As I said I didn't get this result on OEM firmware or ISP given router. I'll really glad if some one have idea about this problem. Thanks...

You can download from @anon4457646 repo below.

2 Likes

Your max speed should be achieved even with wifi 5.
Did you play with software/hw offload in firewall? Might worth check and compare the mtu of intel and reltek cards, then tune the reatek's values.
I use mine as dumb access point with nightly and WED enabled on wifi5, speedtests over wifi5 is 500+ in both up/down.

Is your laptop a Macbook M1 or M2? If so, it is a known issue that the Realtek driver Apple includes in M1/M2 MacOS has issues:

I faced this issue and solved by using a non-Realtek Ethernet adapter (USB-C 3.1).

You can check System Information -> USB.

This one has issues:

This one works fine:

Mmm. Windows 11 paired with i7-11800H (MSI GS76). Soo that's probably not a issue at computer. As I said it's working like expected in OEM firmware. Issue presented in OpenWrt official image for AX3200(Global)

Case closed then, go back to oem image. Don't do anything, why bother, eventually it will work as expected on his own. Usually on winblows it does, magic reboot fix everything, make sure you do plenty .

try enable Software offloading see if it improves. My old ASUS RT-AC1300UHP iperf3 tests (LAN to LAN) only reached 350Mbps+, I enabled software offloading and - "boom! - 950Mpbs!"

edit: speedtest.net internet test not always accurate, sometime high sometimes low. I find nperf.com produce more accurate ISP speed test over the time.

2 Likes

@anon4457646 do you have chance to share config.buildinfo in this compiled image? Wanna compile it my self with couple additions. Your image working just fine but I think it's different than stable v22.03.2 because I'm getting kernel issues when trying to use opkg.

nothing hard, in kernel modules add mt7622 and mt_wifi , configure it as you like,and remove the open wireless drivers, in extra package add libprofile,in luci app add luci-app-mtk, and if you want ,remove wapd and hostapd

Okay thanks then. May I ask which checkpoint you used? Using 22.03.02 tag can cause any harm to device? Or am I must use any specific snapshot?

yes i used that one

Have anyone had any issues with devices on Wifi speed becomes really slow and ping rate also increases when device been connected to Wifi for a long period of time and was woken from sleep.
My internet speed slows to a crawl of around 15Mbps. Toggling wifi on and off on the devices and the speed returns to normal ~200-250Mbps and ping goes back down. This seems to be happening on the ax wifi 6 band, as it is happening on the 2 wifi 6 device I have. But don't know for sure if it's only these 2 devices as it's the 2 that I use the most.

Another issue I have is that while using my phone, it occasionally loses connectivity to the network even though the wifi is still connected to the router. Again toggling wifi fixes the issue.

Any help in getting to the bottom of this is greatly appreciated. Thanks.

It might be because OEM firmware has the CPU always pegged to maximum frequency while OpenWRT uses a load based governor.

Latest snapshot combining with Adguardhome totally messes up routing and breaks it.

I have no culprit even where to dig, rolling back cures the problem.

Huge update on snapsot today using auc, no issues whatsoever, running like a champ as dumb access point with offload on 5ghz band by bridger and WED.
PS. Might be too much for this unit to handle dns poisoning like adguard using big blocklists and also doing NAT.
IMO, more usefull and less cpu stress to use adguard's dns as upstream resolver.
Course, you can offload openwrt using pihole + a local resolver, unbound, for complete dns and privacy control.