]> git.ipfire.org Git - thirdparty/hostap.git/commit - src/drivers/driver_bsd.c
Get rid of duplicated cipher suite and AKM definitions
authorJouni Malinen <j@w1.fi>
Mon, 30 Dec 2013 17:33:39 +0000 (19:33 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 31 Dec 2013 07:16:27 +0000 (09:16 +0200)
commit4848a38d85bcfdc84a94143fe4437ac588f7e107
treec21083d9cca4ca8681efd2f06a3f4c6fe6182004
parentde4ed4a89b1fedadddbe96af9ec83f5eaeb11991
Get rid of duplicated cipher suite and AKM definitions

WPA_CIPHER_* and CIPHER_* are used for the exact same set of cipher
suites with the main difference being that the WPA_CIPHER_* version is
suitable to be used as a bitfield. Similarly, WPA_KEY_MGMT_* and
KEY_MGMT_* have similar design for AKMs. There is no need to maintain
two separate copies of the definitions since the bitfield compatible
version can be used for both needs. Get rid of the CIPHER_* and
KEY_MGMT_* versions to clean up the implementation by getting rid of
unnecessary mapping functions.

Signed-hostap: Jouni Malinen <j@w1.fi>
12 files changed:
src/common/defs.h
src/common/wpa_common.c
src/common/wpa_common.h
src/drivers/driver.h
src/drivers/driver_bsd.c
src/drivers/driver_ndis.c
src/drivers/driver_nl80211.c
src/drivers/driver_wext.c
wpa_supplicant/ap.c
wpa_supplicant/sme.c
wpa_supplicant/wpa_supplicant.c
wpa_supplicant/wpa_supplicant_i.h