ath10k: apply chainmask settings to vdev on creation
authorBen Greear <greearb@candelatech.com>
Mon, 24 Nov 2014 14:22:10 +0000 (16:22 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 26 Nov 2014 06:24:03 +0000 (08:24 +0200)
commit5572a95b4b5768187652a346356e39e7542ca6e0
tree878b5412274181a65dfb42e1e5454da3e16559e3
parent3be004c3aa4341c7c2461b37612a3a7a3323579d
ath10k: apply chainmask settings to vdev on creation

It appears it takes more than just setting the
hardware's chainmask to make things work well.  Without
this patch, a vdev would only use 1x1 rates when chainmask
was set to 0x3.

Setting the 'nss' (number of spatial streams) on the vdev
helps the firmware's rate-control algorithm work properly.

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