ath10k: support get/set antenna configurations.
authorBen Greear <greearb@candelatech.com>
Fri, 16 May 2014 14:15:38 +0000 (17:15 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 22 May 2014 16:55:09 +0000 (19:55 +0300)
commit46acf7bb9b61289ea3353561142e3bf41119bd3e
tree1201b3c0c3081e33f79a8e342e00729a40de26f7
parenteeab266c0f3c9c85ef649ba737e2d553742a2532
ath10k: support get/set antenna configurations.

Verified that target's tx/rx chain register is set appropriately,
and that the tx rate goes down as number of chains
decrease, but I did not actually try to verify antenna
ceased to transmit when disabled.

kvalo: move ar->supp_*_chainmask initialisation to ath10k_mac_register()

Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: Avery Pennarun <apenwarr@gmail.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/core.h
drivers/net/wireless/ath/ath10k/mac.c