Browse Source

FST: wpa_supplicant build rules

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Anton Nayshtut 10 years ago
parent
commit
79c7b36d12
4 changed files with 34 additions and 0 deletions
  1. 13 0
      wpa_supplicant/Android.mk
  2. 15 0
      wpa_supplicant/Makefile
  3. 3 0
      wpa_supplicant/android.config
  4. 3 0
      wpa_supplicant/defconfig

+ 13 - 0
wpa_supplicant/Android.mk

@@ -316,6 +316,19 @@ L_CFLAGS += -DCONFIG_INTERWORKING
 NEED_GAS=y
 NEED_GAS=y
 endif
 endif
 
 
+ifdef CONFIG_FST
+L_CFLAGS += -DCONFIG_FST
+OBJS += src/fst/fst.c
+OBJS += src/fst/fst_session.c
+OBJS += src/fst/fst_iface.c
+OBJS += src/fst/fst_group.c
+OBJS += src/fst/fst_ctrl_aux.c
+ifdef CONFIG_CTRL_IFACE
+OBJS += src/fst/fst_ctrl_iface.c
+endif
+endif
+
+
 include $(LOCAL_PATH)/src/drivers/drivers.mk
 include $(LOCAL_PATH)/src/drivers/drivers.mk
 
 
 ifdef CONFIG_AP
 ifdef CONFIG_AP

+ 15 - 0
wpa_supplicant/Makefile

@@ -1591,6 +1591,21 @@ EXTRALIBS += WbemUuid.Lib
 endif
 endif
 endif
 endif
 
 
+ifdef CONFIG_FST
+CFLAGS += -DCONFIG_FST
+FST_OBJS += ../src/fst/fst.o
+FST_OBJS += ../src/fst/fst_session.o
+FST_OBJS += ../src/fst/fst_iface.o
+FST_OBJS += ../src/fst/fst_group.o
+FST_OBJS += ../src/fst/fst_ctrl_aux.o
+ifdef CONFIG_CTRL_IFACE
+FST_OBJS += ../src/fst/fst_ctrl_iface.o
+endif
+OBJS += $(FST_OBJS)
+OBJS_t += $(FST_OBJS)
+OBJS_t2 += $(FST_OBJS)
+endif
+
 ifndef LDO
 ifndef LDO
 LDO=$(CC)
 LDO=$(CC)
 endif
 endif

+ 3 - 0
wpa_supplicant/android.config

@@ -476,4 +476,7 @@ CONFIG_WIFI_DISPLAY=y
 # External password backend for testing purposes (developer use)
 # External password backend for testing purposes (developer use)
 #CONFIG_EXT_PASSWORD_TEST=y
 #CONFIG_EXT_PASSWORD_TEST=y
 
 
+# Enable Fast Session Transfer (FST)
+#CONFIG_FST=y
+
 include $(wildcard $(LOCAL_PATH)/android_config_*.inc)
 include $(wildcard $(LOCAL_PATH)/android_config_*.inc)

+ 3 - 0
wpa_supplicant/defconfig

@@ -495,3 +495,6 @@ CONFIG_PEERKEY=y
 #
 #
 # External password backend for testing purposes (developer use)
 # External password backend for testing purposes (developer use)
 #CONFIG_EXT_PASSWORD_TEST=y
 #CONFIG_EXT_PASSWORD_TEST=y
+
+# Enable Fast Session Transfer (FST)
+#CONFIG_FST=y