p2p: fix p2p configuration

The correct path should be under /data,
or it is not writable.

wpa_supplicant now support p2p overlay configuration, a unified
wpa_supplicant init entry can be used.

Bug: 238601241
Test: create a group and check this group is persisted
      after reboot
Change-Id: If22efca993dfb55616df0166f3aab860bbcd3073
This commit is contained in:
Jimmy Chen 2022-08-08 11:03:28 +08:00
parent 905a74d1d5
commit 3483016d07
3 changed files with 2 additions and 11 deletions

View file

@ -27,7 +27,8 @@ WIFI_FEATURE_IMU_DETECTION := true
# Avoid Wifi reset on MAC Address change
WIFI_AVOID_IFACE_RESET_MAC_CHANGE := true
WIFI_FEATURE_HOSTAPD_11AX := true
WIFI_HIDL_UNIFIED_SUPPLICANT_SERVICE_RC_ENTRY := true
PRODUCT_COPY_FILES += \
device/google/tangorpro/wifi/p2p_supplicant.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/p2p_supplicant.conf \
device/google/tangorpro/wifi/p2p_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/p2p_supplicant_overlay.conf \
device/google/tangorpro/wifi/wpa_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant_overlay.conf