aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd
diff options
context:
space:
mode:
authorAnton Nayshtut <qca_antonn@qca.qualcomm.com>2015-01-21 13:30:48 (GMT)
committerJouni Malinen <j@w1.fi>2015-07-16 15:26:15 (GMT)
commit8cf53ec9f76d9700d515b1edba960f8c637cf7e7 (patch)
tree18f3c48f40acbb685a5e2568088d23f452aafe5a /hostapd
parent347827ff6eac5879476573e9bc876ddc31ae966b (diff)
downloadhostap-8cf53ec9f76d9700d515b1edba960f8c637cf7e7.zip
hostap-8cf53ec9f76d9700d515b1edba960f8c637cf7e7.tar.gz
hostap-8cf53ec9f76d9700d515b1edba960f8c637cf7e7.tar.bz2
FST: Add build rules for hostapd
This patch integrates the FST into the hostapd. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'hostapd')
-rw-r--r--hostapd/Android.mk13
-rw-r--r--hostapd/Makefile12
-rw-r--r--hostapd/android.config3
-rw-r--r--hostapd/defconfig3
4 files changed, 31 insertions, 0 deletions
diff --git a/hostapd/Android.mk b/hostapd/Android.mk
index 57158d8..31dec17 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 d4fd36e..c543d66 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 938aa54..106e979 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 4cde2b5..f8c6a7d 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