diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 4be520a8..3c14b76f 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -270,6 +270,7 @@ WIFI_DRIVER_FW_PATH_P2P := "p2p" WIFI_DRIVER_OPERSTATE_PATH := "/sys/class/net/wlan0/operstate" WIFI_HIDL_FEATURE_DUAL_INTERFACE := true WIFI_HIDL_FEATURE_AWARE := true +WIFI_HIDL_UNIFIED_SUPPLICANT_SERVICE_RC_ENTRY := true WPA_SUPPLICANT_VERSION := VER_0_8_X # Inherit the proprietary files diff --git a/configs/wifi/wpa_supplicant_overlay.conf b/configs/wifi/wpa_supplicant_overlay.conf index 796f3095..bb9fdfcb 100644 --- a/configs/wifi/wpa_supplicant_overlay.conf +++ b/configs/wifi/wpa_supplicant_overlay.conf @@ -7,3 +7,4 @@ bss_max_count=512 auto_interworking=0 bss_no_flush_when_down=1 wowlan_triggers=magic_pkt +driver_param=use_p2p_group_interface=1 diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 3c761144..77e83c71 100755 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -636,22 +636,6 @@ on property:ro.data.large_tcp_window_size=true on property: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 \ - -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 - interface android.hardware.wifi.supplicant@1.2::ISupplicant default - class main - socket vendor_wpa_wlan0 dgram 660 wifi wifi - disabled - oneshot - writepid /dev/cpuset/system-background/tasks - # Data Migration service vendor.move_wifi_data /system/bin/move_wifi_data.sh class main