HS20_REL2:Adding missing changes for OSEN support
OSEN changes to accomodate the latest supplicant changes are added
in the driver and some of the missing changes to complete the osen
connection are added.
CRs-fixed: 656295
Change-Id: If4ddb1dd485a0004fc2f9439e9898c5696ad5c60
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c
index 0a45b27..4c2d1c7 100644
--- a/CORE/HDD/src/wlan_hdd_cfg80211.c
+++ b/CORE/HDD/src/wlan_hdd_cfg80211.c
@@ -5855,6 +5855,14 @@
pWextState->authKeyMgmt |= IW_AUTH_KEY_MGMT_CCKM;
break;
#endif
+#ifndef WLAN_AKM_SUITE_OSEN
+#define WLAN_AKM_SUITE_OSEN 0x506f9a01 /* Should be in ieee802_11_defs.h */
+ case WLAN_AKM_SUITE_OSEN:
+ hddLog(VOS_TRACE_LEVEL_INFO, "%s: setting key mgmt type to OSEN",
+ __func__);
+ pWextState->authKeyMgmt |= IW_AUTH_KEY_MGMT_802_1X;
+ break;
+#endif
default:
hddLog(VOS_TRACE_LEVEL_ERROR, "%s: Unsupported key mgmt type %d",