aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/ieee802_11_defs.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2017-01-27 20:55:14 (GMT)
committerJouni Malinen <j@w1.fi>2017-01-27 21:13:10 (GMT)
commit510fc2dfc9969cb9bfa4c629f40311fc40eb6a2e (patch)
tree991ae85aded9db377a2eb48cc7d3faa2c933663f /src/common/ieee802_11_defs.h
parentd7d0f909f1fc69a384eb703486bf21ca70bd2b37 (diff)
downloadhostap-510fc2dfc9969cb9bfa4c629f40311fc40eb6a2e.zip
hostap-510fc2dfc9969cb9bfa4c629f40311fc40eb6a2e.tar.gz
hostap-510fc2dfc9969cb9bfa4c629f40311fc40eb6a2e.tar.bz2
Fix AKM suite selectors for FILS and Suite B
IEEE 802.11 standard defines the suite selectors in <OUI>:<subtype> format where OUI uses hexadecimal format and subtype decimal format. These WLAN_AKM_SUITE_* definitions ended up getting written incorrectly by interpretting the decimal part as hexadecimal and as such, by having an incorrect value. However, the older RSN_AUTH_KEY_MGMT_* values were defined with correct values and those definitions were used in most locations. This commit fixes the AKM suite selector values in RADIUS WLAN-AKM-Suite attribute for FILS and Suite B. In addition, the AKM values used in nl80211 driver configuration (NL80211_ATTR_AKM_SUITES) are fixed for the Suite B cases. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src/common/ieee802_11_defs.h')
-rw-r--r--src/common/ieee802_11_defs.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/common/ieee802_11_defs.h b/src/common/ieee802_11_defs.h
index 5f6fdc4..c597670 100644
--- a/src/common/ieee802_11_defs.h
+++ b/src/common/ieee802_11_defs.h
@@ -1632,12 +1632,12 @@ enum plink_action_field {
#define WLAN_AKM_SUITE_FT_PSK 0x000FAC04
#define WLAN_AKM_SUITE_8021X_SHA256 0x000FAC05
#define WLAN_AKM_SUITE_PSK_SHA256 0x000FAC06
-#define WLAN_AKM_SUITE_8021X_SUITE_B 0x000FAC11
-#define WLAN_AKM_SUITE_8021X_SUITE_B_192 0x000FAC12
-#define WLAN_AKM_SUITE_FILS_SHA256 0x000FAC14
-#define WLAN_AKM_SUITE_FILS_SHA384 0x000FAC15
-#define WLAN_AKM_SUITE_FT_FILS_SHA256 0x000FAC16
-#define WLAN_AKM_SUITE_FT_FILS_SHA384 0x000FAC17
+#define WLAN_AKM_SUITE_8021X_SUITE_B 0x000FAC0B
+#define WLAN_AKM_SUITE_8021X_SUITE_B_192 0x000FAC0C
+#define WLAN_AKM_SUITE_FILS_SHA256 0x000FAC0E
+#define WLAN_AKM_SUITE_FILS_SHA384 0x000FAC0F
+#define WLAN_AKM_SUITE_FT_FILS_SHA256 0x000FAC10
+#define WLAN_AKM_SUITE_FT_FILS_SHA384 0x000FAC11
#define WLAN_AKM_SUITE_CCKM 0x00409600
#define WLAN_AKM_SUITE_OSEN 0x506f9a01