mirror of
https://github.com/PixelExperience-Devices/device_xiaomi_sm6250-common.git
synced 2025-04-29 02:27:21 +09:00
sm6250-common: wifi: move supplicant service init to wpa_supplicant
Bug: 138790309 Test: boot and wifi function is ok Change-Id: Icea6361942873b5177c5fa59f9628c3b383b4509
This commit is contained in:
parent
daf99d589e
commit
18066f4ebc
@ -204,6 +204,7 @@ 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
|
||||||
|
|
||||||
# Inherit proprietary blobs
|
# Inherit proprietary blobs
|
||||||
|
@ -523,35 +523,6 @@ on property:ro.data.large_tcp_window_size=true
|
|||||||
on property:sys.sysctl.tcp_adv_win_scale=*
|
on property:sys.sysctl.tcp_adv_win_scale=*
|
||||||
write /proc/sys/net/ipv4/tcp_adv_win_scale ${sys.sysctl.tcp_adv_win_scale}
|
write /proc/sys/net/ipv4/tcp_adv_win_scale ${sys.sysctl.tcp_adv_win_scale}
|
||||||
|
|
||||||
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
|
|
||||||
class main
|
|
||||||
socket vendor_wpa_wlan0 dgram 660 wifi wifi
|
|
||||||
disabled
|
|
||||||
oneshot
|
|
||||||
|
|
||||||
service vendor.wigig_supplicant /vendor/bin/hw/wpa_supplicant \
|
|
||||||
-iwigig0 -Dnl80211 -c/data/vendor/wifi/wigig_supplicant.conf \
|
|
||||||
-m/data/vendor/wifi/wigig_p2p_supplicant.conf \
|
|
||||||
-O/data/vendor/wifi/wigig_sockets -dd \
|
|
||||||
-e/data/vendor/wifi/wigig_entropy.bin -g@android:wigig/wpa_wigig0 \
|
|
||||||
-S wigigsvc
|
|
||||||
# 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 wigig/wpa_wigig0 dgram 660 wifi wifi
|
|
||||||
disabled
|
|
||||||
oneshot
|
|
||||||
|
|
||||||
# Data Migration
|
# Data Migration
|
||||||
service vendor.move_wifi_data /system/bin/move_wifi_data.sh
|
service vendor.move_wifi_data /system/bin/move_wifi_data.sh
|
||||||
class main
|
class main
|
||||||
|
@ -5,4 +5,4 @@ wowlan_triggers=magic_pkt
|
|||||||
bss_max_count=400
|
bss_max_count=400
|
||||||
interworking=1
|
interworking=1
|
||||||
config_methods=virtual_display virtual_push_button keypad
|
config_methods=virtual_display virtual_push_button keypad
|
||||||
driver_param="no_rrm=1"
|
driver_param="use_p2p_group_interface=1 no_rrm=1"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user