j7elte: Add wifi config files
authorDanny Wood <danwood76@gmail.com>
Mon, 1 Oct 2018 18:49:22 +0000 (19:49 +0100)
committerDario Trombello <dariotr@outlook.de>
Sun, 24 May 2020 19:06:35 +0000 (21:06 +0200)
Change-Id: I7d54c64dbbb9b726647118f3ce8a86c18737d29e

configs/wifi/cred.conf [new file with mode: 0644]
configs/wifi/filter_ie [new file with mode: 0644]
configs/wifi/p2p_supplicant_overlay.conf [new file with mode: 0644]
configs/wifi/wpa_supplicant_overlay.conf [new file with mode: 0644]
device.mk

diff --git a/configs/wifi/cred.conf b/configs/wifi/cred.conf
new file mode 100644 (file)
index 0000000..379359b
--- /dev/null
@@ -0,0 +1,3 @@
+cred={
+       imsi="?"
+}
diff --git a/configs/wifi/filter_ie b/configs/wifi/filter_ie
new file mode 100644 (file)
index 0000000..7c10dcd
--- /dev/null
@@ -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 (file)
index 0000000..37f7a5b
--- /dev/null
@@ -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 (file)
index 0000000..56f56eb
--- /dev/null
@@ -0,0 +1,2 @@
+p2p_disabled=1
+tdls_external_control=1
index 35dc6f829b9e3996fbe6486f9d8c87bf1313192c..4bea8aa428df70cc8bfec95a0f9619ad46f73b49 100644 (file)
--- a/device.mk
+++ b/device.mk
@@ -65,6 +65,13 @@ PRODUCT_COPY_FILES += \
 PRODUCT_PACKAGES += \
     init.target.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
+
 # Inherit from universal7580-common
 $(call inherit-product, device/samsung/universal7580-common/device-common.mk)