qcacld-3.0: Change wlan defconfig to support cnss2 as dlkm

Tune the configure items to support cnss2 as dynamic loadable
kernel module.

Change-Id: I848f22fe54e1c8539422c7d0b3f0f2868ed5ead9
CRs-Fixed: 2546266
This commit is contained in:
Guisen Yang 2019-10-16 10:41:04 +08:00 committed by nshrivas
parent f9c58dd922
commit 398679d975
3 changed files with 57 additions and 0 deletions

View File

@ -111,6 +111,13 @@ CONFIG_PLD_PCIE_INIT_FLAG := y
endif
endif
ifeq ($(CONFIG_CNSS2), m)
ifeq ($(CONFIG_HIF_PCI), y)
CONFIG_PLD_PCIE_CNSS_FLAG := y
CONFIG_PLD_PCIE_INIT_FLAG := y
endif
endif
CONFIG_QCA_WIFI_FTM := y
ifeq ($(CONFIG_NL80211_TESTMODE), y)
QCA_WIFI_FTM_NL80211 :=y

View File

@ -20,6 +20,13 @@ ifndef CONFIG_ROME_IF
endif
endif
ifeq (m,$(findstring m,$(CONFIG_CNSS) $(CONFIG_CNSS2)))
ifndef CONFIG_ROME_IF
#use pci as default interface
CONFIG_ROME_IF = pci
endif
endif
# Make WLAN as open-source driver by default
WLAN_OPEN_SOURCE := y
@ -137,6 +144,17 @@ ifneq ($(CONFIG_QCA_CLD_WLAN),)
CONFIG_WLAN_FEATURE_LPSS := y
endif
endif
ifeq (m,$(findstring m,$(CONFIG_CNSS2)))
#Flag to enable Protected Management Frames (11w) feature
CONFIG_WLAN_FEATURE_11W := y
#Flag to enable LTE CoEx feature
CONFIG_QCOM_LTE_COEX := y
ifneq ($(CONFIG_MOBILE_ROUTER), y)
#Flag to enable LPSS feature
CONFIG_WLAN_FEATURE_LPSS := y
endif
endif
endif
#Flag to enable Protected Management Frames (11w) feature
@ -705,6 +723,13 @@ CONFIG_PLD_PCIE_INIT_FLAG := y
endif
endif
ifeq ($(CONFIG_CNSS2), m)
ifeq ($(CONFIG_HIF_PCI), y)
CONFIG_PLD_PCIE_CNSS_FLAG := y
CONFIG_PLD_PCIE_INIT_FLAG := y
endif
endif
#Enable STATE MACHINE HISTORY
CONFIG_SM_ENG_HIST := n

View File

@ -45,6 +45,13 @@ ifndef CONFIG_ROME_IF
endif
endif
ifeq (m,$(findstring m,$(CONFIG_CNSS) $(CONFIG_CNSS2)))
ifndef CONFIG_ROME_IF
#use pci as default interface
CONFIG_ROME_IF = pci
endif
endif
# Make WLAN as open-source driver by default
WLAN_OPEN_SOURCE := y
@ -162,6 +169,17 @@ ifneq ($(CONFIG_QCA_CLD_WLAN),)
CONFIG_WLAN_FEATURE_LPSS := y
endif
endif
ifeq (m,$(findstring m,$(CONFIG_CNSS2)))
#Flag to enable Protected Management Frames (11w) feature
CONFIG_WLAN_FEATURE_11W := y
#Flag to enable LTE CoEx feature
CONFIG_QCOM_LTE_COEX := y
ifneq ($(CONFIG_MOBILE_ROUTER), y)
#Flag to enable LPSS feature
CONFIG_WLAN_FEATURE_LPSS := y
endif
endif
endif
#Flag to enable Protected Management Frames (11w) feature
@ -745,6 +763,13 @@ CONFIG_PLD_PCIE_INIT_FLAG := y
endif
endif
ifeq ($(CONFIG_CNSS2), m)
ifeq ($(CONFIG_HIF_PCI), y)
CONFIG_PLD_PCIE_CNSS_FLAG := y
CONFIG_PLD_PCIE_INIT_FLAG := y
endif
endif
#Enable STATE MACHINE HISTORY
CONFIG_SM_ENG_HIST := n