diff options
Diffstat (limited to 'drivers/net/wireless/rtl8187.h')
-rw-r--r-- | drivers/net/wireless/rtl8187.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/drivers/net/wireless/rtl8187.h b/drivers/net/wireless/rtl8187.h index 3afb49f8866a..5a9515c99960 100644 --- a/drivers/net/wireless/rtl8187.h +++ b/drivers/net/wireless/rtl8187.h | |||
@@ -47,11 +47,13 @@ struct rtl8187_rx_hdr { | |||
47 | struct rtl8187b_rx_hdr { | 47 | struct rtl8187b_rx_hdr { |
48 | __le32 flags; | 48 | __le32 flags; |
49 | __le64 mac_time; | 49 | __le64 mac_time; |
50 | u8 noise; | 50 | u8 sq; |
51 | u8 signal; | 51 | u8 rssi; |
52 | u8 agc; | 52 | u8 agc; |
53 | u8 reserved; | 53 | u8 flags2; |
54 | __le32 unused; | 54 | __le16 snr_long2end; |
55 | s8 pwdb_g12; | ||
56 | u8 fot; | ||
55 | } __attribute__((packed)); | 57 | } __attribute__((packed)); |
56 | 58 | ||
57 | /* {rtl8187,rtl8187b}_tx_info is in skb */ | 59 | /* {rtl8187,rtl8187b}_tx_info is in skb */ |
@@ -92,6 +94,10 @@ struct rtl8187_priv { | |||
92 | const struct rtl818x_rf_ops *rf; | 94 | const struct rtl818x_rf_ops *rf; |
93 | struct ieee80211_vif *vif; | 95 | struct ieee80211_vif *vif; |
94 | int mode; | 96 | int mode; |
97 | /* The mutex protects the TX loopback state. | ||
98 | * Any attempt to set channels concurrently locks the device. | ||
99 | */ | ||
100 | struct mutex conf_mutex; | ||
95 | 101 | ||
96 | /* rtl8187 specific */ | 102 | /* rtl8187 specific */ |
97 | struct ieee80211_channel channels[14]; | 103 | struct ieee80211_channel channels[14]; |
@@ -100,6 +106,7 @@ struct rtl8187_priv { | |||
100 | struct usb_device *udev; | 106 | struct usb_device *udev; |
101 | u32 rx_conf; | 107 | u32 rx_conf; |
102 | u16 txpwr_base; | 108 | u16 txpwr_base; |
109 | u16 seqno; | ||
103 | u8 asic_rev; | 110 | u8 asic_rev; |
104 | u8 is_rtl8187b; | 111 | u8 is_rtl8187b; |
105 | enum { | 112 | enum { |