universal7580: wpa_supplicant(hidl): Add support for
authorRoshan Pius <rpius@google.com>
Tue, 6 Feb 2018 00:16:57 +0000 (16:16 -0800)
committerJan Altensen <info@stricted.net>
Fri, 16 Aug 2019 21:18:50 +0000 (23:18 +0200)
 starting  HAL lazily

Bug: 72394251
Test: Able to start supplicant from framework using
ISupplicant.getService()
Change-Id: I19b8434e7241b9028e7dc86316ec9d5512affcca

ramdisk/etc/init.wifi.rc

index 64aaf51b45c48f801c24ea62e602e293124cce8f..9ecb3bfdd32371dd6a0239fb66f1c5b53d8272bd 100644 (file)
@@ -54,6 +54,12 @@ service wpa_supplicant /vendor/bin/hw/wpa_supplicant \
     -m/data/misc/wifi/p2p_supplicant.conf \
     -O/data/vendor/wifi/wpa/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
+    interface android.hardware.wifi.supplicant@1.0::ISupplicant default
+    interface android.hardware.wifi.supplicant@1.1::ISupplicant default
     class main
     socket wpa_wlan0 dgram 660 wifi wifi
     disabled