From 40545ee65d8951c50bc75415b69fe1d33971960a Mon Sep 17 00:00:00 2001 From: Jyotiraditya Panda Date: Mon, 19 Aug 2024 20:48:45 +0530 Subject: [PATCH] wlan: Add additional generic flags for DLKM compatibility - These new flags are necessary for DLKM builds. They weren't previously required because most developers integrated WLAN drivers directly into the kernel tree and used the kernel's module building process. - Adding these flags provides better support for DLKM builds without affecting existing in-tree builds. Change-Id: I595834bdfe0fd12df323403612da10200d1e24cc Signed-off-by: Jyotiraditya Panda --- vendor/wlan/qti-wlan.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vendor/wlan/qti-wlan.mk b/vendor/wlan/qti-wlan.mk index c0683ef5..14f0dd0e 100644 --- a/vendor/wlan/qti-wlan.mk +++ b/vendor/wlan/qti-wlan.mk @@ -17,11 +17,15 @@ PRODUCT_SOONG_NAMESPACES += \ TARGET_WLAN_COMPONENT_VARIANT := wlan +BOARD_HAS_QCOM_WLAN := true BOARD_WLAN_DEVICE := qcwcn BOARD_HOSTAPD_DRIVER := NL80211 BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_$(BOARD_WLAN_DEVICE) BOARD_WPA_SUPPLICANT_DRIVER := NL80211 BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_$(BOARD_WLAN_DEVICE) +WIFI_DRIVER_BUILT := qca_cld3 +WIFI_DRIVER_DEFAULT := qca_cld3 +WIFI_DRIVER_INSTALL_TO_KERNEL_OUT := true WIFI_DRIVER_STATE_CTRL_PARAM := "/dev/wlan" WIFI_DRIVER_STATE_ON := "ON" WIFI_DRIVER_STATE_OFF := "OFF"