@@ -56,3 +56,17 @@ PRODUCT_PACKAGES += \
PRODUCT_PROPERTY_OVERRIDES += \
wifi.interface=wlan0 \
wifi.supplicant_scan_interval=15
+
+PRODUCT_COPY_FILES += $(call add-to-product-copy-files-if-exists,\
+ vendor/qcom/flo/proprietary/wcnss.mdt:/system/vendor/firmware/wcnss.mdt \
+ vendor/qcom/flo/proprietary/wcnss.b00:/system/vendor/firmware/wcnss.b00 \
+ vendor/qcom/flo/proprietary/wcnss.b01:/system/vendor/firmware/wcnss.b01 \
+ vendor/qcom/flo/proprietary/wcnss.b02:/system/vendor/firmware/wcnss.b02 \
+ vendor/qcom/flo/proprietary/wcnss.b04:/system/vendor/firmware/wcnss.b04 \
+ vendor/qcom/flo/proprietary/wcnss.b05:/system/vendor/firmware/wcnss.b05 \
+)
+
+PRODUCT_COPY_FILES += $(call add-to-product-copy-files-if-exists,\
+ device/asus/flo/WCNSS_qcom_wlan_nv_flo.bin:system/vendor/firmware/wlan/prima/WCNSS_qcom_wlan_nv.bin \
+)
+
This adds the wifi firmware found in the binary packages for flo to the build. XXX The WCNSS_qcom_wlan_nv.bin bit isn't quite right, as it normally is tweaked by an application called conn_init before bringing up the wifi remoteproc. However, with this and some manual tweaks at runtime I do get the remoteproc popping up and wpa_supplicant starts to work. Unfortunately wpa_supplicant then crashes. Need to figure out how to integrate the conn_init here so edit this file. Signed-off-by: John Stultz <john.stultz@linaro.org> --- device.mk | 14 ++++++++++++++ 1 file changed, 14 insertions(+) -- 1.9.1