aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimmy Chen <jimmycmchen@google.com>2019-10-03 11:24:23 +0800
committerArian <arian.kulmer@web.de>2021-04-05 13:53:21 +0200
commit088c9ac1bdadf2c50cd005b4d77446bde9b093bc (patch)
tree59fc02a27d0d865024de4d74356f03a09a491888
parentd62bfb068325eaed376a97a38a4e9cdf038a096b (diff)
shinano-common: Move supplicant service init to wpa_supplicant
Bug: 138790309 Test: boot and wifi function is ok Change-Id: I35cf3e03566443e20799623045eacd423fd7f5c4
-rw-r--r--BoardConfigCommon.mk1
-rw-r--r--rootdir/etc/init.qcom.rc14
2 files changed, 1 insertions, 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