diff options
author | Jeff Johnson <jjohnson@codeaurora.org> | 2012-08-13 16:54:58 -0700 |
---|---|---|
committer | Iliyan Malchev <malchev@google.com> | 2012-08-19 16:44:24 -0700 |
commit | e6c982c258910f658901df7ecae2cc7a36eeea96 (patch) | |
tree | e29329863a918d1d5bcc1c7f6cb8d37d61a75c0a | |
parent | 04abaa93653bcee36d59576c90f283d4efdb0a64 (diff) | |
download | external_wpa_supplicant_8-e6c982c258910f658901df7ecae2cc7a36eeea96.zip external_wpa_supplicant_8-e6c982c258910f658901df7ecae2cc7a36eeea96.tar.gz external_wpa_supplicant_8-e6c982c258910f658901df7ecae2cc7a36eeea96.tar.bz2 |
Add support for Qualcomm qcwcn Wireless Connectivity solution
Update the wpa_supplicant and hostapd makefiles to enable
ANDROID_P2P and ANDROID_QCOM_WCN conditional compilation
when the BOARD_WLAN_DEVICE is qcwcn.
Change-Id: I5d8216bdede6d6eb6613a83cda2c67c5eb7c2280
-rw-r--r-- | hostapd/Android.mk | 5 | ||||
-rw-r--r-- | wpa_supplicant/Android.mk | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/hostapd/Android.mk b/hostapd/Android.mk index c1e5d8b..107f381 100644 --- a/hostapd/Android.mk +++ b/hostapd/Android.mk @@ -28,6 +28,11 @@ ifeq ($(BOARD_WLAN_DEVICE), bcmdhd) L_CFLAGS += -DANDROID_P2P endif +ifeq ($(BOARD_WLAN_DEVICE), qcwcn) +L_CFLAGS += -DANDROID_QCOM_WCN +L_CFLAGS += -DANDROID_P2P +endif + # To force sizeof(enum) = 4 ifeq ($(TARGET_ARCH),arm) L_CFLAGS += -mabi=aapcs-linux diff --git a/wpa_supplicant/Android.mk b/wpa_supplicant/Android.mk index a0e7834..295a897 100644 --- a/wpa_supplicant/Android.mk +++ b/wpa_supplicant/Android.mk @@ -33,6 +33,11 @@ ifeq ($(BOARD_WLAN_DEVICE), bcmdhd) L_CFLAGS += -DANDROID_P2P endif +ifeq ($(BOARD_WLAN_DEVICE), qcwcn) +L_CFLAGS += -DANDROID_QCOM_WCN +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\" |