From 088c9ac1bdadf2c50cd005b4d77446bde9b093bc Mon Sep 17 00:00:00 2001 From: Jimmy Chen Date: Thu, 3 Oct 2019 11:24:23 +0800 Subject: shinano-common: Move supplicant service init to wpa_supplicant Bug: 138790309 Test: boot and wifi function is ok Change-Id: I35cf3e03566443e20799623045eacd423fd7f5c4 --- BoardConfigCommon.mk | 1 + rootdir/etc/init.qcom.rc | 14 -------------- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index b2a6e1b..9e490c5 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -75,3 +75,4 @@ BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_bcmdhd WIFI_DRIVER_FW_PATH_PARAM := "/sys/module/bcmdhd/parameters/firmware_path" WIFI_DRIVER_FW_PATH_AP := "/vendor/firmware/fw_bcmdhd_apsta.bin" WIFI_DRIVER_FW_PATH_STA := "/vendor/firmware/fw_bcmdhd.bin" +WIFI_HIDL_UNIFIED_SUPPLICANT_SERVICE_RC_ENTRY := true diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 472bd97..7329ce0 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -372,20 +372,6 @@ service qseecomd /vendor/bin/qseecomd user root group drmrpc root -service wpa_supplicant /vendor/bin/hw/wpa_supplicant \ - -O/data/vendor/wifi/wpa/sockets -puse_p2p_group_interface=1 \ - -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 - oneshot - on property:ro.data.large_tcp_window_size=true # Adjust socket buffer to enlarge TCP receive window for high bandwidth (e.g. DO-RevB) write /proc/sys/net/ipv4/tcp_adv_win_scale 2 -- cgit v1.2.3