Yes — genuinely per-band, not one LED mirroring all. All three band LEDs register as separate classdevs (mt76-phy0 / mt76-phy0_1 / mt76-phy0_2), and each blinks on its own band's traffic.
Single-wiphy MLO was exactly the catch: all bands share one ieee80211_hw, so two things broke it —
the throughput LED trigger is one-per-ieee80211_hw, so ieee80211_create_tpt_led_trigger() warned and handed the secondary bands a NULL trigger;
mt7996 assigned the LED brightness_set/blink_set callbacks only to the primary (2.4 GHz) PHY, so mt76_led_init() bailed for 5/6 GHz and never registered their classdevs.
The two patches fix both: every band registers its own classdev and they share the one trigger.
The HW path was already per-band — mt7996_led_set_config() indexes MT_LED_EN()/MT_LED_CTRL() by mphy->band_idx, with MT_LED_CTRL_BLINK_BAND_SEL for band1 — so per-band hardware blink works the moment the classdev exists.
Tested on BE14 with single-band clients (traffic on one band lights only that band's LED) and an MLO client (the bands it's actually using blink).
Good morning @wozi, another masterclass, if they end up hiring you.
By the way, help them improve their new software; what a load of garbage they’ve created. I know there are only Chinese and English speakers, and they can’t even add languages, and on top of that, they restrict installation; you have to do it through the terminal, and only what they want. So, nothing they show and promise is open source. What the Banana team has created is a complete mess.
Thanks for showing the Banana team where the flaws are. You expose and teach, while they hide things without official repositories, lest the competition copy their ideas.
I prefer to keep using everything you do rather than their crap job.
Thanks for showing us something new.
Where are you, Banana team?
You could read this kind of thread instead of giving us software and a new product that’s mass-produced by removing the 6G band.
Great progress! And they’ll mass-produce it, and who knows, they might even give it to us for free.
@LS3480 Your instinct is right — they go into the mt76 package’s patches directory.
On the MTK SDK feed layout (what I build with) that’s:
.../autobuild/unified/filogic/mac80211/25.12/files/package/kernel/mt76/patches/
On plain OpenWrt it’s:
package/kernel/mt76/patches/
Grab both patches from the mainline submission (the lore link in the first post) and drop the two files in there. Give them a high number so they apply after the existing mt76 patches, e.g. 9999-w-mt7996-per-band-leds.patch and 9999-w-mt76-share-tpt-led-trigger.patch. Then make package/kernel/mt76/{clean,compile} (or a full rebuild) picks them up. There’s nothing board-specific — they apply to any MT7996/BE14 build.
@avbohemen Yes. Both patches are generic mt76 driver changes — nothing board- or SDK-specific — and they’re in the mainline linux-wireless review process, so they apply to vanilla OpenWrt’s mt76 the same way: drop them in package/kernel/mt76/patches/ and rebuild. You may need a small offset fixup if vanilla’s mt76 version differs from the one I build against, but there’s no dependency on the MTK SDK for the LED fix itself.
One caveat so I don’t oversell it: this only fixes the LEDs. Getting the full MT7996/BE14 WiFi 7 + MLO stack running on vanilla OpenWrt is a separate, much bigger topic — but the LED patches themselves are vanilla-friendly.
@Xiaomi_ax3600 Thanks for the kind words, much appreciated — glad it’s useful to you! I’ll keep sharing what I find and posting the patches openly so anyone can build on them.
Ok, I can confirm it is working in vanilla OpenWRT. At the moment I do not care about MLO, I just have 3 SSIDs, 1 for each band, and they are working just fine. I adapted the PR I linked to in my previous post to the following:
After that, the LEDs are working by default, no config needed. However, it is possible to add it to /etc/config/system (via LuCI is also possible):
edit: the LED names in sysfs are different from what you might expect: 2g is mt76-phy0_2; 5g is mt76-phy0; 6g is mt76-phy0_1. I hope they are registered in the same sequence after a reboot…
config led
option name 'wifi_2g'
option sysfs 'mt76-phy0_2'
option trigger 'netdev'
option dev 'phy0.0-ap0'
list mode 'link'
list mode 'tx'
list mode 'rx'
config led
option name 'wifi_5g'
option sysfs 'mt76-phy0'
option trigger 'netdev'
option dev 'phy0.1-ap0'
list mode 'link'
list mode 'tx'
list mode 'rx'
config led
option name 'wifi_6g'
option sysfs 'mt76-phy0_1'
option trigger 'netdev'
option dev 'phy0.2-ap0'
list mode 'link'
list mode 'tx'
list mode 'rx'
@avbohemen Nice work getting it up on vanilla — and thanks for tracking down the missing piece. That’s exactly the part my earlier reply glossed over: on vanilla the mt7996 driver isn’t compiled with LED support at all, so my two patches have nothing to attach to until CONFIG_MT76_LEDS is enabled for it. mbc07’s PR #1090 (or your local ccflags-y += -DCONFIG_MT76_LEDS in mt7996/Makefile) is the right fix.
So the full vanilla recipe is: enable MT76_LEDS for mt7996 + the two mt76 patches → per-band LEDs. On the MTK SDK build I use, MT76_LEDS is already on, which is why the two patches alone were enough on my side — good to have the vanilla path documented for others.
On the LED names: your mapping is safe to rely on. The sysfs suffix (mt76-phy0 / _1 / _2) follows the driver’s phy/band registration order, which is fixed by band_idx at init — nothing dynamic, so it comes up identically after every reboot. It just isn’t in 2.4/5/6 order because band_idx follows the MT7996 internal band numbering (the base mt76-phy0 is the primary band, 5 GHz on this chip), not frequency. So your 2g=mt76-phy0_2 / 5g=mt76-phy0 / 6g=mt76-phy0_1 will stay put across reboots.
Good morning @wozi, thanks for the SDK. It’s the same thing Banana Pi does, making their SDK public; they just forgot to include the link. Maybe they’ll release their SDK with the new BE14000 and BE19000.
It’s a shame that the all-powerful @sinovoip doesn’t even thank you. Oh, right, this man only thinks about money, not the community.
We’re still waiting for the third generation of BE14000. It seems that in three years they still haven’t managed to modify them to address the noise issue.
Several prototypes of BE19000 have been seen, and they’ll even be mass-produced. It’s been a year since they announced this.
But no, they’re not going to acknowledge everything you do for the community. That’s just how kind they are.
Nice work documenting the complete vanilla OpenWrt setup as well. The extra CONFIG_MT76_LEDS step and the stable mapping of mt76-phy0, _1 and _2 are especially useful details for anyone trying to reproduce this on a clean build.
Apologies in advance for not contributing to the discussion, just wanted to say that this is stellar work in every respect, and deserves outmost praise!
@wozi thanks for your work and the patches. i was working on an ASUS RT-BE59 that was suffering the same issue and the 5ghz led stayed dark no matter what. after applying your patches both leds worked fine but i’ve noticed that both leds stay lit, even tho one band is disabled, so i added another patch on top of it: mediatek: add support for ASUS RT-BE59 by achterin · Pull Request #26585 · openwrt/openwrt · GitHub
feel free to review and comment if you have a better idea of handling that case.
@achterin thanks for trying the patches on the RT-BE59, and for the follow-up.
You’re right. All bands share the one throughput trigger, so a stopped band’s LED keeps following it as long as any other band is up. The BPI-R4 does the same when one radio is disabled.
Your fix looks right to me. blink_set is the simplest place for the MT76_STATE_RUNNING check: the trigger re-applies the blink every second anyway, and the band start/stop paths stay untouched.
I’ll carry it in the BPI-R4 deploy builds with the next update. If you send it to linux-wireless on top of my series (v2), I’m happy to add a Tested-by from the BPI-R4.
Thanks for sharing the follow-up, and to @achterin for testing this on the RT-BE59 too. It is really helpful to see the stopped-band case explained so clearly, and good to know the fix will be carried into the next BPI-R4 deploy build.
Thanks for documenting this so thoroughly. The per-band LED fix and the vanilla OpenWrt steps (especially enabling CONFIG_MT76_LEDS for mt7996) are really helpful. Also good to see the follow-up about keeping LEDs off for disabled bands—that’s a sensible improvement.