Skip to content

wifi: mac80211: make the phy tpt LED indicate real traffic

Salah Ahmed linux-wireless lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2wifi: mac80211: count the tpt LED trigger from delivered data onlynet/mac80211/rx.c+2 -50 replies
2/2wifi: mac80211: keep the tpt LED solid below an idle thresholdnet/mac80211/led.c+16 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] wifi: mac80211: make the phy tpt LED indicate real traffic

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(-)
Signature · 1 line
2.53.0