ath9k_hw: enable Antenna diversity for AR9485
authorMohammed Shafi Shajakhan <mshajakhan@atheros.com>
Fri, 13 May 2011 14:59:31 +0000 (20:29 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 16 May 2011 18:10:43 +0000 (14:10 -0400)
commit21d2c63a2866a47030803de3db9b4e8759806095
tree2838cced9f77b39ce0d247eadee621e7a638723c
parent69de3721750ea4fae504be9e67f140cafe1c7a89
ath9k_hw: enable Antenna diversity for AR9485

read antenna diversity and combining information from the EEPROM.
Enable antenna diversity/combining feature only when both LNA
diversity and fast diversity are supported

Cc: Gabriel Tseng <Gabriel.Tseng@Atheros.com>
Cc: Senthilkumar Balasubramanian <Senthilkumar.Balasubramanian@Atheros.com>
Tested-by: Mohammed Shafi Shajakhan <mshajakhan@atheros.com>
Signed-off-by: Mohammed Shafi Shajakhan <mshajakhan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/hw.c