qcacld-3.0: Add support for QMI component

Add support for QMI component.

Change-Id: I63735800ea1166e875ff12bfd22df3c3d9c6312f
CRs-Fixed: 3337043
This commit is contained in:
Yeshwanth Sriram Guntuka
2022-11-15 11:45:19 +05:30
committed by Madan Koyyalamudi
vanhempi ec079fcb49
commit d2cc52d5ae
11 muutettua tiedostoa jossa 827 lisäystä ja 0 poistoa

23
Kbuild
Näytä tiedosto

@@ -2578,6 +2578,26 @@ $(call add-wlan-objs,dp_comp,$(WLAN_DP_COMP_OBJS))
#######################################################
######################### QMI_COMPONENT #########################
QMI_COMP_CORE_DIR := components/qmi/core/src
QMI_COMP_UCFG_DIR := components/qmi/dispatcher/src
QMI_COMP_OS_IF_DIR := os_if/qmi/src
QMI_COMP_INC := -I$(WLAN_ROOT)/components/qmi/core/inc \
-I$(WLAN_ROOT)/components/qmi/core/src \
-I$(WLAN_ROOT)/components/qmi/dispatcher/inc \
-I$(WLAN_ROOT)/os_if/qmi/inc
ifeq ($(CONFIG_QMI_COMPONENT_ENABLE), y)
WLAN_QMI_COMP_OBJS := $(QMI_COMP_CORE_DIR)/wlan_qmi_main.o \
$(QMI_COMP_UCFG_DIR)/wlan_qmi_ucfg_api.o \
$(QMI_COMP_OS_IF_DIR)/os_if_qmi.o
endif
$(call add-wlan-objs,qmi_comp,$(WLAN_QMI_COMP_OBJS))
#######################################################
######################### SON #########################
#SON_CORE_DIR := components/son/core/src
#SON_CORE_INC := -I$(WLAN_ROOT)/components/son/core/inc
@@ -3129,6 +3149,8 @@ INCS += $(NAN_TGT_INC)
INCS += $(NAN_OS_IF_INC)
###########DP_COMPONENT ####################
INCS += $(DP_COMP_INC)
###########QMI_COMPONENT ####################
INCS += $(QMI_COMP_INC)
################ SON ################
INCS += $(SON_CORE_INC)
INCS += $(SON_UCFG_INC)
@@ -4265,6 +4287,7 @@ cppflags-$(CONFIG_WLAN_TRACEPOINTS) += -DWLAN_TRACEPOINTS
cppflags-$(CONFIG_QCACLD_FEATURE_SON) += -DFEATURE_PERPKT_INFO
cppflags-$(CONFIG_QCACLD_FEATURE_SON) += -DQCA_ENHANCED_STATS_SUPPORT
cppflags-$(CONFIG_QMI_COMPONENT_ENABLE) += -DQMI_COMPONENT_ENABLE
ifdef CONFIG_MAX_LOGS_PER_SEC
ccflags-y += -DWLAN_MAX_LOGS_PER_SEC=$(CONFIG_MAX_LOGS_PER_SEC)