Android: Include Hotspot 2.0 support in the default build
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 31 Aug 2012 15:28:54 +0000 (18:28 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 31 Aug 2012 15:34:30 +0000 (18:34 +0300)
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>

wpa_supplicant/Android.mk
wpa_supplicant/android.config

index b9db81a..fab755a 100644 (file)
@@ -239,6 +239,12 @@ L_CFLAGS += -DCONFIG_P2P_STRICT
 endif
 endif
 
+ifdef CONFIG_HS20
+OBJS += hs20_supplicant.c
+L_CFLAGS += -DCONFIG_HS20
+CONFIG_INTERWORKING=y
+endif
+
 ifdef CONFIG_INTERWORKING
 OBJS += interworking.c
 L_CFLAGS += -DCONFIG_INTERWORKING
@@ -741,6 +747,12 @@ L_CFLAGS += -DEAP_SERVER_WSC
 OBJS += src/ap/wps_hostapd.c
 OBJS += src/eap_server/eap_server_wsc.c
 endif
+ifdef CONFIG_INTERWORKING
+OBJS += src/ap/gas_serv.c
+endif
+ifdef CONFIG_HS20
+OBJS += src/ap/hs20.c
+endif
 endif
 
 ifdef NEED_RSN_AUTHENTICATOR
index fc0614d..2655010 100644 (file)
@@ -487,7 +487,10 @@ CONFIG_IEEE80211N=y
 # This can be used to enable functionality to improve interworking with
 # external networks (GAS/ANQP to learn more about the networks and network
 # selection based on available credentials).
-#CONFIG_INTERWORKING=y
+CONFIG_INTERWORKING=y
+
+# Hotspot 2.0
+CONFIG_HS20=y
 
 # Disable roaming in wpa_supplicant
 CONFIG_NO_ROAMING=y