From b13ca20247228ede61e6658548bc021f0426e042 Mon Sep 17 00:00:00 2001 From: sheenam monga Date: Thu, 23 Jul 2020 13:21:30 +0530 Subject: [PATCH] qcacld-3.0: Add support for missing akm suites Issue: Currently host supports WLAN_AKM_SUITE_FT_8021X_SHA384, RSN_AUTH_KEY_MGMT_CCKM and RSN_AUTH_KEY_MGMT_OSEN AKM in sta mode but doesn't advertise these akm suites which may cause issue for FT_8021X_SHA384, RSN_AUTH_KEY_MGMT_CCKM and RSN_AUTH_KEY_MGMT_OSEN supported connection. Fix: update wiphy->iftype_akm_suites and advertise missing akm suites. Change-Id: I43762c38e15746f50f897a6026b1b96fd571ec4d CRs-Fixed: 2713183 --- core/hdd/src/wlan_hdd_cfg80211.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/core/hdd/src/wlan_hdd_cfg80211.c b/core/hdd/src/wlan_hdd_cfg80211.c index e05ea20278c4..07087544e9da 100644 --- a/core/hdd/src/wlan_hdd_cfg80211.c +++ b/core/hdd/src/wlan_hdd_cfg80211.c @@ -128,6 +128,7 @@ #include "wlan_pmo_cfg.h" #include "cfg_ucfg_api.h" +#include "wlan_crypto_def_i.h" #include "wlan_crypto_global_api.h" #include "wlan_nl_to_crypto_params.h" #include "wlan_crypto_global_def.h" @@ -449,16 +450,17 @@ static const u32 hdd_sta_akm_suites[] = { WLAN_AKM_SUITE_TDLS, WLAN_AKM_SUITE_SAE, WLAN_AKM_SUITE_FT_OVER_SAE, -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0)) - WLAN_AKM_SUITE_8021X_SUITE_B, - WLAN_AKM_SUITE_8021X_SUITE_B_192, -#endif + WLAN_AKM_SUITE_EAP_SHA256, + WLAN_AKM_SUITE_EAP_SHA384, WLAN_AKM_SUITE_FILS_SHA256, WLAN_AKM_SUITE_FILS_SHA384, WLAN_AKM_SUITE_FT_FILS_SHA256, WLAN_AKM_SUITE_FT_FILS_SHA384, WLAN_AKM_SUITE_OWE, WLAN_AKM_SUITE_DPP_RSN, + WLAN_AKM_SUITE_FT_EAP_SHA_384, + RSN_AUTH_KEY_MGMT_CCKM, + RSN_AUTH_KEY_MGMT_OSEN, }; /*akm suits supported by AP*/