aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/Android.mk
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2014-11-25 15:06:54 (GMT)
committerJouni Malinen <j@w1.fi>2014-11-25 15:09:50 (GMT)
commit378dec5af962db4ef9bf2b18f11dc98f7aab45b9 (patch)
treef58de323e0eb7b9c46f843267fb33aa4b00f1928 /hostapd/Android.mk
parenta437378f98c4166928fbbd2cb545dc7a45f6fd3a (diff)
downloadhostap-378dec5af962db4ef9bf2b18f11dc98f7aab45b9.zip
hostap-378dec5af962db4ef9bf2b18f11dc98f7aab45b9.tar.gz
hostap-378dec5af962db4ef9bf2b18f11dc98f7aab45b9.tar.bz2
Android: Add Hotspot 2.0 into hostapd makefile
This makes the Android.mk for hostapd match the Makefile changes for optional Hotspot 2.0 support. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'hostapd/Android.mk')
-rw-r--r--hostapd/Android.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/hostapd/Android.mk b/hostapd/Android.mk
index a6cb8d0..d6d04c5 100644
--- a/hostapd/Android.mk
+++ b/hostapd/Android.mk
@@ -201,6 +201,11 @@ endif
ifdef CONFIG_HS20
NEED_AES_OMAC1=y
+CONFIG_PROXYARP=y
+endif
+
+ifdef CONFIG_PROXYARP
+CONFIG_L2_PACKET=y
endif
ifdef CONFIG_SUITEB
@@ -861,6 +866,15 @@ OBJS += src/common/gas.c
OBJS += src/ap/gas_serv.c
endif
+ifdef CONFIG_PROXYARP
+L_CFLAGS += -DCONFIG_PROXYARP
+OBJS += src/ap/x_snoop.c
+OBJS += src/ap/dhcp_snoop.c
+ifdef CONFIG_IPV6
+OBJS += src/ap/ndisc_snoop.c
+endif
+endif
+
OBJS += src/drivers/driver_common.c
ifdef CONFIG_ACS