PRODUCT_PACKAGES += \
android.hardware.wifi@1.0-service \
hostapd \
- wificond \
- wifilogd \
- wlutil \
- libwpa_client \
wpa_supplicant \
- wpa_supplicant.conf \
+ wpa_supplicant.conf
PRODUCT_COPY_FILES += \
- $(COMMON_PATH)/configs/wifi/p2p_supplicant.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/p2p_supplicant.conf \
- $(COMMON_PATH)/configs/wifi/wpa_supplicant.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant.conf
+ $(COMMON_PATH)/configs/wifi/p2p_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/p2p_supplicant_overlay.conf \
+ $(COMMON_PATH)/configs/wifi/wpa_supplicant.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant.conf \
+ $(COMMON_PATH)/configs/wifi/wpa_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant_overlay.conf
write /sys/module/scsc_wlan/parameters/mac_addr_override ${ro.boot.wifimacaddr}
# WiFi wpa suppplicant service
-service wpa_supplicant /vendor/bin/hw/wpa_supplicant -ddd -t \
- -ip2p0 -Dnl80211 -c/vendor/etc/wifi/p2p_supplicant.conf -N \
- -iwlan0 -Dnl80211 -c/vendor/etc/wifi/wpa_supplicant.conf \
- -O/data/vendor/wifi/wpa/sockets \
- -e/data/misc/wifi/entropy.bin -g@android: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
+service wpa_supplicant /vendor/bin/hw/wpa_supplicant \
+ -O/data/vendor/wifi/wpa/sockets -puse_p2p_group_interface=1 \
+ -g@android:wpa_wlan0
+ class main
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 wpa_wlan0 dgram 660 wifi wifi
disabled
oneshot
- seclabel u:r:hal_wifi_supplicant_default:s0
service dhcpcd_wlan0 /vendor/bin/dhcpcd -aABDKL
class main
+++ /dev/null
-update_config=1
-ctrl_interface=/data/vendor/wifi/wpa/sockets
-config_methods=physical_display virtual_push_button keypad
-eapol_version=1
-ap_scan=1
-fast_reauth=1
-p2p_add_cli_chan=1
--- /dev/null
+disable_scan_offload=1
+update_config=1
p2p_oper_channel=149
pmf=1
bss_no_flush_when_down=1
+p2p_add_cli_chan=1
--- /dev/null
+p2p_no_group_iface=1
+p2p_disabled=1
+update_config=1
+pmf=1
<item>bt-pan</item>
</array>
<array name="config_tether_usb_regexs">
- <item>rndis0</item>
- </array>
- <array name="config_tether_wifi_regexs">
- <item>wlan0</item>
+ <item>"usb\\d"</item>
+ <item>"rndis\\d"</item>
</array>
+ <string-array translatable="false" name="config_tether_wifi_regexs">
+ <item>"wlan0"</item>
+ <item>"softap.*"</item>
+ </string-array>
<array name="config_virtualKeyVibePattern">
<item>@null</item>
<item>26</item>
<bool name="config_wifi_dual_band_support">true</bool>
<bool name="config_wifi_fast_bss_transition_enabled">true</bool>
<bool name="config_wifi_p2p_mac_randomization_supported">true</bool>
- <bool name="config_wifi_softap_acs_supported">true</bool>
+ <bool name="config_wifi_softap_acs_supported">false</bool>
<bool name="skip_restoring_network_selection">true</bool>
<integer name="config_cameraLaunchGestureSensorType">65540</integer>
<string name="config_ims_package">com.shannon.imsservice</string>
<string name="config_radio_access_family">GSM|CDMA|EVDO|WCDMA|LTE</string>
<string name="config_wifi_tcp_buffers">2097152,4194304,8388608,2097152,4194304,8388608</string>
+
+ <bool translatable="false" name="config_wifi_softap_ieee80211ac_supported">true</bool>
+ <bool name="config_enableWifiDisplay">true</bool>
</resources>
ro.surface_flinger.use_color_management=1
media.settings.xml=/vendor/etc/media_profiles_vendor.xml
persist.audio.endcall.delay=250
+wifi.direct.interface=p2p0
+ro.boot.wificountrycode=00