mondrianwifi: Move supplicant service init to wpa_supplicant

Bug: 138790309
Test: boot and wifi function is ok
Change-Id: I35cf3e03566443e20799623045eacd423fd7f5c4
This commit is contained in:
nyyu 2021-08-25 15:47:55 +02:00
parent b485245b82
commit 54dd274635
4 changed files with 7 additions and 11 deletions

View file

@ -203,6 +203,7 @@ TARGET_USES_QCOM_WCNSS_QMI := true
WIFI_DRIVER_FW_PATH_AP := "ap" WIFI_DRIVER_FW_PATH_AP := "ap"
WIFI_DRIVER_FW_PATH_STA := "sta" WIFI_DRIVER_FW_PATH_STA := "sta"
WPA_SUPPLICANT_VERSION := VER_0_8_X WPA_SUPPLICANT_VERSION := VER_0_8_X
WIFI_HIDL_UNIFIED_SUPPLICANT_SERVICE_RC_ENTRY := true
# inherit from the proprietary version # inherit from the proprietary version
-include vendor/samsung/mondrianwifi/BoardConfigVendor.mk -include vendor/samsung/mondrianwifi/BoardConfigVendor.mk

View file

@ -1 +1,3 @@
disable_scan_offload=1 disable_scan_offload=1
p2p_search_delay=100
p2p_no_group_iface=1

View file

@ -1 +1,4 @@
disable_scan_offload=1
p2p_disabled=1 p2p_disabled=1
tdls_external_control=1
driver_param=use_p2p_group_interface=1

View file

@ -907,16 +907,6 @@ service qmuxd /vendor/bin/qmuxd
user radio user radio
group radio audio bluetooth gps oem_2950 log group radio audio bluetooth gps oem_2950 log
service wpa_supplicant /vendor/bin/hw/wpa_supplicant \
-O/data/vendor/wifi/wpa/sockets -puse_p2p_group_interface=1 \
-g@android:wpa_wlan0
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
oneshot
service macloader /vendor/bin/macloader service macloader /vendor/bin/macloader
class late_start class late_start
oneshot oneshot