ath10k: Support different txbf configuration schemes
authorVivek Natarajan <nataraja@qti.qualcomm.com>
Tue, 4 Aug 2015 05:15:11 +0000 (10:45 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 13 Aug 2015 11:21:10 +0000 (14:21 +0300)
commit08e75ea84cb595c52f140049fcf6362679473592
tree13bf6d7a8f66f2d593cd7e451292d71c272977ba
parent92092fe528e79c9bd25784ca0ef341d5a1d1b642
ath10k: Support different txbf configuration schemes

qca61x4 uses the vdev param as a sole sufficient configuration
for txbf while qca99x0 enables txbf during peer assoc by
combining the vdev param value with peer assoc's vht capabilities

This patch gets the appropriate txbf configuration scheme
before passing the wmi command to enable the same in the firmware.

Signed-off-by: Vivek Natarajan <nataraja@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c
drivers/net/wireless/ath/ath10k/wmi-ops.h
drivers/net/wireless/ath/ath10k/wmi-tlv.c
drivers/net/wireless/ath/ath10k/wmi.c
drivers/net/wireless/ath/ath10k/wmi.h