]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0cf2ace234efef046165b2d363b47e6e54f0c8fd
tree4d7e673bda1845561fa220fd25da6e5c518bb434
parent286264cfb61e0a923ae2c0a75ad11b408855281a
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