summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/wil6210/cfg80211.c
diff options
context:
space:
mode:
authorSven Eckelmann <sven.eckelmann@openmesh.com>2017-05-19 11:54:02 +0300
committerKalle Valo <kvalo@qca.qualcomm.com>2017-05-23 18:28:19 +0300
commitc1dd8016ae02557e4f3fcf7339865924d9357f76 (patch)
tree3d7c8d7e3da8d477b0a6c340fb2fdf98e23a1b5c /drivers/net/wireless/ath/wil6210/cfg80211.c
parent8c1f20815231edf1ed2b7133ea07ea94ca31db05 (diff)
downloadlinux-c1dd8016ae02557e4f3fcf7339865924d9357f76.tar.xz
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: cec17c382140 ("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>
Diffstat (limited to 'drivers/net/wireless/ath/wil6210/cfg80211.c')
0 files changed, 0 insertions, 0 deletions