qcacmn: Add support for FT SUITEB

Added support for FT suiteB

Change-Id: I54e89afaecbe0ecabb028de6963b55441b5a369e
CRs-Fixed: 2468754
This commit is contained in:
Ashok Kumar 2019-06-07 17:04:00 +05:30 • committed by nshrivas
commit cff882eb52
3 changed files with 5 additions and 2 deletions

View file

@ -198,8 +198,9 @@ typedef enum wlan_crypto_key_mgmt {
WLAN_CRYPTO_KEY_MGMT_FT_FILS_SHA384 = 21,
WLAN_CRYPTO_KEY_MGMT_OWE = 22,
WLAN_CRYPTO_KEY_MGMT_DPP = 23,
WLAN_CRYPTO_KEY_MGMT_FT_IEEE8021X_SHA384 = 24,
/** Keep WLAN_CRYPTO_KEY_MGMT_MAX at the end. */
WLAN_CRYPTO_KEY_MGMT_MAX = WLAN_CRYPTO_KEY_MGMT_DPP,
WLAN_CRYPTO_KEY_MGMT_MAX = WLAN_CRYPTO_KEY_MGMT_FT_IEEE8021X_SHA384,
} wlan_crypto_key_mgmt;
enum wlan_crypto_key_type {

View file

@ -255,7 +255,7 @@ static inline void wlan_crypto_put_be64(u8 *a, u64 val)
WLAN_RSN_SEL(11)
#define RSN_AUTH_KEY_MGMT_802_1X_SUITE_B_192\
WLAN_RSN_SEL(12)
#define RSN_AUTH_KEY_MGMT_FT_802_1X_SUITE_B_192\
#define RSN_AUTH_KEY_MGMT_FT_802_1X_SUITE_B_384\
WLAN_RSN_SEL(13)
#define RSN_AUTH_KEY_MGMT_FILS_SHA256 WLAN_RSN_SEL(14)
#define RSN_AUTH_KEY_MGMT_FILS_SHA384 WLAN_RSN_SEL(15)

View file

@ -2259,6 +2259,8 @@ static int32_t wlan_crypto_rsn_suite_to_keymgmt(uint8_t *sel)
return WLAN_CRYPTO_KEY_MGMT_OWE;
case RSN_AUTH_KEY_MGMT_DPP:
return WLAN_CRYPTO_KEY_MGMT_DPP;
case RSN_AUTH_KEY_MGMT_FT_802_1X_SUITE_B_384:
return WLAN_CRYPTO_KEY_MGMT_FT_IEEE8021X_SHA384;
}
return status;