aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/Android.mk
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2013-11-06 01:07:56 (GMT)
committerJouni Malinen <j@w1.fi>2013-11-07 12:01:28 (GMT)
commit3526ff0fadfbc0efddde53a5060a7e02b92f856a (patch)
treea86071ad102afa488d44b8e0a1ca995b413ad661 /wpa_supplicant/Android.mk
parentd0b273524077891f4855517b92379e6f1f5c06c9 (diff)
downloadhostap-3526ff0fadfbc0efddde53a5060a7e02b92f856a.zip
hostap-3526ff0fadfbc0efddde53a5060a7e02b92f856a.tar.gz
hostap-3526ff0fadfbc0efddde53a5060a7e02b92f856a.tar.bz2
Android: Add ANDROID_P2P define under BOARD_WLAN_DEVICE
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'wpa_supplicant/Android.mk')
-rw-r--r--wpa_supplicant/Android.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/wpa_supplicant/Android.mk b/wpa_supplicant/Android.mk
index e3850d2..a06a427 100644
--- a/wpa_supplicant/Android.mk
+++ b/wpa_supplicant/Android.mk
@@ -31,6 +31,19 @@ ifdef CONFIG_NO_ROAMING
L_CFLAGS += -DCONFIG_NO_ROAMING
endif
+ifeq ($(BOARD_WLAN_DEVICE), bcmdhd)
+L_CFLAGS += -DANDROID_P2P
+L_CFLAGS += -DP2P_CONCURRENT_SEARCH_DELAY=0
+endif
+
+ifeq ($(BOARD_WLAN_DEVICE), qcwcn)
+L_CFLAGS += -DANDROID_P2P
+endif
+
+ifeq ($(BOARD_WLAN_DEVICE), mrvl)
+L_CFLAGS += -DANDROID_P2P
+endif
+
# Use Android specific directory for control interface sockets
L_CFLAGS += -DCONFIG_CTRL_IFACE_CLIENT_DIR=\"/data/misc/wifi/sockets\"
L_CFLAGS += -DCONFIG_CTRL_IFACE_DIR=\"/data/system/wpa_supplicant\"