kernel_samsung_a53x/drivers/net/wireless/ath
Baochen Qiang 41f58cf2a5 wifi: ath10k: fix invalid VHT parameters in supported_vht_mcs_rate_nss2
[ Upstream commit 52db16ec5bae7bd027804265b968259d1a6c3970 ]

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

	invalid vht params rate 1730 100kbps nss 2 mcs 9

and:

	invalid vht params rate 1920 100kbps nss 2 mcs 9

Change it to {1730,  1920} to align with firmware to fix the issue.

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>
Tested-by: Paul Menzel <pmenzel@molgen.mpg.de> # Dell XPS 13 9360
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://patch.msgid.link/20240711020344.98040-3-quic_bqiang@quicinc.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-12-17 13:24:04 +01:00
..
ar5523 wifi: ar5523: enable proper endpoint verification 2024-11-19 12:26:56 +01:00
ath5k
ath6kl
ath9k wifi: ath9k: add range check for conn_rsp_epid in htc_connect_service() 2024-12-17 13:24:03 +01:00
ath10k wifi: ath10k: fix invalid VHT parameters in supported_vht_mcs_rate_nss2 2024-12-17 13:24:04 +01:00
ath11k Revert "wifi: ath11k: fix array out-of-bound access in SoC stats" 2024-11-24 00:23:10 +01:00
carl9170 wifi: carl9170: add a proper sanity check for endpoints 2024-11-19 12:26:55 +01:00
wcn36xx
wil6210
ath.h wifi: ath9k: work around memset overflow warning 2024-11-19 14:19:06 +01:00
debug.c
dfs_pattern_detector.c
dfs_pattern_detector.h
dfs_pri_detector.c
dfs_pri_detector.h
hw.c
Kconfig
key.c
main.c
Makefile
reg.h
regd.c
regd.h
regd_common.h
spectral_common.h
trace.c
trace.h