diff options
author | Michael Buesch <mb@bu3sch.de> | 2007-09-27 09:10:44 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:54:20 -0400 |
commit | 47f0c502209056da728e6a306a43d5e19a37f4fa (patch) | |
tree | db62b1f47c0c37f8c5e7943a1410737721803614 /net/mac80211/ieee80211_led.h | |
parent | ddd3d2be85e3207c47f2b3c431723e6c758b4b0d (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.h | 6 |
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 |
15 | extern void ieee80211_led_rx(struct ieee80211_local *local); | 15 | extern void ieee80211_led_rx(struct ieee80211_local *local); |
16 | extern void ieee80211_led_tx(struct ieee80211_local *local, int q); | 16 | extern void ieee80211_led_tx(struct ieee80211_local *local, int q); |
17 | extern void ieee80211_led_assoc(struct ieee80211_local *local, | ||
18 | bool associated); | ||
17 | extern void ieee80211_led_init(struct ieee80211_local *local); | 19 | extern void ieee80211_led_init(struct ieee80211_local *local); |
18 | extern void ieee80211_led_exit(struct ieee80211_local *local); | 20 | extern 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) | |||
23 | static inline void ieee80211_led_tx(struct ieee80211_local *local, int q) | 25 | static inline void ieee80211_led_tx(struct ieee80211_local *local, int q) |
24 | { | 26 | { |
25 | } | 27 | } |
28 | static inline void ieee80211_led_assoc(struct ieee80211_local *local, | ||
29 | bool associated) | ||
30 | { | ||
31 | } | ||
26 | static inline void ieee80211_led_init(struct ieee80211_local *local) | 32 | static inline void ieee80211_led_init(struct ieee80211_local *local) |
27 | { | 33 | { |
28 | } | 34 | } |