summaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_led.h
diff options
context:
space:
mode:
authorMichael Buesch2007-09-27 15:10:44 +0200
committerDavid S. Miller2007-10-11 01:54:20 +0200
commit47f0c502209056da728e6a306a43d5e19a37f4fa (patch)
treedb62b1f47c0c37f8c5e7943a1410737721803614 /net/mac80211/ieee80211_led.h
parent[MAC80211]: make userspace-mlme a per-interface setting (diff)
downloadkernel-qcow2-linux-47f0c502209056da728e6a306a43d5e19a37f4fa.tar.gz
kernel-qcow2-linux-47f0c502209056da728e6a306a43d5e19a37f4fa.tar.xz
kernel-qcow2-linux-47f0c502209056da728e6a306a43d5e19a37f4fa.zip
[MAC80211]: Add association LED trigger
Many devices have LEDs to indicate the link status. Export this functionality to drivers. Signed-off-by: Michael Buesch <mb@bu3sch.de> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211/ieee80211_led.h')
-rw-r--r--net/mac80211/ieee80211_led.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_led.h b/net/mac80211/ieee80211_led.h
index 5c8ab8263878..0feb22619835 100644
--- a/net/mac80211/ieee80211_led.h
+++ b/net/mac80211/ieee80211_led.h
@@ -14,6 +14,8 @@
#ifdef CONFIG_MAC80211_LEDS
extern void ieee80211_led_rx(struct ieee80211_local *local);
extern void ieee80211_led_tx(struct ieee80211_local *local, int q);
+extern void ieee80211_led_assoc(struct ieee80211_local *local,
+ bool associated);
extern void ieee80211_led_init(struct ieee80211_local *local);
extern void ieee80211_led_exit(struct ieee80211_local *local);
#else
@@ -23,6 +25,10 @@ static inline void ieee80211_led_rx(struct ieee80211_local *local)
static inline void ieee80211_led_tx(struct ieee80211_local *local, int q)
{
}
+static inline void ieee80211_led_assoc(struct ieee80211_local *local,
+ bool associated)
+{
+}
static inline void ieee80211_led_init(struct ieee80211_local *local)
{
}