Patch "ath10k: fix invalid NSS for 4x4 devices" has been added to the 4.1-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
ath10k: fix invalid NSS for 4x4 devices
to the 4.1-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
ath10k-fix-invalid-nss-for-4x4-devices.patch
and it can be found in the queue-4.1 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
f680f70adbeab28b35f849016b964dd645db6237Mon Sep 17 00:00:00 2001
From: Rajkumar Manoharan <[email protected]>
Date: Tue, 3 Nov 2015 11:51:33 +0530
Subject: ath10k: fix invalid NSS for 4x4 devices
From: Rajkumar Manoharan <[email protected]>
commit f680f70adbeab28b35f849016b964dd645db6237 upstream.
The number of spatial streams that are derived from chain mask for 4x4 devices is using wrong bitmask and conditional check. This is affecting downlink throughput for QCA99x0 devices. Earlier cfg_tx_chainmask is not filled by default until user configured it and so get_nss_from_chainmask never be called. This issue is exposed by recent commit 166de3f1895d ("ath10k: remove supported chain mask"). By default maximum supported chain mask is filled in cfg_tx_chainmask.
--- drivers/net/wireless/ath/ath10k/mac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/ath/ath10k/mac.c +1 -1
@@ -3183,7 +3183,7 @@ static int ath10k_config(struct ieee8021static u32 get_nss_from_chainmask (u16 chain_mask) { -if ((chain_mask &0x15 ) ==0x15 ) +if ((chain_mask &0xf ) ==0xf )return 4 ;else if ((chain_mask &0x7 ) ==0x7 )return 3 ;
Patches currently in stable-queue which might be from [email protected] are
queue-4.1/ath10k-fix-invalid-nss-for-4x4-devices.patch