a5xelte: add wifi config files
authorDanny Wood <danwood76@gmail.com>
Thu, 25 Apr 2019 15:42:54 +0000 (16:42 +0100)
committerJan Altensen <info@stricted.net>
Mon, 12 Aug 2019 07:12:42 +0000 (09:12 +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..ea9761c
--- /dev/null
@@ -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 (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..e1f530d
--- /dev/null
@@ -0,0 +1,3 @@
+disable_scan_offload=1
+p2p_disabled=1
+tdls_external_control=1
index de72dcef224ebf0214b2cd324a313f0c4cb32725..5c42ffeb348b20088fa69689cc723694867f21c7 100644 (file)
--- 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