rt2x00: Split rt61/rt73 antenna selection into RX and TX antenna

Based on investigation of the legacy drivers, I have made the
following assumptions of the antenna setup:
 - R77 is the TX antenna configuration
 - RF2529 fetches default antenna selection from NIC eeprom word

With these assumptions we can change the antenna configuration
to correctly read both antenna setup values and correctly
configure the antenna. And we can now also configure the antenna
for RF2529 without a double antenna.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Ivo van Doorn
2007-10-27 13:39:57 +02:00
committed by David S. Miller
parent e25c4bb913
commit e4cd2ff89f
4 changed files with 191 additions and 90 deletions

View File

@@ -719,7 +719,7 @@ struct hw_pairwise_ta_entry {
/*
* R77
*/
#define BBP_R77_PAIR FIELD8(0x03)
#define BBP_R77_TX_ANTENNA FIELD8(0x03)
/*
* RF registers