OpenCloudOS-Kernel/drivers/net/wireless
Sven Eckelmann c1dd8016ae ath10k: fix reported HT MCS rates with NSS > 1
The QCA4019 firmware 10.4-3.2.1-00050 reports only HT MCS rates between
0-9. But 802.11n MCS rates can be larger than that. For example a 2x2
device can send with up to MCS 15.

The firmware encodes the higher MCS rates using the NSS field. The actual
calculation is not documented by QCA but it seems like the NSS field can be
mapped for HT rates to following MCS offsets:

 * NSS 1: 0
 * NSS 2: 8
 * NSS 3: 16
 * NSS 4: 24

This offset therefore has to be added for HT rates before they are stored
in the rate_info struct.

Fixes: cec17c3821 ("ath10k: add per peer htt tx stats support for 10.4")
Signed-off-by: Sven Eckelmann <sven.eckelmann@openmesh.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
2017-05-23 18:28:19 +03:00
..
admtek wireless: Set NL80211_EXT_FEATURE_CQM_RSSI_LIST in multiple drivers 2017-03-06 09:21:39 +01:00
ath ath10k: fix reported HT MCS rates with NSS > 1 2017-05-23 18:28:19 +03:00
atmel My last pull request has been a while, we now have: 2017-04-20 13:54:40 -04:00
broadcom brcmfmac: move scheduled scan wiphy param setting to pno module 2017-05-18 16:36:05 +03:00
cisco Annotate hardware config module parameters in drivers/net/wireless/ 2017-04-20 12:02:32 +01:00
intel mac80211: properly remove RX_ENC_FLAG_40MHZ 2017-05-08 11:11:56 +02:00
intersil Another set of patches for -next: 2017-04-28 14:41:15 -04:00
marvell mwifiex: add missing USB-descriptor endianness conversion 2017-05-19 09:03:04 +03:00
mediatek Another set of patches for -next: 2017-04-28 14:41:15 -04:00
ralink mac80211: separate encoding/bandwidth from flags 2017-04-28 10:41:45 +02:00
realtek rtlwifi: rtl8723ae: fix spelling mistake: "Coexistance" -> "Coexistence" 2017-05-18 17:15:00 +03:00
rsi wireless: Set NL80211_EXT_FEATURE_CQM_RSSI_LIST in multiple drivers 2017-03-06 09:21:39 +01:00
st mac80211: separate encoding/bandwidth from flags 2017-04-28 10:41:45 +02:00
ti wlcore: use memdup_user 2017-05-18 16:41:23 +03:00
zydas My last pull request has been a while, we now have: 2017-04-20 13:54:40 -04:00
Kconfig wireless: deprecate WDS and disable by default 2016-10-27 09:08:43 +02:00
Makefile
mac80211_hwsim.c mac80211: properly remove RX_ENC_FLAG_40MHZ 2017-05-08 11:11:56 +02:00
mac80211_hwsim.h mac80211_hwsim: fix command documentation indentation 2017-03-06 09:21:48 +01:00
ray_cs.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
ray_cs.h
rayctl.h
rndis_wlan.c Another set of patches for -next: 2017-04-28 14:41:15 -04:00
wl3501.h
wl3501_cs.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00