diff options
author | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-30 19:16:45 -0400 |
---|---|---|
committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-30 19:16:45 -0400 |
commit | ada47b5fe13d89735805b566185f4885f5a3f750 (patch) | |
tree | 644b88f8a71896307d71438e9b3af49126ffb22b /drivers/net/wireless/rtl818x/rtl8187.h | |
parent | 43e98717ad40a4ae64545b5ba047c7b86aa44f4f (diff) | |
parent | 3280f21d43ee541f97f8cda5792150d2dbec20d5 (diff) |
Merge branch 'wip-2.6.34' into old-private-masterarchived-private-master
Diffstat (limited to 'drivers/net/wireless/rtl818x/rtl8187.h')
-rw-r--r-- | drivers/net/wireless/rtl818x/rtl8187.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/net/wireless/rtl818x/rtl8187.h b/drivers/net/wireless/rtl818x/rtl8187.h index bf9175a8c1f4..6bb32112e65c 100644 --- a/drivers/net/wireless/rtl818x/rtl8187.h +++ b/drivers/net/wireless/rtl818x/rtl8187.h | |||
@@ -23,6 +23,7 @@ | |||
23 | #define RTL8187_EEPROM_TXPWR_CHAN_1 0x16 /* 3 channels */ | 23 | #define RTL8187_EEPROM_TXPWR_CHAN_1 0x16 /* 3 channels */ |
24 | #define RTL8187_EEPROM_TXPWR_CHAN_6 0x1B /* 2 channels */ | 24 | #define RTL8187_EEPROM_TXPWR_CHAN_6 0x1B /* 2 channels */ |
25 | #define RTL8187_EEPROM_TXPWR_CHAN_4 0x3D /* 2 channels */ | 25 | #define RTL8187_EEPROM_TXPWR_CHAN_4 0x3D /* 2 channels */ |
26 | #define RTL8187_EEPROM_SELECT_GPIO 0x3B | ||
26 | 27 | ||
27 | #define RTL8187_REQT_READ 0xC0 | 28 | #define RTL8187_REQT_READ 0xC0 |
28 | #define RTL8187_REQT_WRITE 0x40 | 29 | #define RTL8187_REQT_WRITE 0x40 |
@@ -31,6 +32,9 @@ | |||
31 | 32 | ||
32 | #define RTL8187_MAX_RX 0x9C4 | 33 | #define RTL8187_MAX_RX 0x9C4 |
33 | 34 | ||
35 | #define RFKILL_MASK_8187_89_97 0x2 | ||
36 | #define RFKILL_MASK_8198 0x4 | ||
37 | |||
34 | struct rtl8187_rx_info { | 38 | struct rtl8187_rx_info { |
35 | struct urb *urb; | 39 | struct urb *urb; |
36 | struct ieee80211_hw *dev; | 40 | struct ieee80211_hw *dev; |
@@ -88,7 +92,7 @@ struct rtl8187_priv { | |||
88 | struct rtl818x_csr *map; | 92 | struct rtl818x_csr *map; |
89 | const struct rtl818x_rf_ops *rf; | 93 | const struct rtl818x_rf_ops *rf; |
90 | struct ieee80211_vif *vif; | 94 | struct ieee80211_vif *vif; |
91 | int mode; | 95 | |
92 | /* The mutex protects the TX loopback state. | 96 | /* The mutex protects the TX loopback state. |
93 | * Any attempt to set channels concurrently locks the device. | 97 | * Any attempt to set channels concurrently locks the device. |
94 | */ | 98 | */ |
@@ -104,6 +108,7 @@ struct rtl8187_priv { | |||
104 | struct delayed_work work; | 108 | struct delayed_work work; |
105 | struct ieee80211_hw *dev; | 109 | struct ieee80211_hw *dev; |
106 | #ifdef CONFIG_RTL8187_LEDS | 110 | #ifdef CONFIG_RTL8187_LEDS |
111 | struct rtl8187_led led_radio; | ||
107 | struct rtl8187_led led_tx; | 112 | struct rtl8187_led led_tx; |
108 | struct rtl8187_led led_rx; | 113 | struct rtl8187_led led_rx; |
109 | struct delayed_work led_on; | 114 | struct delayed_work led_on; |
@@ -119,10 +124,10 @@ struct rtl8187_priv { | |||
119 | } hw_rev; | 124 | } hw_rev; |
120 | struct sk_buff_head rx_queue; | 125 | struct sk_buff_head rx_queue; |
121 | u8 signal; | 126 | u8 signal; |
122 | u8 quality; | ||
123 | u8 noise; | 127 | u8 noise; |
124 | u8 slot_time; | 128 | u8 slot_time; |
125 | u8 aifsn[4]; | 129 | u8 aifsn[4]; |
130 | u8 rfkill_mask; | ||
126 | struct { | 131 | struct { |
127 | __le64 buf; | 132 | __le64 buf; |
128 | struct sk_buff_head queue; | 133 | struct sk_buff_head queue; |