summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern Johansson <bjoernj@google.com>2017-11-14 17:08:40 -0800
committerBjoern Johansson <bjoernj@google.com>2018-03-13 11:50:42 -0700
commitffb2863b02b2361e8e396e73aff195b608dad066 (patch)
treebdb82dcda98883201969e837016ec5d81673016e
parentb7dc1893e5c56a443e162a6147518046583f73bf (diff)
Implement emulator WiFi vendor HAL library
The Android emulator has its own WiFi HAL. When building emulator images use that implementation. Bug: 68338427 Test: run cts -m CtsIncidentHostTestCases -t com.android.server.cts.BatteryStatsValidationTest#testWifiDownload Exempt-From-Owner-Approval: Change-Id: I2550addedb14c9c9583dee9f43384bd7d17dde27 (cherry picked from commit 53021da028731bb2ff888dc5915dfddb41fc0e40) (cherry picked from commit 602e021b5a0c51ecc72d0a646e521446c6f4abf1)
-rw-r--r--libwifi_hal/Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/libwifi_hal/Android.mk b/libwifi_hal/Android.mk
index 1179a091d..58e81ff8b 100644
--- a/libwifi_hal/Android.mk
+++ b/libwifi_hal/Android.mk
@@ -99,6 +99,8 @@ else ifeq ($(BOARD_WLAN_DEVICE), mrvl)
else ifeq ($(BOARD_WLAN_DEVICE), MediaTek)
# support MTK WIFI HAL
LIB_WIFI_HAL := libwifi-hal-mt66xx
+else ifeq ($(BOARD_WLAN_DEVICE), emulator)
+ LIB_WIFI_HAL := libwifi-hal-emu
endif
# The WiFi HAL that you should be linking.