I tested on clean owut build (SNAPSHOT (r28335-e63326e26a) and the issue still exists. I mean, when 4 GB RAM is set and options mt7996e wed_enable=Y sr_scene_detect=Y is set, router is more less unusable, so no - the RAM limitation workaround is still needed.

1 Like

I tested different options on your latest build.

  • wed_enable=Y regardless of sr_scene_detect=Y or sr_scene_detect=N didn't crash the system, at least not immediately, but Wi-Fi throughput dropped to single digits.
  • With RAM limited to 2 GB, I could enable WED and retain the same speed. Looking at CPU load during benchmarks, WED didn't seem to be working, though. Again, regardless of sr_scene_detect or packet steering settings.
2 Likes

it is quite interesting ... I disabled both wed and sr_scene and now seeing MCS 13 ! i will run with these settings for a while

image

2 Likes

I also have doubts whether crypto acceleration is working. iperf3 -c 192.168.1.1 -t 60 -i 1 --bidir -P 32 on Wi-Fi with WPA3 loads the cores like this.

my understanding is that only works for authentication

cat /proc/interrupts |grep crypto

132:        122          0          0          0     GICv3 246 Level     15600000.crypto
133:         85          0          0          0     GICv3 247 Level     15600000.crypto
134:         98          0          0          0     GICv3 248 Level     15600000.crypto
135:        139          0          0          0     GICv3 249 Level     15600000.crypto

only see them incrementing when stations are connecting

1 Like

So for those who are interested here is the procedure to create my alpha MLO build:

git clone --branch openwrt-24.10 https://git.openwrt.org/openwrt/openwrt.git openwrt
git clone --branch master https://git01.mediatek.com/openwrt/feeds/mtk-openwrt-feeds

From the file mtk-openwrt-feeds/autobuild/unified/rules delete the feeds modify hook completely i.e. delete these lines:

modify_feeds_conf() {
	local rev_file_list=
	local feed_rev=
	local feed_url="https://git01.mediatek.com/openwrt/feeds/mtk-openwrt-feeds"

	# Backup original feeds
	exec_log "cp -f \"${openwrt_root}/feeds.conf.default\" \"${ab_tmp}/\""

	if test -n "${internal_build}"; then
		# Modify feeds
		openwrt_feeds_replace_url packages https://gerrit.mediatek.inc/openwrt/feeds/packages
		openwrt_feeds_replace_url luci https://gerrit.mediatek.inc/openwrt/feeds/luci
		openwrt_feeds_replace_url routing https://gerrit.mediatek.inc/openwrt/feeds/routing
		openwrt_feeds_disable telephony
		openwrt_feeds_change_src_git_type packages 0
		openwrt_feeds_change_src_git_type luci 0
		openwrt_feeds_change_src_git_type routing 0
	fi

	# Add mtk-openwrt-feeds
	[ -n "${ab_variant_dir}" ] && list_append rev_file_list "${ab_variant_dir}/feed_revision"
	[ -n "${ab_sku_dir}" ] && list_append rev_file_list "${ab_sku_dir}/feed_revision"
	[ -n "${ab_wifi_dir}" ] && list_append rev_file_list "${ab_wifi_dir}/feed_revision"
	[ -n "${ab_platform_dir}" ] && list_append rev_file_list "${ab_platform_dir}/feed_revision"
	list_append rev_file_list "${ab_root}/feed_revision"

	for rev_file in ${rev_file_list}; do
		if test -f "${rev_file}"; then
			feed_rev=$(cat "${rev_file}")
			break;
		fi
	done

	[ -n "${feed_rev}" ] && feed_rev="^${feed_rev}"

	if test -n "${internal_build}"; then
		feed_url="${openwrt_root}/../mtk-openwrt-feeds"
	fi

	if test -n "${internal_build}" -a -z "${feed_rev}"; then
		openwrt_feeds_add mtk_openwrt_feed src-link "${feed_url}" --subdir=feed
	else
		openwrt_feeds_add mtk_openwrt_feed src-git "${feed_url}${feed_rev}" --subdir=feed
	fi
}

Copy/replace all .dts and .dtso files from

mtk-openwrt-feeds/24.10/files/target/linux/mediatek/files-6.6/arch/arm64/boot/dts/mediatek

to

openwrt/target/linux/mediatek/files-6.6/arch/arm64/boot/dts/mediatek

then

cd openwrt
bash ../mtk-openwrt-feeds/autobuild/unified/autobuild.sh filogic-mac80211-bpi-r4 log_file=make

It will finish with error building Linux performance monitor tool perf.

Run make menuconfig and change Target Profile from Multiple devices to Bananapi BPi-R4, disable Development / perf ( and after the first successful build change whatever you want ).

make -j1 V=sc

4 Likes

I can add here, that disabling wed and sr_scene reduces the packetloss I see dramatically, also using the current version from @rmandrad . This is even just looking at 2.4G in the same room as the router.

1 Like

Ok it seems hw offloading didn't make much of a difference to my speeds, with just wpad-openssl in my furthest room I'm able to pull off 300-370 compared to the previous of 50-60mbps

One note regarding above mentioned build procedure - for the sake of a lot of daily commits on mtk and openwrt gits and changes in master branches to avoid ambiguous results I recommend the following change on the build procedure beginning:

git clone --branch openwrt-24.10 https://git.openwrt.org/openwrt/openwrt.git openwrt
cd openwrt; git checkout 45f9f1551223b516cccbcca1e252e722bb3dbc08; cd -; 

git clone --branch master https://git01.mediatek.com/openwrt/feeds/mtk-openwrt-feeds
cd mtk-openwrt-feeds; git checkout a2c1fd0858730000611bad1a21c355eaf449c518; cd -;

Do not use today's mtk master branch...there are some issues in c2188c8 commit.

4 Likes

How can I add a package kmod-fs-exfat to your image?

you can't ... it needs to be built as part of the image build

you can build out of my repo https://github.com/rmandrad/openwrt/tree/bananapi4

mediatek HQoS and bridge offload (without using bridger) patches for kernel 6.6 are now available. Tested both working on a hybrid openwrt 24.10 build.
Go try it out.

Anyone know the difference between HQoS and PPPQ modes?
https://git01.mediatek.com/plugins/gitiles/openwrt/feeds/mtk-openwrt-feeds/+/c9a7a0b225223282b6167154ccd80a15bb8dfa52

2 Likes

I built your image. And it gives only 200 Mbps on wifi 6 GHz. The snapshot gives the same. How to build an image so that it gives 2.5 Gbps?

This is what I found in mediatek repos Per-Port-Per-Queue(PPPQ)

After enabling PPPQ mode, each LAN port will be mapped into
a specified QDMA queue.

As for HQoS, I guess that's just the standard hardware based QoS

1 Like

Anyone tested the new 24.10 rc3 image from the FW selector?
OpenWrt Firmware Selector

1 Like

I did and saving was broken when using drop down menu

I have just tried it and none of my SFPs are detected, I get the following error: sfp sfp2: failed to read EEPROM: -ENXIO. This is a 2.5Gbs Eth SFP, that I bought from the BPI store and I have it running on SNAPSHOT r28214-5a4eb56a7b.

My SFPs were detected just couldn't save any settings

I am just testing it and saving WFI settings doesn’t work, it just gets stuck with a spinning icon on the save

1 Like