Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH 0/2] wifi: mac80211: make the phy tpt LED indicate real traffic
@ 2026-10-30 21:59 Salah Ahmed
  2026-10-30 21:59 ` [PATCH 1/2] wifi: mac80211: count the tpt LED trigger from delivered data only Salah Ahmed
  2026-10-30 21:59 ` [PATCH 2/2] wifi: mac80211: keep the tpt LED solid below an idle threshold Salah Ahmed
  0 siblings, 2 replies; 3+ messages in thread
From: Salah Ahmed @ 2026-10-30 21:59 UTC (permalink / raw)
  To: Johannes Berg, linux-wireless; +Cc: linux-kernel

An access point's phy throughput LED currently counts frames that are never
delivered to any local interface, and keeps blinking on the broadcast an idle AP
bridges, so it cannot answer the only question a user asks of it: is anything
actually being transferred?

Patch 1 counts the trigger from delivered data only, moving the RX accounting
past BSS/interface matching in the rx path. Patch 2 keeps the LED resting in its
baseline state below a small idle threshold, so the residual broadcast of a
zero-client AP no longer produces the slowest blink step forever.

Both were exercised on ath9k (QCA9563) and ath10k (QCA9888) access points,
including a zero-client idle-solid battery and a link-flap battery over several
weeks of production uptime.

Salah Ahmed (2):
  wifi: mac80211: count the tpt LED trigger from delivered data only
  wifi: mac80211: keep the tpt LED solid below an idle threshold

 net/mac80211/led.c | 16 ++++++++++++++++
 net/mac80211/rx.c  |  7 ++-----
 2 files changed, 18 insertions(+), 5 deletions(-)

-- 
2.53.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-10-30 21:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-30 21:59 [PATCH 0/2] wifi: mac80211: make the phy tpt LED indicate real traffic Salah Ahmed
2026-10-30 21:59 ` [PATCH 1/2] wifi: mac80211: count the tpt LED trigger from delivered data only Salah Ahmed
2026-10-30 21:59 ` [PATCH 2/2] wifi: mac80211: keep the tpt LED solid below an idle threshold Salah Ahmed

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox