From 79c7b36d12b19aa140a79d21805ca7506d0eca57 Mon Sep 17 00:00:00 2001 From: Anton Nayshtut Date: Sun, 16 Nov 2014 17:28:53 +0200 Subject: [PATCH] FST: wpa_supplicant build rules Signed-off-by: Jouni Malinen --- wpa_supplicant/Android.mk | 13 +++++++++++++ wpa_supplicant/Makefile | 15 +++++++++++++++ wpa_supplicant/android.config | 3 +++ wpa_supplicant/defconfig | 3 +++ 4 files changed, 34 insertions(+) diff --git a/wpa_supplicant/Android.mk b/wpa_supplicant/Android.mk index 84a0d58dc..65306d23c 100644 --- a/wpa_supplicant/Android.mk +++ b/wpa_supplicant/Android.mk @@ -316,6 +316,19 @@ L_CFLAGS += -DCONFIG_INTERWORKING NEED_GAS=y endif +ifdef CONFIG_FST +L_CFLAGS += -DCONFIG_FST +OBJS += src/fst/fst.c +OBJS += src/fst/fst_session.c +OBJS += src/fst/fst_iface.c +OBJS += src/fst/fst_group.c +OBJS += src/fst/fst_ctrl_aux.c +ifdef CONFIG_CTRL_IFACE +OBJS += src/fst/fst_ctrl_iface.c +endif +endif + + include $(LOCAL_PATH)/src/drivers/drivers.mk ifdef CONFIG_AP diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile index 05d8e0a0d..43e45d563 100644 --- a/wpa_supplicant/Makefile +++ b/wpa_supplicant/Makefile @@ -1591,6 +1591,21 @@ EXTRALIBS += WbemUuid.Lib endif endif +ifdef CONFIG_FST +CFLAGS += -DCONFIG_FST +FST_OBJS += ../src/fst/fst.o +FST_OBJS += ../src/fst/fst_session.o +FST_OBJS += ../src/fst/fst_iface.o +FST_OBJS += ../src/fst/fst_group.o +FST_OBJS += ../src/fst/fst_ctrl_aux.o +ifdef CONFIG_CTRL_IFACE +FST_OBJS += ../src/fst/fst_ctrl_iface.o +endif +OBJS += $(FST_OBJS) +OBJS_t += $(FST_OBJS) +OBJS_t2 += $(FST_OBJS) +endif + ifndef LDO LDO=$(CC) endif diff --git a/wpa_supplicant/android.config b/wpa_supplicant/android.config index 8d27bb29e..6c3ee6d6a 100644 --- a/wpa_supplicant/android.config +++ b/wpa_supplicant/android.config @@ -476,4 +476,7 @@ CONFIG_WIFI_DISPLAY=y # External password backend for testing purposes (developer use) #CONFIG_EXT_PASSWORD_TEST=y +# Enable Fast Session Transfer (FST) +#CONFIG_FST=y + include $(wildcard $(LOCAL_PATH)/android_config_*.inc) diff --git a/wpa_supplicant/defconfig b/wpa_supplicant/defconfig index 7f627fdd6..57672aeeb 100644 --- a/wpa_supplicant/defconfig +++ b/wpa_supplicant/defconfig @@ -495,3 +495,6 @@ CONFIG_PEERKEY=y # # External password backend for testing purposes (developer use) #CONFIG_EXT_PASSWORD_TEST=y + +# Enable Fast Session Transfer (FST) +#CONFIG_FST=y