Wireless Ethernet Dispatch (WED) is a hardware acceleration feature available on MediaTek Filogic chipsets (e.g. MT7986 and MT7622). It is an extension of hardware flow offloading (HFO) that specifically targets wireless traffic, allowing the Packet Processing Engine (PPE) to handle packets directly to/from the WiFi chipset, significantly reducing CPU load and increasing throughput albeit with the loss of some QoS AQL on WiFi traffic.
bridger) is required.To enable WED, you must set a module parameter for the wireless driver and reboot the device.
/etc/modules.conf and append the following line:options mt7915e wed_enable=Y
/etc/modules.d/mt7915e and append the following line:mt7915e wed_enable=Y
To configure your router to work with WED as a Dumb AP, flow offloading requires flows to be tracked via NAT or routing. The bridger package uses BPF to track bridged streams for the PPE.
bridger package./etc/config/bridger to define specific devices or bridges to exclude from acceleration.Note: Native kernel support may make the bridger package obsolete in the future (Ref: https://patchwork.kernel.org/project/netdevbpf/cover/20250204194921.46692-1-ericwouds@gmail.com/).
Verify that the kernel module has the option applied correctly:
# cat /sys/module/mt7915e/parameters/wed_enable Y
To see which flows are currently being handled by the hardware (works for Router mode natively):
# cat /sys/kernel/debug/ppe0/bind
Note: On some devices this may be ppe1 or located at /sys/kernel/debug/mtk_ppe/bind.
Example output showing a bound (BND) flow:
01dd0 BND IPv4 5T orig=xxx:11068->10.1.10.241:33328 new=xxx:11068->10.1.10.241:33328 eth=xx:xx:xx:xx:xx:xx->xx:xx:xx:xx:xx:xx etype=0008 vlan=0,129 ib1=21403a8d ib2=007e0060
Important Notes on Output:
bridger package available in development snapshots.