From 9a7006bc63fc51017610111b01908af08fd1e45e Mon Sep 17 00:00:00 2001 From: Balaji Pothunoori Date: Fri, 17 May 2024 21:23:01 +0530 Subject: [PATCH] qcacmn: Copy the AKM into scan filter during STA connection While processing the connect request from userspace the AKM suite mapping is missing for FT-SuiteB and so an invalid value is considered in scan filter during the candidate selection. And so no candidate was available during the STA connection. While parsing the RSN IE copy the AKM suite into the required crypto param that will be used in the scan filter. Change-Id: I58e191c7a9cf36d69f369b83c4c7e5bf1a144b5e CRs-Fixed: 3813207 --- umac/cmn_services/crypto/src/wlan_crypto_global_api.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/umac/cmn_services/crypto/src/wlan_crypto_global_api.c b/umac/cmn_services/crypto/src/wlan_crypto_global_api.c index 8bf19d70cbb6..ead804b15f2a 100644 --- a/umac/cmn_services/crypto/src/wlan_crypto_global_api.c +++ b/umac/cmn_services/crypto/src/wlan_crypto_global_api.c @@ -4382,6 +4382,10 @@ wlan_crypto_merge_prarams(struct wlan_crypto_params *dst_params, dst_params->cipher_caps |= src_params->cipher_caps; dst_params->key_mgmt |= src_params->key_mgmt; dst_params->rsn_caps |= src_params->rsn_caps; + dst_params->orig_ucastcipher |= src_params->ucastcipherset; + dst_params->orig_mcastcipher |= src_params->mcastcipherset; + dst_params->orig_key_mgmt |= src_params->key_mgmt; + dst_params->orig_rsn_caps |= src_params->rsn_caps; } static void