mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
FST: Add build rules for hostapd
This patch integrates the FST into the hostapd. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
347827ff6e
commit
8cf53ec9f7
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -182,3 +182,6 @@ CONFIG_OS=unix
|
||||
|
||||
# Enable AP
|
||||
CONFIG_AP=y
|
||||
|
||||
# Enable Fast Session Transfer (FST)
|
||||
#CONFIG_FST=y
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user