flo: wifi: Move supplicant service init to wpa_supplicant
Bug: 138790309 Test: boot and wifi function is ok Change-Id: I35cf3e03566443e20799623045eacd423fd7f5c4
This commit is contained in:
parent
ed13dcfb14
commit
a2a6d605e9
|
@ -69,6 +69,7 @@ BOARD_HOSTAPD_DRIVER := NL80211
|
|||
BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_$(BOARD_WLAN_DEVICE)
|
||||
WIFI_DRIVER_FW_PATH_STA := "sta"
|
||||
WIFI_DRIVER_FW_PATH_AP := "ap"
|
||||
WIFI_HIDL_UNIFIED_SUPPLICANT_SERVICE_RC_ENTRY := true
|
||||
|
||||
#BOARD_USES_HGL := true
|
||||
#BOARD_USES_OVERLAY := true
|
||||
|
|
|
@ -309,21 +309,6 @@ service sensors /vendor/bin/sensors.qcom
|
|||
user root
|
||||
group root wakelock
|
||||
|
||||
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
|
||||
interface android.hardware.wifi.supplicant@1.2::ISupplicant default
|
||||
# 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
|
||||
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 1
|
||||
|
|
|
@ -2,3 +2,4 @@ disable_scan_offload=1
|
|||
tdls_external_control=1
|
||||
p2p_disabled=1
|
||||
no_ctrl_interface=
|
||||
driver_param=use_p2p_group_interface=1
|
||||
|
|
Loading…
Reference in New Issue