ath9k: implement .get_antenna and .set_antenna
authorFelix Fietkau <nbd@openwrt.org>
Fri, 2 Sep 2011 23:40:27 +0000 (01:40 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 14 Sep 2011 17:56:22 +0000 (13:56 -0400)
commit43c3528430bd29f5e52438cad7cf7c0c62bf4583
treeb84845c758b2a4dba66403f6e6a6801d5e2574af
parent9adcf440dcc886a950a6049f928ab679912d99f4
ath9k: implement .get_antenna and .set_antenna

On MIMO chips this can be used to enable/disable hardware chains, ensuring
that the MCS information is updated accordingly.
On non-MIMO chips with rx diversity (e.g. 9285), this configures the rx
input antenna.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/init.c
drivers/net/wireless/ath/ath9k/main.c
drivers/net/wireless/ath/ath9k/recv.c