diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2008-12-20 04:57:47 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-01-29 15:58:38 -0500 |
commit | 91581b627287d8cc3ee382ee038e04c4beca8176 (patch) | |
tree | 02ccf98e846e55885e1c906c46d318aef03e958b /drivers/net/wireless/rt2x00/rt61pci.h | |
parent | ce292a640228fded0d2e232216a19cba33e2cd0f (diff) |
rt2x00: Split EEPROM_NIC_TX_RX_FIXED
The 2 bits in EEPROM_NIC_TX_RX_FIXED each influence
a different antenna. We might as well split the
definition and directly read the correct bit.
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt61pci.h')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt61pci.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt61pci.h b/drivers/net/wireless/rt2x00/rt61pci.h index 86590c6de0e..cd86def8de5 100644 --- a/drivers/net/wireless/rt2x00/rt61pci.h +++ b/drivers/net/wireless/rt2x00/rt61pci.h | |||
@@ -1190,7 +1190,8 @@ struct hw_pairwise_ta_entry { | |||
1190 | #define EEPROM_NIC 0x0011 | 1190 | #define EEPROM_NIC 0x0011 |
1191 | #define EEPROM_NIC_ENABLE_DIVERSITY FIELD16(0x0001) | 1191 | #define EEPROM_NIC_ENABLE_DIVERSITY FIELD16(0x0001) |
1192 | #define EEPROM_NIC_TX_DIVERSITY FIELD16(0x0002) | 1192 | #define EEPROM_NIC_TX_DIVERSITY FIELD16(0x0002) |
1193 | #define EEPROM_NIC_TX_RX_FIXED FIELD16(0x000c) | 1193 | #define EEPROM_NIC_RX_FIXED FIELD16(0x0004) |
1194 | #define EEPROM_NIC_TX_FIXED FIELD16(0x0008) | ||
1194 | #define EEPROM_NIC_EXTERNAL_LNA_BG FIELD16(0x0010) | 1195 | #define EEPROM_NIC_EXTERNAL_LNA_BG FIELD16(0x0010) |
1195 | #define EEPROM_NIC_CARDBUS_ACCEL FIELD16(0x0020) | 1196 | #define EEPROM_NIC_CARDBUS_ACCEL FIELD16(0x0020) |
1196 | #define EEPROM_NIC_EXTERNAL_LNA_A FIELD16(0x0040) | 1197 | #define EEPROM_NIC_EXTERNAL_LNA_A FIELD16(0x0040) |