rt2x00: Split rt61/rt73 antenna selection into RX and TX antenna
authorIvo van Doorn <ivdoorn@gmail.com>
Sat, 27 Oct 2007 11:39:57 +0000 (13:39 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:02:57 +0000 (15:02 -0800)
commite4cd2ff89f91b0556a2e2d928219b2908cafd67f
tree352574531891b099649b53dc121e40660ec77b93
parente25c4bb913e54d729631ba7eb50daf1d9aacbef6
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>
drivers/net/wireless/rt2x00/rt61pci.c
drivers/net/wireless/rt2x00/rt61pci.h
drivers/net/wireless/rt2x00/rt73usb.c
drivers/net/wireless/rt2x00/rt73usb.h