]> git.baikalelectronics.ru Git - kernel.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)
committerKalle Valo <quic_kvalo@quicinc.com>
Fri, 28 Jan 2022 12:33:35 +0000 (14:33 +0200)
commite92551d1d3cb3a6bc96e6b0f6f0ac2fa4b2f459d
tree249babdca7b80abb2f1bb493b8adfe8380e4b8ff
parent50cb900469f973f44c4572c86320b00786a3db9d
ath11k: set WMI_PEER_40MHZ while peer assoc for 6 GHz

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: fcf1141b1922 ("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
drivers/net/wireless/ath/ath11k/mac.c