projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c54a7b
)
ath10k: fix NSS reporting in RX
author
Michal Kazior
<michal.kazior@tieto.com>
Wed, 16 Oct 2013 13:45:59 +0000
(16:45 +0300)
committer
Kalle Valo
<kvalo@qca.qualcomm.com>
Mon, 21 Oct 2013 13:41:18 +0000
(16:41 +0300)
NSTS values reported in the VHT-SIG-A1 are 0
through 7 but they actually describe number of
streams 1 through 8.
1SS frames were dropped. This patch fixes this.
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/txrx.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath10k/txrx.c
b/drivers/net/wireless/ath/ath10k/txrx.c
index 5ae373a1e2942fbcb3d185533d41eaf9dd8e24bd..c511f919d54181eb879966a8dde071649b74a8b5 100644
(file)
--- a/
drivers/net/wireless/ath/ath10k/txrx.c
+++ b/
drivers/net/wireless/ath/ath10k/txrx.c
@@
-183,7
+183,7
@@
static void process_rx_rates(struct ath10k *ar, struct htt_rx_info *info,
/* VHT-SIG-A1 in info 1, VHT-SIG-A2 in info2
TODO check this */
mcs = (info2 >> 4) & 0x0F;
- nss = (
info1 >> 10) & 0x07
;
+ nss = (
(info1 >> 10) & 0x07) + 1
;
bw = info1 & 3;
sgi = info2 & 1;