]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ath11k: set WMI_PEER_40MHZ while peer assoc for 6 GHz
authorWen Gong <quic_wgong@quicinc.com>
Wed, 19 Jan 2022 03:42:11 +0000 (22:42 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 11:57:59 +0000 (13:57 +0200)
commit3a3d93349c61e597bf7c8bb0f05ed11fa55a102e
treea0b58968b6645ca7d022ec69e8831d668c7a8c77
parent5abf2b761b998063f5e2bae93fd4ab10e2a80f10
ath11k: set WMI_PEER_40MHZ while peer assoc for 6 GHz

[ Upstream commit 1cb747192de2edb7e55920af8c458e4792908486 ]

When station connect to AP of 6 GHz with 40 MHz bandwidth, the TX is
always stay 20 MHz, it is because the flag WMI_PEER_40MHZ is not set
while peer assoc. Add the flag if remote peer is 40 MHz bandwidth.

Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-03003-QCAHSPSWPL_V1_V2_SILICONZ_LITE-2

Fixes: c3a7d7eb4c98 ("ath11k: add 6 GHz params in peer assoc command")
Signed-off-by: Wen Gong <quic_wgong@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20220119034211.28622-1-quic_wgong@quicinc.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/ath/ath11k/mac.c