ath10k: fix beamformee VHT STS capability
authorBartosz Markowski <bartosz.markowski@tieto.com>
Wed, 2 Sep 2015 11:20:19 +0000 (13:20 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 9 Sep 2015 09:40:19 +0000 (12:40 +0300)
commit707a0c811ca02861f1500f0696efebcf3bd2e2e2
tree734773ae2de75537fff7695c5f4ad2fe1c24bea6
parent7b7da0a02192fd518c26c46dad6b14aca4569605
ath10k: fix beamformee VHT STS capability

The VHT STS CAP shall be reported by firmware to host, like in case of
QCA99x0. For QCA6174 hw family this isn't set for some reason.
So for this particular chips, let's assume it has the ability to
support VHT NDP in up to 4 STSs (which is true by the way).

Change the published beamformee STS cap accordingly to 3 or to what
the firmware reports.

Assumption so far, it suppose to be the num_rf_chains-1, was
completely wrong.

Signed-off-by: Bartosz Markowski <bartosz.markowski@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c