From 9dd7b9cd1c2dc73c2bb642a8a426762f2e712163 Mon Sep 17 00:00:00 2001 From: Dmitry Shmidt Date: Thu, 1 Feb 2018 10:09:39 -0800 Subject: hikey: Add wlan and p2p overlays to satisfy default wifi HAL Bug: 72776421 Test: Manual Change-Id: I9a23df7efdfd4e2efcca302cd9cf40b3fba1ea6a Signed-off-by: Dmitry Shmidt --- device-common.mk | 4 +++- p2p_supplicant_overlay.conf | 1 + wpa_supplicant_overlay.conf | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 p2p_supplicant_overlay.conf create mode 100644 wpa_supplicant_overlay.conf diff --git a/device-common.mk b/device-common.mk index 170c6d3e..4aefdbff 100644 --- a/device-common.mk +++ b/device-common.mk @@ -164,7 +164,9 @@ PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.wifi.direct.xml:system/etc/permissions/android.hardware.wifi.direct.xml \ frameworks/native/data/etc/android.hardware.bluetooth.xml:system/etc/permissions/android.hardware.bluetooth.xml \ frameworks/native/data/etc/android.hardware.bluetooth_le.xml:system/etc/permissions/android.hardware.bluetooth_le.xml \ - device/linaro/hikey/wpa_supplicant.conf:system/etc/wifi/wpa_supplicant.conf + device/linaro/hikey/wpa_supplicant.conf:system/etc/wifi/wpa_supplicant.conf \ + $(LOCAL_PATH)/wpa_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant_overlay.conf \ + $(LOCAL_PATH)/p2p_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/p2p_supplicant_overlay.conf # audio policy configuration USE_XML_AUDIO_POLICY_CONF := 1 diff --git a/p2p_supplicant_overlay.conf b/p2p_supplicant_overlay.conf new file mode 100644 index 00000000..acbace22 --- /dev/null +++ b/p2p_supplicant_overlay.conf @@ -0,0 +1 @@ +disable_scan_offload=1 diff --git a/wpa_supplicant_overlay.conf b/wpa_supplicant_overlay.conf new file mode 100644 index 00000000..e1f530db --- /dev/null +++ b/wpa_supplicant_overlay.conf @@ -0,0 +1,3 @@ +disable_scan_offload=1 +p2p_disabled=1 +tdls_external_control=1 -- cgit v1.2.3