diff --git a/wpa_supplicant/Android.mk b/wpa_supplicant/Android.mk index b9db81ae1..fab755af7 100644 --- a/wpa_supplicant/Android.mk +++ b/wpa_supplicant/Android.mk @@ -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 diff --git a/wpa_supplicant/android.config b/wpa_supplicant/android.config index fc0614d3b..265501041 100644 --- a/wpa_supplicant/android.config +++ b/wpa_supplicant/android.config @@ -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