]> git.ipfire.org Git - thirdparty/hostap.git/commit
Fix AKM suite selectors for FILS and Suite B
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 27 Jan 2017 20:55:14 +0000 (22:55 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 27 Jan 2017 21:13:10 +0000 (23:13 +0200)
commit510fc2dfc9969cb9bfa4c629f40311fc40eb6a2e
tree991ae85aded9db377a2eb48cc7d3faa2c933663f
parentd7d0f909f1fc69a384eb703486bf21ca70bd2b37
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>
src/common/ieee802_11_defs.h