]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
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 b9db81ae1811e77b682cdfd5a9b7a4981dd640ff..fab755af79663f8958b6f78085b948548565ea7c 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 fc0614d3bc81f645bd678325e8f8eb71bdd1838e..265501041cd9cd2dfadfc655a091d68808eb7598 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