diff --git a/hostapd/Android.mk b/hostapd/Android.mk index 57158d831..31dec1750 100644 --- a/hostapd/Android.mk +++ b/hostapd/Android.mk @@ -253,6 +253,19 @@ ifdef CONFIG_IEEE80211AC L_CFLAGS += -DCONFIG_IEEE80211AC endif +ifdef CONFIG_FST +L_CFLAGS += -DCONFIG_FST +OBJS += src/fst/fst.c +OBJS += src/fst/fst_group.c +OBJS += src/fst/fst_iface.c +OBJS += src/fst/fst_session.c +OBJS += src/fst/fst_ctrl_aux.c +ifndef CONFIG_NO_CTRL_IFACE +OBJS += src/fst/fst_ctrl_iface.c +endif +endif + + include $(LOCAL_PATH)/src/drivers/drivers.mk OBJS += $(DRV_AP_OBJS) diff --git a/hostapd/Makefile b/hostapd/Makefile index d4fd36e00..c543d6674 100644 --- a/hostapd/Makefile +++ b/hostapd/Makefile @@ -898,6 +898,18 @@ LIBS += -lsqlite3 LIBS_h += -lsqlite3 endif +ifdef CONFIG_FST +CFLAGS += -DCONFIG_FST +OBJS += ../src/fst/fst.o +OBJS += ../src/fst/fst_group.o +OBJS += ../src/fst/fst_iface.o +OBJS += ../src/fst/fst_session.o +OBJS += ../src/fst/fst_ctrl_aux.o +ifndef CONFIG_NO_CTRL_IFACE +OBJS += ../src/fst/fst_ctrl_iface.o +endif +endif + ALL=hostapd hostapd_cli all: verify_config $(ALL) diff --git a/hostapd/android.config b/hostapd/android.config index 938aa5462..106e97940 100644 --- a/hostapd/android.config +++ b/hostapd/android.config @@ -182,3 +182,6 @@ CONFIG_OS=unix # Enable AP CONFIG_AP=y + +# Enable Fast Session Transfer (FST) +#CONFIG_FST=y diff --git a/hostapd/defconfig b/hostapd/defconfig index 4cde2b563..f8c6a7dcc 100644 --- a/hostapd/defconfig +++ b/hostapd/defconfig @@ -283,6 +283,9 @@ CONFIG_IPV6=y # Enable SQLite database support in hlr_auc_gw, EAP-SIM DB, and eap_user_file #CONFIG_SQLITE=y +# Enable Fast Session Transfer (FST) +#CONFIG_FST=y + # Testing options # This can be used to enable some testing options (see also the example # configuration file) that are really useful only for testing clients that