[Banana BPI-R4] Wifi7 status

Greetings to all. If somebody would like to test my first attempt to build BPI R4 wifi 7 AP with WO and MLO here is the SD card. This alpha version is not fully functional and is not fully compatible with LuCI wireless.

openwrt-mediatek-filogic-bananapi_bpi-r4-sdcard.img.gz

Here is sample of connected iPhone 16 CZ - (where is not allowed 320Mhz but only 160MHz). Maybe it could be a step ahead maybe not :slightly_smiling_face:

4 Likes

can you share your repo or the source for this build ? i am curious on the mlo feature

2 Likes

I've noticed with hardware flow enabled and wpad openssh, the wifi speed is much higher

more to do with HW OFFLOAD ... what do you mean by WPAD OPENSSH ? openssl perhaps

Oh right yeah openssl, the phone auto corrected it

How do you turn it on?

All is on openwrt Wiki

are you sure the 2GB ram limit is correct ? no issues found with 4GB

My build should work with options mt7996e wed_enable=Y sr_scene_detect=Y without memory limitation.

Same here 4gb has no issues

Can you share the GitHub repo

If you are saying that no RAM limitation is needed anymore, I will make a test and edit wiki. Last time (week ago) when I was checking - RAM limitation was needed. Would be surprising for me, that it will start working.

Thanks for pointing me :slight_smile:

Maybe I will do it later. I built it manually step by step with modified mtk git. I have no time to test mlo completely and as I wrote it is the first alpha version that should support
Single Wiphy Architecture
320 MHz bandwidth
4096-QAM MCS12, MCS13
WPA3 key management (AKM24)
MLO Basic Functionality (Advertisement/Discovery/Setup)

and doesn't support
Hardware Peak Performance
MLO Post-Setup Features

Ah well we don't do MTK openwrt here, we do official openwrt, hence why you had MLO

this may be related to the SWIOTLB_DYNAMIC that is not enabled by default on the kernel. I have enabled it on my build.

1 Like

Hm, in my opinion my build is not MTK openwrt. I built it from official openwrt source and some sources from https://git01.mediatek.com/plugins/gitiles/openwrt/feeds/mtk-openwrt-feeds/ so what openwrt is it? :thinking: :slightly_smiling_face:

Will do test today evening and update if all is fine.

1 Like

I'd like to know why we need HW flow offloading when it comes to Wi-Fi performance. Is it purely because what we typically care about and benchmark is WAN<->(w)LAN speed? Or flipping HW flow offloading on also affects some other hardware acceleration features which are more closely related to Wi-Fi?

Edit. Speaking of flow offloading in general, I can confirm that on Rmandrad's latest build it works as it should without the need to set extra iptables/nftables rules. The rules are already there if flow offloading is turned on in /etc/config/firewall.

table inet fw4 {
	flowtable ft {
		hook ingress priority filter
		devices = { eth1, eth2, lan1, lan2, lan3, phy0.0-ap0, phy0.1-ap0, phy0.1-ap1, wan }
		flags offload
		counter
	}
	chain forward {
		type filter hook forward priority filter; policy drop;
		meta l4proto { tcp, udp } flow add @ft
	}

The difference in CPU load is dramatic between offloading and no offloading on a GbE uplink, so it's definitely working out of the box.

1 Like

At the same time, I didn't have any crashes after I enabled options mt7996e wed_enable=Y sr_scene_detect=Y, but Wi-Fi has slowed down 3x (at least on the 5 GHz band). I wonder why. I didn't change anything in config-6.6. Using wpad-openssl.

if you were using my build with wed_enable=Y the SWIOTLB_DYNAMIC kernel setting should take care of the memory so it doesn't crash.

there was someone suggesting on this channel to set sr_scene_detect to N some time ago ... did a quick test and haven't seen any noticeable impact... i will try again once i have some time

1 Like