summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiangwei Dong <liangwei@codeaurora.org>2019-06-26 00:59:51 -0400
committerGerrit - the friendly Code Review server <code-review@localhost>2019-06-26 03:57:13 -0700
commit83165da2e435fc5eee2ffe390bdb90b150dee6db (patch)
treef9d5ab6d0a5cf5708982330a691b3c4561e99fee
parenteb7b0783fc30d5ffd963b78f8516361d104139a4 (diff)
qcacld-2.0: Set SAE auth type for PMKID cached connect request
The new supplicant will use NL80211_AUTHTYPE_OPEN_SYSTEM 80211 auth type to connect to pmkid cached AP. Driver needs to populate SAE auth type to roam profile if SAE AKM present. Change-Id: I982816f33468f8499dfbf857c31c025f704a21aa CRs-Fixed: 2476501
-rw-r--r--CORE/HDD/src/wlan_hdd_assoc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/CORE/HDD/src/wlan_hdd_assoc.c b/CORE/HDD/src/wlan_hdd_assoc.c
index 1f8b2ec2dff9..5a656616b94b 100644
--- a/CORE/HDD/src/wlan_hdd_assoc.c
+++ b/CORE/HDD/src/wlan_hdd_assoc.c
@@ -5626,6 +5626,12 @@ int hdd_set_csr_auth_type ( hdd_adapter_t *pAdapter, eCsrAuthType RSNAuthType)
hddLog(LOG1, "updated profile authtype as %d", RSNAuthType);
} else
#endif
+ if ((RSNAuthType == eCSR_AUTH_TYPE_SAE) &&
+ ((pWextState->authKeyMgmt & IW_AUTH_KEY_MGMT_802_1X)
+ == IW_AUTH_KEY_MGMT_802_1X)) {
+ /* SAE case */
+ pRoamProfile->AuthType.authType[0] = eCSR_AUTH_TYPE_SAE;
+ } else
if ((RSNAuthType == eCSR_AUTH_TYPE_OWE) &&
((pWextState->authKeyMgmt & IW_AUTH_KEY_MGMT_802_1X)
== IW_AUTH_KEY_MGMT_802_1X)) {