mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
qcacmn: Add OSEN AKM support for HS-2.0
OSEN is a new AKM to support HS-2.0. Change-Id: I43efc34d754c51c9a16584495523629d32c16c5e CRs-Fixed: 2361375
This commit is contained in:
parent
a647c5e032
commit
2f6d368c6e
3 changed files with 12 additions and 0 deletions
|
|
@ -390,6 +390,7 @@ enum extn_element_ie {
|
|||
#define WLAN_WPA_CCKM_AKM 0x00964000
|
||||
#define WLAN_RSN_CCKM_AKM 0x00964000
|
||||
#define WLAN_RSN_DPP_AKM 0x029A6F50
|
||||
#define WLAN_RSN_OSEN_AKM 0x019A6F50
|
||||
|
||||
#define RSN_VERSION 1
|
||||
#define WLAN_RSN_SEL(x) (((x) << 24) | WLAN_RSN_OUI)
|
||||
|
|
|
|||
|
|
@ -532,6 +532,7 @@ enum wlan_auth_type {
|
|||
WLAN_AUTH_TYPE_OWE,
|
||||
WLAN_AUTH_TYPE_SUITEB_EAP_SHA256,
|
||||
WLAN_AUTH_TYPE_SUITEB_EAP_SHA384,
|
||||
WLAN_AUTH_TYPE_OSEN,
|
||||
WLAN_AUTH_TYPE_ANY,
|
||||
WLAN_NUM_OF_SUPPORT_AUTH_TYPE = WLAN_AUTH_TYPE_ANY,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -482,6 +482,16 @@ 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_OSEN_AKM)) {
|
||||
if (match_any_akm ||
|
||||
WLAN_AUTH_TYPE_OSEN == filter->auth_type[i]) {
|
||||
neg_auth = WLAN_AUTH_TYPE_OSEN;
|
||||
match = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (scm_is_cipher_match(rsn.akm_suites,
|
||||
rsn.akm_suite_count,
|
||||
WLAN_RSN_SEL(WLAN_AKM_OWE))) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue