diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2007-10-10 23:44:22 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:03:27 -0500 |
commit | 93bb7f3a7bb5c95da10242d9763994a466c90b1d (patch) | |
tree | 8c248e88ea2be5ae791003050bda848b4a72dd36 /drivers/net/wireless/b43legacy/b43legacy.h | |
parent | ba48f7bb8062982ec916868cc8c90360aad82e53 (diff) |
b43legacy: RF-kill support
This adds full support for the RFKILL button and the RFKILL LED trigger.
This is a port to b43legacy of a patch by Michael Buesch <mb@bu3sch.de>
for b43.
Signed-off-by: Larry Finger<Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43legacy/b43legacy.h')
-rw-r--r-- | drivers/net/wireless/b43legacy/b43legacy.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43legacy/b43legacy.h b/drivers/net/wireless/b43legacy/b43legacy.h index 41243ba821ac..fe2af06f5599 100644 --- a/drivers/net/wireless/b43legacy/b43legacy.h +++ b/drivers/net/wireless/b43legacy/b43legacy.h | |||
@@ -19,6 +19,7 @@ | |||
19 | 19 | ||
20 | #include "debugfs.h" | 20 | #include "debugfs.h" |
21 | #include "leds.h" | 21 | #include "leds.h" |
22 | #include "rfkill.h" | ||
22 | #include "phy.h" | 23 | #include "phy.h" |
23 | 24 | ||
24 | 25 | ||
@@ -592,6 +593,9 @@ struct b43legacy_wl { | |||
592 | u8 rng_initialized; | 593 | u8 rng_initialized; |
593 | char rng_name[30 + 1]; | 594 | char rng_name[30 + 1]; |
594 | 595 | ||
596 | /* The RF-kill button */ | ||
597 | struct b43legacy_rfkill rfkill; | ||
598 | |||
595 | /* List of all wireless devices on this chip */ | 599 | /* List of all wireless devices on this chip */ |
596 | struct list_head devlist; | 600 | struct list_head devlist; |
597 | u8 nr_devs; | 601 | u8 nr_devs; |
@@ -667,6 +671,7 @@ struct b43legacy_wldev { | |||
667 | struct b43legacy_led led_tx; | 671 | struct b43legacy_led led_tx; |
668 | struct b43legacy_led led_rx; | 672 | struct b43legacy_led led_rx; |
669 | struct b43legacy_led led_assoc; | 673 | struct b43legacy_led led_assoc; |
674 | struct b43legacy_led led_radio; | ||
670 | 675 | ||
671 | /* Reason code of the last interrupt. */ | 676 | /* Reason code of the last interrupt. */ |
672 | u32 irq_reason; | 677 | u32 irq_reason; |