wlan: Disable CCX for WPA2-Enterprise (802.1X) or WPA2-PSK
Currently our CCX-enabled driver configures an assocaition as CCX
if it is made with a CCX-capable AP. This change insures that we only
configure for CCX if the supplicant indicates an AKM of CCKM. (Or
if the association is "open" with a "CCX capable" AP.)
Change-Id: I3139c2e48a00f6a0387845c823d4153da3b3aaa0
CRs-Fixed: 651515
diff --git a/CORE/SME/src/csr/csrApiRoam.c b/CORE/SME/src/csr/csrApiRoam.c
index 33565fe..8e094f7 100644
--- a/CORE/SME/src/csr/csrApiRoam.c
+++ b/CORE/SME/src/csr/csrApiRoam.c
@@ -7194,14 +7194,7 @@
#ifdef FEATURE_WLAN_ESE
if ((csrIsProfileESE(pProfile) ||
((pIesTemp->ESEVersion.present)
- && ((pProfile->negotiatedAuthType == eCSR_AUTH_TYPE_OPEN_SYSTEM)
- || (pProfile->negotiatedAuthType == eCSR_AUTH_TYPE_WPA)
- || (pProfile->negotiatedAuthType == eCSR_AUTH_TYPE_WPA_PSK)
- || (pProfile->negotiatedAuthType == eCSR_AUTH_TYPE_RSN)
-#ifdef WLAN_FEATURE_11W
- || (pProfile->negotiatedAuthType == eCSR_AUTH_TYPE_RSN_PSK_SHA256)
-#endif
- || (pProfile->negotiatedAuthType == eCSR_AUTH_TYPE_RSN_PSK))))
+ && ((pProfile->negotiatedAuthType == eCSR_AUTH_TYPE_OPEN_SYSTEM))))
&& (pMac->roam.configParam.isEseIniFeatureEnabled))
{
pConnectProfile->isESEAssoc = 1;
@@ -12968,14 +12961,7 @@
*/
if ((csrIsProfileESE(pProfile) ||
((pIes->ESEVersion.present)
- && ((pProfile->negotiatedAuthType == eCSR_AUTH_TYPE_OPEN_SYSTEM)
- || (pProfile->negotiatedAuthType == eCSR_AUTH_TYPE_WPA)
- || (pProfile->negotiatedAuthType == eCSR_AUTH_TYPE_WPA_PSK)
- || (pProfile->negotiatedAuthType == eCSR_AUTH_TYPE_RSN)
-#ifdef WLAN_FEATURE_11W
- || (pProfile->negotiatedAuthType == eCSR_AUTH_TYPE_RSN_PSK_SHA256)
-#endif
- || (pProfile->negotiatedAuthType == eCSR_AUTH_TYPE_RSN_PSK))))
+ && ((pProfile->negotiatedAuthType == eCSR_AUTH_TYPE_OPEN_SYSTEM))))
&& (pMac->roam.configParam.isEseIniFeatureEnabled))
{
// isESEconnection;
@@ -13004,14 +12990,7 @@
{
if ((csrIsProfileESE(pProfile) ||
((pIes->ESEVersion.present)
- && ((pProfile->negotiatedAuthType == eCSR_AUTH_TYPE_OPEN_SYSTEM)
- || (pProfile->negotiatedAuthType == eCSR_AUTH_TYPE_WPA)
- || (pProfile->negotiatedAuthType == eCSR_AUTH_TYPE_WPA_PSK)
- || (pProfile->negotiatedAuthType == eCSR_AUTH_TYPE_RSN)
-#ifdef WLAN_FEATURE_11W
- || (pProfile->negotiatedAuthType == eCSR_AUTH_TYPE_RSN_PSK_SHA256)
-#endif
- || (pProfile->negotiatedAuthType == eCSR_AUTH_TYPE_RSN_PSK))))
+ && ((pProfile->negotiatedAuthType == eCSR_AUTH_TYPE_OPEN_SYSTEM))))
&& (pMac->roam.configParam.isEseIniFeatureEnabled))
{
tESETspecInfo eseTspec;