]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5ecbbd5e27c62718492cdbb25352bec0614bd727
tree878b5412274181a65dfb42e1e5454da3e16559e3
parent8b7901ec23bf6a88ea70689cb52feaa5c58d5bdc
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