Android: Add Hotspot 2.0 into hostapd makefile
authorJouni Malinen <j@w1.fi>
Tue, 25 Nov 2014 15:06:54 +0000 (17:06 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 25 Nov 2014 15:09:50 +0000 (17:09 +0200)
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>
hostapd/Android.mk

index a6cb8d0..d6d04c5 100644 (file)
@@ -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