]> git.ipfire.org Git - thirdparty/hostap.git/commit - src/ap/wpa_auth.c
WNM: Differentiate between WNM for station and for AP in build
authorAvraham Stern <avraham.stern@intel.com>
Mon, 12 Jun 2017 06:29:27 +0000 (09:29 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 18 Jul 2017 10:28:09 +0000 (13:28 +0300)
commitb5bf84ba39e11de607ef9b9242b2fb7cae3b77d5
treedb87a1e0d0b2e8b5ff8adab552ceebf335a6ab70
parent922dcf1b457cf767d184b786175680520bacace0
WNM: Differentiate between WNM for station and for AP in build

Previously, CONFIG_WNM enabled build that supports WNM for both
station mode and AP mode. However, in most wpa_supplicant cases only
station mode WNM is required and there is no need for AP mode WNM.

Add support to differentiate between station mode WNM and AP mode
WNM in wpa_supplicant builds by adding CONFIG_WNM_AP that should be
used when AP mode WNM support is required in addition to station mode
WNM. This allows binary size to be reduced for builds that require
only the station side WNM functionality.

Signed-off-by: Avraham Stern <avraham.stern@intel.com>
hostapd/Android.mk
hostapd/Makefile
hostapd/config_file.c
hostapd/ctrl_iface.c
src/ap/drv_callbacks.c
src/ap/ieee802_11.c
src/ap/ieee802_11_shared.c
src/ap/sta_info.c
src/ap/wpa_auth.c
wpa_supplicant/Android.mk
wpa_supplicant/Makefile