mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_sm6150-common
synced 2026-01-27 16:26:02 +00:00
davinci: Move supplicant service init to wpa_supplicant
Bug: 138790309 Test: boot and wifi function is ok Change-Id: I35cf3e03566443e20799623045eacd423fd7f5c4
This commit is contained in:
@@ -207,4 +207,5 @@ WIFI_DRIVER_STATE_OFF := "OFF"
|
|||||||
WIFI_DRIVER_STATE_ON := "ON"
|
WIFI_DRIVER_STATE_ON := "ON"
|
||||||
WIFI_HIDL_FEATURE_AWARE := true
|
WIFI_HIDL_FEATURE_AWARE := true
|
||||||
WIFI_HIDL_FEATURE_DUAL_INTERFACE := true
|
WIFI_HIDL_FEATURE_DUAL_INTERFACE := true
|
||||||
|
WIFI_HIDL_UNIFIED_SUPPLICANT_SERVICE_RC_ENTRY := true
|
||||||
WPA_SUPPLICANT_VERSION := VER_0_8_X
|
WPA_SUPPLICANT_VERSION := VER_0_8_X
|
||||||
|
|||||||
@@ -270,21 +270,6 @@ service vendor.sensors.qti /vendor/bin/sensors.qti
|
|||||||
group system
|
group system
|
||||||
writepid /dev/cpuset/system-background/tasks
|
writepid /dev/cpuset/system-background/tasks
|
||||||
|
|
||||||
service wpa_supplicant /vendor/bin/hw/wpa_supplicant \
|
|
||||||
-O/data/vendor/wifi/wpa/sockets -puse_p2p_group_interface=1 -dd \
|
|
||||||
-g@android:vendor_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
|
|
||||||
interface android.hardware.wifi.supplicant@1.2::ISupplicant default
|
|
||||||
class main
|
|
||||||
socket vendor_wpa_wlan0 dgram 660 wifi wifi
|
|
||||||
disabled
|
|
||||||
oneshot
|
|
||||||
|
|
||||||
service vendor.cnss-daemon /vendor/bin/cnss-daemon -n -l
|
service vendor.cnss-daemon /vendor/bin/cnss-daemon -n -l
|
||||||
class late_start
|
class late_start
|
||||||
user system
|
user system
|
||||||
|
|||||||
Reference in New Issue
Block a user