aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd
diff options
context:
space:
mode:
authorAnton Nayshtut <qca_antonn@qca.qualcomm.com>2014-12-04 19:20:56 +0200
committerLinux Build Service Account <lnxbuild@localhost>2015-10-06 03:19:42 -0600
commit503c35708b04f0804889641e670503ea986e386f (patch)
treea95a2c73e3f53b3324cf7df0a6d649205d56747f /hostapd
parent91c7633340b6e685457b0a9fc29f0463755dde02 (diff)
downloadandroid_external_wpa_supplicant_8-503c35708b04f0804889641e670503ea986e386f.tar.gz
android_external_wpa_supplicant_8-503c35708b04f0804889641e670503ea986e386f.tar.bz2
android_external_wpa_supplicant_8-503c35708b04f0804889641e670503ea986e386f.zip
FST: Testing support
This patch introduces infrastructure needed for FST module tests. Change-Id: I749c835ff7a193a3bb25fcaf133f5a8547655666 Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: a8dab08a2887cca4faeebf355b41ecc4f69264ba Git-repo: git://w1.fi/srv/git/hostap.git CRs-Fixed: 891455
Diffstat (limited to 'hostapd')
-rw-r--r--hostapd/Android.mk3
-rw-r--r--hostapd/Makefile3
-rw-r--r--hostapd/defconfig3
3 files changed, 9 insertions, 0 deletions
diff --git a/hostapd/Android.mk b/hostapd/Android.mk
index 650856a9..1d368a0c 100644
--- a/hostapd/Android.mk
+++ b/hostapd/Android.mk
@@ -259,6 +259,9 @@ 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
+ifdef CONFIG_FST_TEST
+L_CFLAGS += -DCONFIG_FST_TEST
+endif
ifndef CONFIG_NO_CTRL_IFACE
OBJS += src/fst/fst_ctrl_iface.c
endif
diff --git a/hostapd/Makefile b/hostapd/Makefile
index c543d667..086a6412 100644
--- a/hostapd/Makefile
+++ b/hostapd/Makefile
@@ -905,6 +905,9 @@ 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
+ifdef CONFIG_FST_TEST
+CFLAGS += -DCONFIG_FST_TEST
+endif
ifndef CONFIG_NO_CTRL_IFACE
OBJS += ../src/fst/fst_ctrl_iface.o
endif
diff --git a/hostapd/defconfig b/hostapd/defconfig
index f8c6a7dc..62a0edee 100644
--- a/hostapd/defconfig
+++ b/hostapd/defconfig
@@ -286,6 +286,9 @@ CONFIG_IPV6=y
# Enable Fast Session Transfer (FST)
#CONFIG_FST=y
+# Enable CLI commands for FST testing
+#CONFIG_FST_TEST=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