aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd
diff options
context:
space:
mode:
authorIlan Peer <ilan.peer@intel.com>2016-10-27 12:18:32 (GMT)
committerJouni Malinen <j@w1.fi>2016-10-29 19:14:54 (GMT)
commit4ec1fd8e42bad9390f14a58225b6e5f6fb691950 (patch)
treea48bec2de0c33cae949e01bf6a268a07193c4ca9 /hostapd
parentf0259c3f68f633a72d2cd080fa6f3352d7b41497 (diff)
downloadhostap-4ec1fd8e42bad9390f14a58225b6e5f6fb691950.zip
hostap-4ec1fd8e42bad9390f14a58225b6e5f6fb691950.tar.gz
hostap-4ec1fd8e42bad9390f14a58225b6e5f6fb691950.tar.bz2
FT: Differentiate between FT for station and for AP in build
Previously, CONFIG_IEEE80211R enabled build that supports FT for both station mode and AP mode. However, in most wpa_supplicant cases only station mode FT is required and there is no need for AP mode FT. Add support to differentiate between station mode FT and AP mode FT in wpa_supplicant builds by adding CONFIG_IEEE80211R_AP that should be used when AP mode FT support is required in addition to station mode FT. This allows binary size to be reduced for builds that require only the station side FT functionality. Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Diffstat (limited to 'hostapd')
-rw-r--r--hostapd/Android.mk2
-rw-r--r--hostapd/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/hostapd/Android.mk b/hostapd/Android.mk
index f9ce877..9a14be4 100644
--- a/hostapd/Android.mk
+++ b/hostapd/Android.mk
@@ -247,7 +247,7 @@ NEED_AES_OMAC1=y
endif
ifdef CONFIG_IEEE80211R
-L_CFLAGS += -DCONFIG_IEEE80211R
+L_CFLAGS += -DCONFIG_IEEE80211R -DCONFIG_IEEE80211R_AP
OBJS += src/ap/wpa_auth_ft.c
NEED_SHA256=y
NEED_AES_OMAC1=y
diff --git a/hostapd/Makefile b/hostapd/Makefile
index 044c8c0..52c72dc 100644
--- a/hostapd/Makefile
+++ b/hostapd/Makefile
@@ -290,7 +290,7 @@ NEED_AES_OMAC1=y
endif
ifdef CONFIG_IEEE80211R
-CFLAGS += -DCONFIG_IEEE80211R
+CFLAGS += -DCONFIG_IEEE80211R -DCONFIG_IEEE80211R_AP
OBJS += ../src/ap/wpa_auth_ft.o
NEED_SHA256=y
NEED_AES_OMAC1=y