aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_led.h
diff options
context:
space:
mode:
authorMichael Buesch <mb@bu3sch.de>2007-09-27 09:10:44 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:54:20 -0400
commit47f0c502209056da728e6a306a43d5e19a37f4fa (patch)
treedb62b1f47c0c37f8c5e7943a1410737721803614 /net/mac80211/ieee80211_led.h
parentddd3d2be85e3207c47f2b3c431723e6c758b4b0d (diff)
[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 @@
14#ifdef CONFIG_MAC80211_LEDS 14#ifdef CONFIG_MAC80211_LEDS
15extern void ieee80211_led_rx(struct ieee80211_local *local); 15extern void ieee80211_led_rx(struct ieee80211_local *local);
16extern void ieee80211_led_tx(struct ieee80211_local *local, int q); 16extern void ieee80211_led_tx(struct ieee80211_local *local, int q);
17extern void ieee80211_led_assoc(struct ieee80211_local *local,
18 bool associated);
17extern void ieee80211_led_init(struct ieee80211_local *local); 19extern void ieee80211_led_init(struct ieee80211_local *local);
18extern void ieee80211_led_exit(struct ieee80211_local *local); 20extern void ieee80211_led_exit(struct ieee80211_local *local);
19#else 21#else
@@ -23,6 +25,10 @@ static inline void ieee80211_led_rx(struct ieee80211_local *local)
23static inline void ieee80211_led_tx(struct ieee80211_local *local, int q) 25static inline void ieee80211_led_tx(struct ieee80211_local *local, int q)
24{ 26{
25} 27}
28static inline void ieee80211_led_assoc(struct ieee80211_local *local,
29 bool associated)
30{
31}
26static inline void ieee80211_led_init(struct ieee80211_local *local) 32static inline void ieee80211_led_init(struct ieee80211_local *local)
27{ 33{
28} 34}