ath10k: detect the number of spatial streams supported by hw
authorMichal Kazior <michal.kazior@tieto.com>
Wed, 24 Jul 2013 10:36:46 +0000 (12:36 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 31 Jul 2013 06:03:56 +0000 (09:03 +0300)
commit8865bee4835441d9b3220d779d254d5856a68af0
tree259273a570be29c04f72fbce69b242cd43902a16
parentba0ccd7affd777cb90ad7279de4143663ae4d485
ath10k: detect the number of spatial streams supported by hw

Until now ath10k assumed 3 spatial streams.
However some devices support only 2 spatial
streams.

This patch improves performance on devices that
don't support 3 spatial streams.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/core.h
drivers/net/wireless/ath/ath10k/mac.c
drivers/net/wireless/ath/ath10k/wmi.c