]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: ath10k: fix invalid VHT parameters in supported_vht_mcs_rate_nss1
authorBaochen Qiang <quic_bqiang@quicinc.com>
Thu, 11 Jul 2024 02:03:43 +0000 (10:03 +0800)
committerKalle Valo <quic_kvalo@quicinc.com>
Sat, 28 Sep 2024 09:11:12 +0000 (12:11 +0300)
commitd50886b27850447d90c0cd40c725238097909d1e
treeecca05950abbba2d1cbf92f5c2d5f40944b05132
parent07211778c0ca6a27e7adecff255ceac9c189e8c0
wifi: ath10k: fix invalid VHT parameters in supported_vht_mcs_rate_nss1

In supported_vht_mcs_rate_nss1, the rate for MCS9 & VHT20 is defined as
{780,  867}, this does not align with firmware's definition and therefore
fails the verification in ath10k_mac_get_rate_flags_vht():

invalid vht params rate 960 100kbps nss 1 mcs 9

Change it to {865,  960} to align with firmware, so this issue could be
fixed.

Since ath10k_hw_params::supports_peer_stats_info is enabled only for
QCA6174, this change does not affect other chips.

Tested-on: QCA6174 hw3.2 PCI WLAN.RM.4.4.1-00309-QCARMSWPZ-1

Fixes: 3344b99d69ab ("ath10k: add bitrate parse for peer stats info")
Reported-by: Paul Menzel <pmenzel@molgen.mpg.de>
Closes: https://lore.kernel.org/lkml/fba24cd3-4a1e-4072-8585-8402272788ff@molgen.mpg.de/
Signed-off-by: Baochen Qiang <quic_bqiang@quicinc.com>
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://patch.msgid.link/20240711020344.98040-2-quic_bqiang@quicinc.com
drivers/net/wireless/ath/ath10k/mac.c