|
@@ -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\"
|