aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd
diff options
context:
space:
mode:
authorAnton Nayshtut <qca_antonn@qca.qualcomm.com>2015-01-21 15:30:48 +0200
committerLinux Build Service Account <lnxbuild@localhost>2015-10-06 03:19:39 -0600
commitfb92857872264966ffdd3ff80e08ee35bdbb9c5f (patch)
tree88f6eade334231b544e096be43a40e485ad1bbcc /hostapd
parentcffa94f6e7ed066980190a664b50d73c286f2c3a (diff)
downloadandroid_external_wpa_supplicant_8-fb92857872264966ffdd3ff80e08ee35bdbb9c5f.tar.gz
android_external_wpa_supplicant_8-fb92857872264966ffdd3ff80e08ee35bdbb9c5f.tar.bz2
android_external_wpa_supplicant_8-fb92857872264966ffdd3ff80e08ee35bdbb9c5f.zip
FST: Add build rules for hostapd
This patch integrates the FST into the hostapd. Change-Id: Iaf57f441410225d4af5085e11729203ea0009abb Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: 8cf53ec9f76d9700d515b1edba960f8c637cf7e7 Git-repo: git://w1.fi/srv/git/hostap.git CRs-Fixed: 891455
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 52d4cfe0..650856a9 100644
--- a/hostapd/Android.mk
+++ b/hostapd/Android.mk
@@ -252,6 +252,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 d4fd36e0..c543d667 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 938aa546..106e9794 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 4cde2b56..f8c6a7dc 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