Skip to content

Commit 02cc73f

Browse files
Jimmy Chendanascape
Jimmy Chen
authored andcommitted
billie: Move supplicant service init to wpa_supplicant
Bug: 138790309 Test: boot and wifi function is ok Change-Id: I35cf3e03566443e20799623045eacd423fd7f5c4 Signed-off-by: Saalim Quadri <[email protected]>
1 parent 4250dbb commit 02cc73f

File tree

3 files changed

+2
-14
lines changed

3 files changed

+2
-14
lines changed

BoardConfig.mk

+1
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ WIFI_DRIVER_STATE_CTRL_PARAM := "/dev/wlan"
249249
WIFI_DRIVER_STATE_OFF := "OFF"
250250
WIFI_DRIVER_STATE_ON := "ON"
251251
WIFI_HIDL_FEATURE_DUAL_INTERFACE := true
252+
WIFI_HIDL_UNIFIED_SUPPLICANT_SERVICE_RC_ENTRY := true
252253
WPA_SUPPLICANT_VERSION := VER_0_8_X
253254

254255
# Inherit from the proprietary version

rootdir/etc/init.qcom.rc

-14
Original file line numberDiff line numberDiff line change
@@ -559,20 +559,6 @@ on property:ro.data.large_tcp_window_size=true
559559
on property:sys.sysctl.tcp_adv_win_scale=*
560560
write /proc/sys/net/ipv4/tcp_adv_win_scale ${sys.sysctl.tcp_adv_win_scale}
561561

562-
service wpa_supplicant /vendor/bin/hw/wpa_supplicant \
563-
-O/data/vendor/wifi/wpa/sockets -puse_p2p_group_interface=1 -dd \
564-
-g@android:vendor_wpa_wlan0
565-
# we will start as root and wpa_supplicant will switch to user wifi
566-
# after setting up the capabilities required for WEXT
567-
# user wifi
568-
# group wifi inet keystore
569-
interface [email protected]::ISupplicant default
570-
interface [email protected]::ISupplicant default
571-
class main
572-
socket vendor_wpa_wlan0 dgram 660 wifi wifi
573-
disabled
574-
oneshot
575-
576562
service vendor.wigig_supplicant /vendor/bin/hw/wpa_supplicant \
577563
-iwigig0 -Dnl80211 -c/data/vendor/wifi/wigig_supplicant.conf \
578564
-m/data/vendor/wifi/wigig_p2p_supplicant.conf \

wifi/wpa_supplicant_overlay.conf

+1
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ bss_max_count=400
66
interworking=1
77
config_methods=virtual_display virtual_push_button keypad
88
driver_param="no_rrm=1"
9+
driver_param=use_p2p_group_interface=1

0 commit comments

Comments
 (0)