diff --git a/Android.mk b/Android.mk index 7ba9f51..e8132d8 100644 --- a/Android.mk +++ b/Android.mk @@ -44,16 +44,22 @@ $(LOCAL_BUILT_MODULE): WCNSS_INI_SYMLINK := $(TARGET_OUT)/etc/firmware/wlan/prim $(LOCAL_BUILT_MODULE): ACTUAL_BIN_FILE := /persist/WCNSS_qcom_wlan_nv.bin $(LOCAL_BUILT_MODULE): WCNSS_BIN_SYMLINK := $(TARGET_OUT)/etc/firmware/wlan/prima/WCNSS_qcom_wlan_nv.bin +$(LOCAL_BUILT_MODULE): ACTUAL_MODULE_FILE := /system/lib/modules/pronto/pronto_wlan.ko +$(LOCAL_BUILT_MODULE): WCNSS_MODULE_SYMLINK := $(TARGET_OUT)/lib/modules/wlan.ko + $(LOCAL_BUILT_MODULE): $(LOCAL_PATH)/Android.mk $(LOCAL_BUILT_MODULE): $(hide) echo "Making symlinks for wifi" $(hide) mkdir -p $(dir $@) $(hide) mkdir -p $(dir $(WCNSS_INI_SYMLINK)) + $(hide) mkdir -p $(dir $(WCNSS_MODULE_SYMLINK)) $(hide) rm -rf $@ $(hide) rm -rf $(WCNSS_INI_SYMLINK) $(hide) ln -sf $(ACTUAL_INI_FILE) $(WCNSS_INI_SYMLINK) $(hide) rm -rf $(WCNSS_BIN_SYMLINK) $(hide) ln -sf $(ACTUAL_BIN_FILE) $(WCNSS_BIN_SYMLINK) + $(hide) rm -rf $(WCNSS_MODULE_SYMLINK) + $(hide) ln -sf $(ACTUAL_MODULE_FILE) $(WCNSS_MODULE_SYMLINK) $(hide) touch $@ include $(call all-makefiles-under,$(LOCAL_PATH)) diff --git a/board/qcom-wlan.mk b/board/qcom-wlan.mk index dcc000a..14075e0 100644 --- a/board/qcom-wlan.mk +++ b/board/qcom-wlan.mk @@ -13,5 +13,7 @@ TARGET_USES_QCOM_WCNSS_QMI := true WIFI_DRIVER_FW_PATH_AP := "ap" WIFI_DRIVER_FW_PATH_STA := "sta" +WIFI_DRIVER_MODULE_NAME := "wlan" +WIFI_DRIVER_MODULE_PATH := "/system/lib/modules/wlan.ko" WPA_SUPPLICANT_VERSION := VER_0_8_X diff --git a/proprietary-files.txt b/proprietary-files.txt index fb77a3a..2ce9169 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -813,3 +813,4 @@ vendor/lib/mediadrm/libwvdrmengine.so # Wifi bin/cnss-daemon bin/cnss_diag +lib/modules/pronto/pronto_wlan.ko