aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_i.h
diff options
context:
space:
mode:
authorIvo van Doorn <ivdoorn@gmail.com>2008-01-07 13:45:24 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:01:04 -0500
commitcdcb006fbe7a74b5f7827f5c5c27e11399a2fab7 (patch)
tree6141a5b4315775bea971d3457191071d36061822 /net/mac80211/ieee80211_i.h
parentdf26e7ea049abe5104062f1f3e9ee7ede9d5104f (diff)
mac80211: Add radio led trigger
Some devices have a seperate LED which indicates if the radio is enabled or not. This adds a LED trigger to mac80211 where drivers can hook into when they are interested in radio status changes. v2: Check hw.conf.radio_enabled when calling start(). Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r--net/mac80211/ieee80211_i.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index 662e69ef7eed..b898b316bda1 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -500,8 +500,9 @@ struct ieee80211_local {
500 500
501#ifdef CONFIG_MAC80211_LEDS 501#ifdef CONFIG_MAC80211_LEDS
502 int tx_led_counter, rx_led_counter; 502 int tx_led_counter, rx_led_counter;
503 struct led_trigger *tx_led, *rx_led, *assoc_led; 503 struct led_trigger *tx_led, *rx_led, *assoc_led, *radio_led;
504 char tx_led_name[32], rx_led_name[32], assoc_led_name[32]; 504 char tx_led_name[32], rx_led_name[32],
505 assoc_led_name[32], radio_led_name[32];
505#endif 506#endif
506 507
507 u32 channel_use; 508 u32 channel_use;