]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commitb85c5734f00886ee0f33ef4d0038ed9a278eefce
tree8243a908c73cd799d45fb703e98a8ff60daca045
parent8afbcc8bfb549a522298fa4a31ee5155c2b5f7a0
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