-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwlan.mk
40 lines (31 loc) · 1.52 KB
/
wlan.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/WLAN_CHIPSET := qca_cld3
#WPA
WPA := wpa_cli
PRODUCT_PACKAGES += $(WLAN_CHIPSET)_wlan.ko
PRODUCT_PACKAGES += wifilearner
PRODUCT_PACKAGES += $(WPA)
#Enable WIFI AWARE FEATURE
WIFI_HIDL_FEATURE_AWARE := true
PRODUCT_COPY_FILES += \
device/qcom/wlan/lito/wpa_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant_overlay.conf \
device/qcom/wlan/lito/p2p_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/p2p_supplicant_overlay.conf \
device/qcom/wlan/lito/icm.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/icm.conf \
frameworks/native/data/etc/android.hardware.wifi.aware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.aware.xml \
frameworks/native/data/etc/android.hardware.wifi.rtt.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.rtt.xml \
frameworks/native/data/etc/android.hardware.wifi.passpoint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.passpoint.xml
ifeq ($(GENERIC_ODM_IMAGE),true)
PRODUCT_COPY_FILES += \
device/qcom/wlan/lito/WCNSS_qcom_cfg_odm.ini:$(TARGET_COPY_OUT_ODM)/etc/wifi/WCNSS_qcom_cfg.ini
else
PRODUCT_COPY_FILES += \
device/qcom/wlan/lito/WCNSS_qcom_cfg.ini:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/WCNSS_qcom_cfg.ini
endif
# WLAN specific aosp flag
TARGET_USES_AOSP_FOR_WLAN := false
# Enable STA + SAP Concurrency.
WIFI_HIDL_FEATURE_DUAL_INTERFACE := true
# Enable SAP + SAP Feature.
QC_WIFI_HIDL_FEATURE_DUAL_AP := true
# Enable vendor properties.
PRODUCT_PROPERTY_OVERRIDES += \
wifi.aware.interface=wifi-aware0