diff options
author | Michael Buesch <mb@bu3sch.de> | 2008-04-03 12:01:12 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-04-08 16:44:41 -0400 |
commit | 7b584163979a9fe2ebfdd57a9d64cbe27166ab70 (patch) | |
tree | dfea5d287564ecb38513f71ed21c68d54059c5bb /drivers/net/wireless/b43/xmit.h | |
parent | 9cfb0009dab6d6b4c5a15c5d74ab60d7a7a7371b (diff) |
b43: Add more N-PHY stuff
This adds some minor stuff for N-PHY support. Nothing special.
Adds Analog switching and some TODOs for RSSI processing.
Just a patch I had floating around for quite some time now.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/xmit.h')
-rw-r--r-- | drivers/net/wireless/b43/xmit.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/drivers/net/wireless/b43/xmit.h b/drivers/net/wireless/b43/xmit.h index 4f26988a5132..b05f44e0d626 100644 --- a/drivers/net/wireless/b43/xmit.h +++ b/drivers/net/wireless/b43/xmit.h | |||
@@ -212,8 +212,19 @@ struct b43_rxhdr_fw4 { | |||
212 | __le16 frame_len; /* Frame length */ | 212 | __le16 frame_len; /* Frame length */ |
213 | PAD_BYTES(2); | 213 | PAD_BYTES(2); |
214 | __le16 phy_status0; /* PHY RX Status 0 */ | 214 | __le16 phy_status0; /* PHY RX Status 0 */ |
215 | __u8 jssi; /* PHY RX Status 1: JSSI */ | 215 | union { |
216 | __u8 sig_qual; /* PHY RX Status 1: Signal Quality */ | 216 | /* RSSI for A/B/G-PHYs */ |
217 | struct { | ||
218 | __u8 jssi; /* PHY RX Status 1: JSSI */ | ||
219 | __u8 sig_qual; /* PHY RX Status 1: Signal Quality */ | ||
220 | } __attribute__ ((__packed__)); | ||
221 | |||
222 | /* RSSI for N-PHYs */ | ||
223 | struct { | ||
224 | __s8 power0; /* PHY RX Status 1: Power 0 */ | ||
225 | __s8 power1; /* PHY RX Status 1: Power 1 */ | ||
226 | } __attribute__ ((__packed__)); | ||
227 | } __attribute__ ((__packed__)); | ||
217 | __le16 phy_status2; /* PHY RX Status 2 */ | 228 | __le16 phy_status2; /* PHY RX Status 2 */ |
218 | __le16 phy_status3; /* PHY RX Status 3 */ | 229 | __le16 phy_status3; /* PHY RX Status 3 */ |
219 | __le32 mac_status; /* MAC RX status */ | 230 | __le32 mac_status; /* MAC RX status */ |