wifi: ath12k: use correct flag field for 320 MHz channels
authorAloka Dixit <quic_alokad@quicinc.com>
Thu, 14 Mar 2024 20:46:51 +0000 (13:46 -0700)
committerKalle Valo <quic_kvalo@quicinc.com>
Wed, 20 Mar 2024 10:10:32 +0000 (12:10 +0200)
commit020e08ae5e68cbc0791e8d842443a86eb6aa99f6
treee7f30b6814dfe69b5b3ee4b34910f5420d486a14
parent54a3d0d6684ee2646a5e61cfffa67914727b24a4
wifi: ath12k: use correct flag field for 320 MHz channels

Due to an error during rebasing the patchset 320 MHz channel support got
broken. ath12k was setting the QoS bit instead of the correct flag.
WMI_PEER_EXT_320MHZ (0x2) is defined as an extended flag, replace
peer_flags by peer_flags_ext while sending peer data.

This affected both QCN9274 and WCN7850 which use the same flag.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1

Fixes: 6734cf9b4cc7 ("wifi: ath12k: peer assoc for 320 MHz")
Signed-off-by: Aloka Dixit <quic_alokad@quicinc.com>
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://msgid.link/20240314204651.11075-1-quic_alokad@quicinc.com
drivers/net/wireless/ath/ath12k/wmi.c