qcacmn: Add SAE AKM in umac component
Add support for SAE AKM in UMAC component. Change-Id: I7b84c408b819e3fac614289bf8a161d2fc2c259a CRs-Fixed: 2115701
This commit is contained in:

zatwierdzone przez
snandini

rodzic
d70b7d958d
commit
6f3e4a828d
@@ -377,6 +377,7 @@ enum extn_element_ie {
|
||||
#define WLAN_AKM_FT_PSK 0x04
|
||||
#define WLAN_AKM_SHA256_IEEE8021X 0x05
|
||||
#define WLAN_AKM_SHA256_PSK 0x06
|
||||
#define WLAN_AKM_SAE 0x08
|
||||
#define WLAN_AKM_SUITEB_EAP_SHA256 0x0B
|
||||
#define WLAN_AKM_SUITEB_EAP_SHA384 0x0C
|
||||
#define WLAN_AKM_FILS_SHA256 0x0E
|
||||
|
@@ -300,6 +300,7 @@ enum wlan_pmf_cap {
|
||||
* @WLAN_AUTH_TYPE_OPEN_SYSTEM: Open auth type
|
||||
* @WLAN_AUTH_TYPE_SHARED_KEY: Shared Key Auth type
|
||||
* @WLAN_AUTH_TYPE_AUTOSWITCH: Auto switch Open/Shared
|
||||
* @WLAN_AUTH_TYPE_SAE: SAE auth type
|
||||
* @WLAN_AUTH_TYPE_WPA: WPA Enterprise
|
||||
* @WLAN_AUTH_TYPE_WPA_PSK: WPA PSK
|
||||
* @WLAN_AUTH_TYPE_WPA_NONE: WPA None
|
||||
@@ -323,6 +324,7 @@ enum wlan_auth_type {
|
||||
WLAN_AUTH_TYPE_OPEN_SYSTEM,
|
||||
WLAN_AUTH_TYPE_SHARED_KEY,
|
||||
WLAN_AUTH_TYPE_AUTOSWITCH,
|
||||
WLAN_AUTH_TYPE_SAE,
|
||||
WLAN_AUTH_TYPE_WPA,
|
||||
WLAN_AUTH_TYPE_WPA_PSK,
|
||||
WLAN_AUTH_TYPE_WPA_NONE,
|
||||
|
@@ -390,6 +390,18 @@ static bool scm_is_rsn_security(struct scan_filter *filter,
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (scm_is_cipher_match(rsn.akm_suites,
|
||||
rsn.akm_suite_count,
|
||||
WLAN_RSN_SEL(WLAN_AKM_SAE))) {
|
||||
if (WLAN_AUTH_TYPE_SAE ==
|
||||
filter->auth_type[i]) {
|
||||
neg_auth = WLAN_AUTH_TYPE_SAE;
|
||||
match = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (scm_is_cipher_match(rsn.akm_suites,
|
||||
rsn.akm_suite_count, WLAN_RSN_DPP_AKM)) {
|
||||
if (WLAN_AUTH_TYPE_DPP_RSN ==
|
||||
|
Reference in New Issue
Block a user