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 <jyotiraditya@aospa.co>
This commit is contained in:
Jyotiraditya Panda 2024-08-19 20:48:45 +05:30 committed by Omkar Chandorkar
parent 448122c89e
commit 40545ee65d
No known key found for this signature in database
1 changed files with 4 additions and 0 deletions

View File

@ -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"