mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-09 04:12:08 -05:00
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:
parent
dc5672f760
commit
a0f242168c
3 changed files with 11 additions and 0 deletions
|
|
@ -345,6 +345,7 @@ enum extn_element_ie {
|
|||
#define WLAN_CCKM_ASE_UNSPEC 0
|
||||
#define WLAN_WPA_CCKM_AKM 0x00964000
|
||||
#define WLAN_RSN_CCKM_AKM 0x00964000
|
||||
#define WLAN_RSN_DPP_AKM 0x029A6F50
|
||||
|
||||
#define RSN_VERSION 1
|
||||
#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_FT_FILS_SHA256,
|
||||
WLAN_AUTH_TYPE_FT_FILS_SHA384,
|
||||
WLAN_AUTH_TYPE_DPP_RSN,
|
||||
|
||||
WLAN_NUM_OF_SUPPORT_AUTH_TYPE,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -577,6 +577,15 @@ 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_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,
|
||||
rsn.akm_suite_count,
|
||||
WLAN_RSN_SEL(WLAN_AKM_FT_IEEE8021X))) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue