Adding OpenWrt support for Xiaomi AX3600 (Part 1)

Starting to think only router can actually support 4x4 160mhz

I think that those QCN9074 cards also support it, but they are expensive AF.

What i really hate is the lack of any special feature supported like bss coloring twt and other... i hope times will improve support about these things

Those are supported already, TWT has been supported since like 2019.

they are all in ath next?

No, they were merged a long time ago in ath11k.
For example TWT, it was merged along with HE support.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/net/wireless/ath/ath11k?h=v5.13-rc4&id=6d293d447670da6325cc9c8fb809878d1930c234

BSS coloring was merged soon after TWT.

can't understand why they have a patch in wlan-open. They are using a old backport package?

Yes, they are currently using 5.8 based backports for QSDK11.4(Last time I checked)
And they are pulling the atheros drivers from a separate git from Kalle Vallo.

This is how it looks atm, definitely not normal, and stock versions also do not look like this with a lot longer uptime and client numbers:

Ansuel may be right that the slow path is failing in ath11k. Not sure which is easier: fixing slow path, or add offload. Non the less, if there is a repo to test with wifi offload, at least we can confirm this.

Hi, would you mind sharing your source code?
I just unlocked SSH on my device recently...

Not mine, you can find it here: https://github.com/robimarko/openwrt/tree/AX3600-5.10-restart

Here we go again with custom firmware posted on random forum with no source...
Hope I'm wrong....

1 Like

I meant AX6... I'm not sure what would happen if I flashed the firmware for ax3600...

Not gonna work. You need an AX6 board file and swap it with the ax3600 one before build. The process was explained in this topic, please read back.

I've tried to pack the board file using bdwlan.b292 from stock firmware,
and I also noticed that there're many repeated parts between ax6 and ax3600 in the dts.

But have no idea where to modify the flash size etc..

You dont need to modify anything else. Extract the board file, repack it with the instructions and overwrite the one for ax3600. Thats it.

Thank you very much!
Let me have a try, hope it won't get bricked... :slightly_smiling_face:

Okay it boots... with no wireless (looks like caused by a typo error in dts)
I will check it later.

EDIT: it was bricked... And now I need to send it to vendor for reparation :frowning:

@robimarko @Ansuel The memory situation now causes conntrack full entries in the kernel log:


[112774.609122] nf_conntrack: nf_conntrack: table full, dropping packet
[112961.307846] nf_conntrack: nf_conntrack: table full, dropping packet
[112969.738435] nf_conntrack: nf_conntrack: table full, dropping packet

YT videos are buffering longer and longer (on a wired connection).

MOD: some output:

root@XAX6:~# cat /proc/sys/net/netfilter/nf_conntrack_max
8192
root@XAX6:~# cat /proc/sys/net/netfilter/nf_conntrack_count
7646

and the memory output is?