diff options
author | Michael Buesch <mb@bu3sch.de> | 2007-09-27 15:35:34 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:54:12 -0400 |
commit | 8e9f7529fdfe34ed519f048682eb404fbd8004e8 (patch) | |
tree | c0ca2c07e9f4124be2bc46c35823f4fb79e99d9d /drivers/net/wireless/b43/b43.h | |
parent | 21954c367e4088c491122edd263964345bc1d3bf (diff) |
[B43]: RF-kill support
This adds full support for the RFKILL button and
the RFKILL LED trigger.
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 'drivers/net/wireless/b43/b43.h')
-rw-r--r-- | drivers/net/wireless/b43/b43.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/b43.h b/drivers/net/wireless/b43/b43.h index 6e6b59227e16..a28ad230d63e 100644 --- a/drivers/net/wireless/b43/b43.h +++ b/drivers/net/wireless/b43/b43.h | |||
@@ -10,6 +10,7 @@ | |||
10 | 10 | ||
11 | #include "debugfs.h" | 11 | #include "debugfs.h" |
12 | #include "leds.h" | 12 | #include "leds.h" |
13 | #include "rfkill.h" | ||
13 | #include "lo.h" | 14 | #include "lo.h" |
14 | #include "phy.h" | 15 | #include "phy.h" |
15 | 16 | ||
@@ -625,6 +626,9 @@ struct b43_wl { | |||
625 | u8 rng_initialized; | 626 | u8 rng_initialized; |
626 | char rng_name[30 + 1]; | 627 | char rng_name[30 + 1]; |
627 | 628 | ||
629 | /* The RF-kill button */ | ||
630 | struct b43_rfkill rfkill; | ||
631 | |||
628 | /* List of all wireless devices on this chip */ | 632 | /* List of all wireless devices on this chip */ |
629 | struct list_head devlist; | 633 | struct list_head devlist; |
630 | u8 nr_devs; | 634 | u8 nr_devs; |
@@ -700,6 +704,7 @@ struct b43_wldev { | |||
700 | struct b43_led led_tx; | 704 | struct b43_led led_tx; |
701 | struct b43_led led_rx; | 705 | struct b43_led led_rx; |
702 | struct b43_led led_assoc; | 706 | struct b43_led led_assoc; |
707 | struct b43_led led_radio; | ||
703 | 708 | ||
704 | /* Reason code of the last interrupt. */ | 709 | /* Reason code of the last interrupt. */ |
705 | u32 irq_reason; | 710 | u32 irq_reason; |