ath11k: Clear auth flag only for actual association in security mode
authorRameshkumar Sundaram <quic_ramess@quicinc.com>
Mon, 25 Oct 2021 16:03:06 +0000 (21:33 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 12 Nov 2021 08:01:48 +0000 (10:01 +0200)
commitc802b6d7815d7c3f556efea28d0b79ef57ebcfd4
tree4d7e673bda1845561fa220fd25da6e5c518bb434
parent16a2c3d5406f95ef6139de52669c60a39443f5f7
ath11k: Clear auth flag only for actual association in security mode

AUTH flag is needed when peer assoc command is sent from host in
security mode for non-assoc cases. Firmware will handle AUTH flag
when client is associating as AUTH flag will be set after key exchange.
For internally provided peer assoc commands from host, there won't be
any key exchange, so AUTH flag is expected to be set in host.

Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.4.0.1-01838-QCAHKSWPL_SILICONZ-1

Co-developed-by: Lavanya Suresh <lavaks@codeaurora.org>
Signed-off-by: Lavanya Suresh <lavaks@codeaurora.org>
Signed-off-by: Rameshkumar Sundaram <quic_ramess@quicinc.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1635177786-20854-1-git-send-email-quic_ramess@quicinc.com
drivers/net/wireless/ath/ath11k/mac.c
drivers/net/wireless/ath/ath11k/wmi.c
drivers/net/wireless/ath/ath11k/wmi.h