Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a4282180 authored by Abhinav Kumar's avatar Abhinav Kumar Committed by Gerrit - the friendly Code Review server
Browse files

wlan: 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: 2531284
parent 0ee145bf
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -4996,6 +4996,12 @@ int hdd_set_csr_auth_type ( hdd_adapter_t *pAdapter, eCsrAuthType RSNAuthType)
                                            eCSR_AUTH_TYPE_RSN_8021X_SHA256;
            } 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)) {