]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Implement an API to swap main/ALT LNA's
authorMohammed Shafi Shajakhan <mshajakhan@atheros.com>
Fri, 13 May 2011 15:01:09 +0000 (20:31 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 16 May 2011 18:10:46 +0000 (14:10 -0400)
commitfb7312d3b51f1d817a4f653fb8b3f2090da97177
tree8243a908c73cd799d45fb703e98a8ff60daca045
parent8c8806b1d1c955719c6a2c5d05a3125605d5a6d3
ath9k: Implement an API to swap main/ALT LNA's

for the diversity group 2(AR9485) we swap the LNA's of main/ALT antenna
based on alternate antenna's rssi average in comparision with main
antenna's rssi, while for AR9285(antenna diversity group 0)we still
follow the older method of looking at the packet count in alternate
antenna

Cc: Gabriel Tseng <Gabriel.Tseng@Atheros.com>
Cc: Senthilkumar Balasubramanian <Senthilkumar.Balasubramanian@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/recv.c