mac80211: add throughput based LED blink trigger
authorJohannes Berg <johannes.berg@intel.com>
Tue, 30 Nov 2010 07:58:45 +0000 (08:58 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Dec 2010 19:33:37 +0000 (14:33 -0500)
commite1e5406854378dfada3f33c7192b012083a5b8e0
treee878058f28b8f6db50ef5d73d09aed66dd9ad9f2
parentfe67c913f1ec2a01aaa9176c80ef36eaf87d705d
mac80211: add throughput based LED blink trigger

iwlwifi and other drivers like to blink their LED
based on throughput. Implement this generically in
mac80211, based on a throughput table the driver
specifies. That way, drivers can set the blink
frequencies depending on their desired behaviour
and max throughput.

All the drivers need to do is provide an LED class
device, best with blink hardware offload.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/mac80211.h
net/mac80211/ieee80211_i.h
net/mac80211/iface.c
net/mac80211/led.c
net/mac80211/led.h
net/mac80211/rx.c
net/mac80211/tx.c
net/mac80211/util.c