openwrt-pf/package/kernel
Mieczyslaw Nalewaj 2aa1185fb0 leds: add "network" LED trigger (lan/wan/wlan)
LED trigger for network interfaces.

 - Aggregated per-family (lan/wan/wlan).
 - Family and flags are taken from device tree properties:
   - "family" : simple family string "lan" | "wan" | "wlan"
   - "mode"   : any combination of "link", "tx", "rx" flags
  Priority/combination:
   * If "mode" present: flags come from "mode" and take precedence.
     Family is taken from "family" if present, otherwise from the LED name.
   * If only "family" present: use its family and default flags = link+tx+rx.
   * If neither present: fall back to LED device name parsing.

 - Suffix "-online" is valid ONLY in the LED name (label),
   e.g. "green:wlan-online". It indicates the online variant but is applied
   only when DT "mode" is absent.

Behaviour:
 - wlan (normal): blink/solid driven by throughput table
 - lan/wan (normal): one-shot blink on TX/RX packet change
 - *-online variants: steady ON while any interface of the family has carrier

 Interfaces are auto-tracked by name match (lan0, wan1, wlan2, phy0, wl1,
 ath0, ra0...). Up to MAX_IFACES (16) interfaces per family

This trigger is intended for board/device authors and drivers to provide simple
network-activity LED behaviour without per-interface wiring in userspace.

Refresh bcm27xx patches in the same commit to account for line shifts in
drivers/leds/trigger/Kconfig and Makefile, ensuring clean applies for
bisectability.

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/19903
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-06-05 20:30:34 +02:00
..
ath10k-ct kernel/ath10k: provide a virtual kmod 2025-12-31 18:16:48 +01:00
bcm27xx-gpu-fw
bcm63xx-cfe
bpf-headers bpf-headers: update to version 6.12 2025-11-27 14:31:30 +01:00
button-hotplug button-hotplug: add KEY_SETUP and KEY_VENDOR handling 2026-05-18 12:56:33 +02:00
cryptodev-linux cryptodev-linux: add backport to build for 6.18 2025-12-23 18:06:23 +01:00
econet-eth econet: en7528: add basic ethernet support 2026-02-15 01:12:52 +01:00
gpio-button-hotplug gpio-button-hotplug: avoid a const cast 2026-06-01 09:34:39 +02:00
gpio-nct5104d package: gpio-nct5104d: adapt to kernel 6.18 2025-12-30 10:44:05 +01:00
lantiq lantiq: remove old kernel fixes 2026-05-25 00:55:12 +02:00
leds-gca230718 leds-gca230718: fix compilation 2026-04-18 22:43:12 +02:00
leds-ws2812b treewide: use _scoped for loop 2026-04-16 21:17:43 +02:00
linux leds: add "network" LED trigger (lan/wan/wlan) 2026-06-05 20:30:34 +02:00
mac80211 mac80211: add ieee80211_txq_aql_pending() 2026-05-27 12:27:21 +02:00
mt76 mt76: build mt7622-firmware only for mt7622 sub-target 2026-05-12 09:34:32 +02:00
mt7621-qtn-rgmii
mwlwifi mwlwifi: add patch series for kernel 6.18 compatibility 2026-04-06 16:03:37 +02:00
nat46 netfilter: remove nf-conntrack6 2026-01-21 22:42:20 +01:00
ntfs ntfs: update to 2026-05-03 2026-05-14 19:05:45 +02:00
qca-nss-dp qca-nss-dp: update to Git HEAD (2026-03-13) 2026-03-13 11:40:03 +01:00
qca-ssdk qca-ssdk: update to Git HEAD (2026-06-04) 2026-06-04 22:21:21 +02:00
r8101 kernel/r8169: provide a virtual kmod 2025-12-31 18:16:48 +01:00
r8125 kernel/r8169: provide a virtual kmod 2025-12-31 18:16:48 +01:00
r8126 kernel/r8169: provide a virtual kmod 2025-12-31 18:16:48 +01:00
r8127 kernel/r8169: provide a virtual kmod 2025-12-31 18:16:48 +01:00
r8168 kernel: r8168: update to v8.056.02 2026-05-14 21:19:22 +02:00
rtc-rv5c386a rtc-rv5c386a: fix build with kernel 6.12 2026-03-10 23:50:54 +01:00
rtl8812au-ct rtl8812au-ct: restrict to kernels ≤ 6.18 2026-03-28 11:51:11 +01:00
trelay trelay: use struct_size helper in allocation 2026-03-13 19:58:05 +01:00
ubnt-ledbar
ubootenv-nvram treewide: replace remove_new with remove 2026-01-03 17:27:25 +01:00