update wifi packages and wpa_supplicant configuration
authorStricted <info@stricted.net>
Fri, 27 Jul 2018 06:38:32 +0000 (08:38 +0200)
committerJan Altensen <info@stricted.net>
Fri, 22 Feb 2019 17:35:22 +0000 (18:35 +0100)
Change-Id: Ie15878b00637c00ab8a67e78cd0e491af39401d1

device.mk
ramdisk/init.mt8127.rc

index 7717d23bed13907414476a145bc20ed57b3de003..27e8fc0619a1dcd948b442d23460b6139a1716e9 100644 (file)
--- a/device.mk
+++ b/device.mk
@@ -129,13 +129,17 @@ PRODUCT_PACKAGES += \
        libstlport \
        lights.mt8127
 
-# Wifi
 PRODUCT_PACKAGES += \
+    android.hardware.wifi@1.0-service \
     lib_driver_cmd_mt66xx \
     libwifi-hal-mt66xx \
     wifi_hal \
     libwpa_client \
     hostapd \
+    hostapd_cli \
+    dhcpcd.conf \
+    wificond \
+    wifilogd \
     wpa_supplicant
 
 PRODUCT_COPY_FILES += \
index 1e514569321939634c59de6f6da8d02a2ba22452..0b092fef11feb37d752cdf6bc1d23e61abb7a769 100644 (file)
@@ -438,33 +438,20 @@ on property:wlan.driver.status=unloaded
 
 #remove -puse_p2p_group_interface=1, our driver doesnot support this feature
 #
-service p2p_supplicant /system/bin/wpa_supplicant \
-       -iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \
-       -I/system/etc/wifi/wpa_supplicant_overlay.conf -N \
-       -ip2p0 -Dnl80211 -c/data/misc/wifi/p2p_supplicant.conf -e/data/misc/wifi/entropy.bin -ddd \
-       -I/system/etc/wifi/p2p_supplicant_overlay.conf \
-       -O/data/misc/wifi/sockets -g@android:wpa_wlan0
-       #   we will start as root and wpa_supplicant will switch to user wifi
-       #   after setting up the capabilities required for WEXT
-       #   user wifi
-       #   group wifi inet keystore
-       class main
-       socket wpa_wlan0 dgram 660 wifi wifi
-       disabled
-       oneshot
-
-service wpa_supplicant /system/bin/wpa_supplicant \
-       -iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf -e/data/misc/wifi/entropy.bin -ddd \
-       -I/system/etc/wifi/wpa_supplicant_overlay.conf \
-       -O/data/misc/wifi/sockets -g@android:wpa_wlan0
-       #   we will start as root and wpa_supplicant will switch to user wifi
-       #   after setting up the capabilities required for WEXT
-       #   user wifi
-       #   group wifi inet keystore
-       class main
-       socket wpa_wlan0 dgram 660 wifi wifi
-       disabled
-       oneshot
+service wpa_supplicant /vendor/bin/hw/wpa_supplicant \
+    -iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \
+    -I/system/etc/wifi/wpa_supplicant_overlay.conf -N \
+    -ip2p0 -Dnl80211 -c/data/misc/wifi/p2p_supplicant.conf -e/data/misc/wifi/entropy.bin -dd \
+    -I/system/etc/wifi/p2p_supplicant_overlay.conf \
+    -O/data/misc/wifi/sockets -g@android:wpa_wlan0
+    #   we will start as root and wpa_supplicant will switch to user wifi
+    #   after setting up the capabilities required for WEXT
+    #   user wifi
+    #   group wifi inet keystore
+    class late_start
+    socket wpa_wlan0 dgram 660 wifi wifi
+    disabled
+    oneshot
 
 #
 # MT6620 related services (End)