android_device_lenovo_karate/product/wifi.mk
Zhao Wei Liew 6ce696413a land: Use DEVICE_PATH for tree reference
Since we define it, let's use it.

Change-Id: I975118f844d5d7e47869d0142faae8fc59790481
2017-12-18 14:31:56 +05:30

29 lines
1.2 KiB
Makefile

# 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
# Properties
PRODUCT_PROPERTY_OVERRIDES += \
wifi.interface=wlan0
PRODUCT_COPY_FILES += \
$(DEVICE_PATH)/wifi/hostapd.accept:system/etc/hostapd/hostapd.accept \
$(DEVICE_PATH)/wifi/hostapd_default.conf:system/etc/hostapd/hostapd_default.conf \
$(DEVICE_PATH)/wifi/hostapd.deny:system/etc/hostapd/hostapd.deny \
$(DEVICE_PATH)/wifi/p2p_supplicant_overlay.conf:system/etc/wifi/p2p_supplicant_overlay.conf \
$(DEVICE_PATH)/wifi/wpa_supplicant_overlay.conf:system/etc/wifi/wpa_supplicant_overlay.conf
PRODUCT_COPY_FILES += \
$(DEVICE_PATH)/wifi/fstman.ini:system/etc/wifi/fstman.ini \
$(DEVICE_PATH)/wifi/firmware/WCNSS_cfg.dat:system/etc/firmware/wlan/prima/WCNSS_cfg.dat \
$(DEVICE_PATH)/wifi/firmware/WCNSS_qcom_cfg.ini:system/etc/wifi/WCNSS_qcom_cfg.ini