From e9809deae21170de76d7682751a1e3d8682ae70c Mon Sep 17 00:00:00 2001 From: Danny Wood Date: Thu, 25 Apr 2019 16:42:54 +0100 Subject: [PATCH] a5xelte: add wifi config files Change-Id: I7d54c64dbbb9b726647118f3ce8a86c18737d29e --- configs/wifi/cred.conf | 3 +++ configs/wifi/filter_ie | 3 +++ configs/wifi/p2p_supplicant_overlay.conf | 2 ++ configs/wifi/wpa_supplicant_overlay.conf | 3 +++ device.mk | 7 +++++++ 5 files changed, 18 insertions(+) create mode 100644 configs/wifi/cred.conf create mode 100644 configs/wifi/filter_ie create mode 100644 configs/wifi/p2p_supplicant_overlay.conf create mode 100644 configs/wifi/wpa_supplicant_overlay.conf diff --git a/configs/wifi/cred.conf b/configs/wifi/cred.conf new file mode 100644 index 0000000..ea9761c --- /dev/null +++ b/configs/wifi/cred.conf @@ -0,0 +1,3 @@ +cred={ + imsi="?" +} \ No newline at end of file diff --git a/configs/wifi/filter_ie b/configs/wifi/filter_ie new file mode 100644 index 0000000..7c10dcd --- /dev/null +++ b/configs/wifi/filter_ie @@ -0,0 +1,3 @@ +0 +1 +3 diff --git a/configs/wifi/p2p_supplicant_overlay.conf b/configs/wifi/p2p_supplicant_overlay.conf new file mode 100644 index 0000000..37f7a5b --- /dev/null +++ b/configs/wifi/p2p_supplicant_overlay.conf @@ -0,0 +1,2 @@ +disable_scan_offload=1 +p2p_search_delay=100 diff --git a/configs/wifi/wpa_supplicant_overlay.conf b/configs/wifi/wpa_supplicant_overlay.conf new file mode 100644 index 0000000..e1f530d --- /dev/null +++ b/configs/wifi/wpa_supplicant_overlay.conf @@ -0,0 +1,3 @@ +disable_scan_offload=1 +p2p_disabled=1 +tdls_external_control=1 diff --git a/device.mk b/device.mk index de72dce..5c42ffe 100644 --- a/device.mk +++ b/device.mk @@ -70,6 +70,13 @@ PRODUCT_PACKAGES += \ PRODUCT_COPY_FILES += \ device/samsung/universal7580-common/configs/init/rild.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/rild.rc +# Wi-fi +PRODUCT_COPY_FILES += \ + $(LOCAL_PATH)/configs/wifi/cred.conf:system/etc/wifi/cred.conf \ + $(LOCAL_PATH)/configs/wifi/wpa_supplicant_overlay.conf:system/etc/wifi/wpa_supplicant_overlay.conf \ + $(LOCAL_PATH)/configs/wifi/p2p_supplicant_overlay.conf:system/etc/wifi/p2p_supplicant_overlay.conf \ + $(LOCAL_PATH)/configs/wifi/filter_ie:system/etc/wifi/filter_ie + # Properties -include $(LOCAL_PATH)/system_prop.mk -- 2.20.1