################################################################################
#
# qcacld
#
################################################################################

QCACLD_VERSION = IMX_CNSS.LEA.NRT_2.0
QCACLD_SITE = https://source.codeaurora.org/external/imx/qcacld-2.0-imx
QCACLD_SITE_METHOD = git
QCACLD_LICENSE = ISC
QCACLD_FILES = COPYING
QCACLD_MODULE_MAKE_OPTS = \
        CONFIG_CFG80211_INTERNAL_REGDB=y \
        CONFIG_HDD_WLAN_WAIT_TIME=10000 \
	CONFIG_LINUX_QCMBR=y \
	CONFIG_NON_QC_PLATFORM=y \
	CONFIG_PMF_SUPPORT=y \
	TARGET_BUILD_VARIANT=user \
	CONFIG_ROME_IF=pci \
	CONFIG_WLAN_FEATURE_11W=y \
	CONFIG_WLAN_FEATURE_FILS=y \
	CONFIG_WLAN_WAPI_MODE_11AC_DISABLE=y \
	MODNAME=qca6174

define KERNEL_MODULE_BUILD_CMDS
        $(MAKE) -C '$(@D)' KERNEL_SRC='$(LINUX_DIR)' CC='$(TARGET_CC)' LD='$(TARGET_LD)' modules
endef

$(eval $(kernel-module))
$(eval $(generic-package))