2017-01-19 04:57:49 +00:00
|
|
|
# Permissions
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
frameworks/native/data/etc/android.hardware.wifi.direct.xml:system/etc/permissions/android.hardware.wifi.direct.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml
|
|
|
|
|
|
|
|
# Wi-Fi
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
hostapd \
|
|
|
|
wpa_supplicant \
|
|
|
|
wpa_supplicant.conf
|
|
|
|
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
libQWiFiSoftApCfg
|
|
|
|
|
2016-11-09 17:26:33 +00:00
|
|
|
# Properties
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
|
|
wifi.interface=wlan0
|
2017-06-30 12:40:07 +00:00
|
|
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(LOCAL_PATH)/wifi/hostapd.accept:system/etc/hostapd/hostapd.accept \
|
|
|
|
$(LOCAL_PATH)/wifi/hostapd_default.conf:system/etc/hostapd/hostapd_default.conf \
|
|
|
|
$(LOCAL_PATH)/wifi/hostapd.deny:system/etc/hostapd/hostapd.deny \
|
|
|
|
$(LOCAL_PATH)/wifi/p2p_supplicant_overlay.conf:system/etc/wifi/p2p_supplicant_overlay.conf \
|
|
|
|
$(LOCAL_PATH)/wifi/wpa_supplicant_overlay.conf:system/etc/wifi/wpa_supplicant_overlay.conf
|
|
|
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(LOCAL_PATH)/wifi/fstman.ini:system/etc/wifi/fstman.ini \
|
|
|
|
$(TOPDIR)kernel/xiaomi/msm8937/drivers/staging/prima/firmware_bin/WCNSS_cfg.dat:system/etc/firmware/wlan/prima/WCNSS_cfg.dat \
|
|
|
|
$(TOPDIR)kernel/xiaomi/msm8937/drivers/staging/prima/firmware_bin/WCNSS_qcom_cfg.ini:system/etc/wifi/WCNSS_qcom_cfg.ini
|