qcacmn: Changes to support DPP AKM
Adds cmn changes to support and parse AKM required for DPP. Change-Id: I8efd4075f2c62500dbe11c2a6847f2dab2f31b34 CRs-Fixed: 2138461
This commit is contained in:
@@ -345,6 +345,7 @@ enum extn_element_ie {
|
|||||||
#define WLAN_CCKM_ASE_UNSPEC 0
|
#define WLAN_CCKM_ASE_UNSPEC 0
|
||||||
#define WLAN_WPA_CCKM_AKM 0x00964000
|
#define WLAN_WPA_CCKM_AKM 0x00964000
|
||||||
#define WLAN_RSN_CCKM_AKM 0x00964000
|
#define WLAN_RSN_CCKM_AKM 0x00964000
|
||||||
|
#define WLAN_RSN_DPP_AKM 0x029A6F50
|
||||||
|
|
||||||
#define RSN_VERSION 1
|
#define RSN_VERSION 1
|
||||||
#define WLAN_RSN_SEL(x) (((x) << 24) | WLAN_RSN_OUI)
|
#define WLAN_RSN_SEL(x) (((x) << 24) | WLAN_RSN_OUI)
|
||||||
|
@@ -328,6 +328,7 @@ enum wlan_auth_type {
|
|||||||
WLAN_AUTH_TYPE_FILS_SHA384,
|
WLAN_AUTH_TYPE_FILS_SHA384,
|
||||||
WLAN_AUTH_TYPE_FT_FILS_SHA256,
|
WLAN_AUTH_TYPE_FT_FILS_SHA256,
|
||||||
WLAN_AUTH_TYPE_FT_FILS_SHA384,
|
WLAN_AUTH_TYPE_FT_FILS_SHA384,
|
||||||
|
WLAN_AUTH_TYPE_DPP_RSN,
|
||||||
|
|
||||||
WLAN_NUM_OF_SUPPORT_AUTH_TYPE,
|
WLAN_NUM_OF_SUPPORT_AUTH_TYPE,
|
||||||
};
|
};
|
||||||
|
@@ -577,6 +577,15 @@ static bool scm_is_rsn_security(struct scan_filter *filter,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (scm_is_cipher_match(rsn.akm_suites,
|
||||||
|
rsn.akm_suite_count, WLAN_RSN_DPP_AKM)) {
|
||||||
|
if (WLAN_AUTH_TYPE_DPP_RSN ==
|
||||||
|
filter->auth_type[i]) {
|
||||||
|
neg_auth = WLAN_AUTH_TYPE_DPP_RSN;
|
||||||
|
match = true;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
if (scm_is_cipher_match(rsn.akm_suites,
|
if (scm_is_cipher_match(rsn.akm_suites,
|
||||||
rsn.akm_suite_count,
|
rsn.akm_suite_count,
|
||||||
WLAN_RSN_SEL(WLAN_AKM_FT_IEEE8021X))) {
|
WLAN_RSN_SEL(WLAN_AKM_FT_IEEE8021X))) {
|
||||||
|
Reference in New Issue
Block a user