diff --git a/configs/default_defconfig b/configs/default_defconfig index c0a32f0175f8..fd8410855fdf 100644 --- a/configs/default_defconfig +++ b/configs/default_defconfig @@ -46,6 +46,13 @@ ifndef CONFIG_ROME_IF endif endif +ifeq (m,$(findstring m,$(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 @@ -185,6 +192,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 @@ -824,6 +842,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