mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
Revert "qcacld-3.0: Refactor Kbuild to add profile support"
This reverts commit Ic9eb552c183143b4a2e0738c52b2e0c50db63a93. Change-Id: I45f232d2ed003de5ffebb2865815ec9f06f9f775 CRs-Fixed: 2200122
This commit is contained in:
parent
60b5fe20cc
commit
a2c18de55c
18 changed files with 433 additions and 461 deletions
|
|
@ -1,204 +0,0 @@
|
|||
|
||||
# Make WLAN as open-source driver by default
|
||||
WLAN_OPEN_SOURCE := 1
|
||||
|
||||
#Whether to build debug version
|
||||
BUILD_DEBUG_VERSION := 1
|
||||
|
||||
#Enable this flag to build driver in diag version
|
||||
BUILD_DIAG_VERSION := 1
|
||||
|
||||
#Enable OL debug and wmi unified functions
|
||||
CONFIG_ATH_PERF_PWR_OFFLOAD := 1
|
||||
|
||||
#Disable packet log
|
||||
CONFIG_REMOVE_PKT_LOG := 0
|
||||
|
||||
#Enable power management suspend/resume functionality to PCI
|
||||
CONFIG_ATH_BUS_PM := 1
|
||||
|
||||
#Enable FLOWMAC module support
|
||||
CONFIG_ATH_SUPPORT_FLOWMAC_MODULE := 0
|
||||
|
||||
#Enable spectral support
|
||||
CONFIG_ATH_SUPPORT_SPECTRAL := 0
|
||||
|
||||
#Enable HOST statistics support
|
||||
CONFIG_SUPPORT_HOST_STATISTICS := 0
|
||||
|
||||
#Enable WDI Event support
|
||||
CONFIG_WDI_EVENT_ENABLE := 1
|
||||
|
||||
#Endianess selection
|
||||
CONFIG_LITTLE_ENDIAN := 1
|
||||
|
||||
#Enable TX reclaim support
|
||||
CONFIG_TX_CREDIT_RECLAIM_SUPPORT := 0
|
||||
|
||||
#Enable FTM support
|
||||
CONFIG_QCA_WIFI_FTM := 1
|
||||
|
||||
#Enable Checksum Offload
|
||||
CONFIG_CHECKSUM_OFFLOAD := 1
|
||||
|
||||
#Enable GTK offload
|
||||
CONFIG_GTK_OFFLOAD := 1
|
||||
|
||||
#Enable Signed firmware support for split binary format
|
||||
CONFIG_QCA_SIGNED_SPLIT_BINARY_SUPPORT := 0
|
||||
|
||||
#Enable single firmware binary format
|
||||
CONFIG_QCA_SINGLE_BINARY_SUPPORT := 0
|
||||
|
||||
#Enable collecting target RAM dump after kernel panic
|
||||
CONFIG_TARGET_RAMDUMP_AFTER_KERNEL_PANIC := 1
|
||||
|
||||
#Flag to enable/disable secure firmware feature
|
||||
CONFIG_FEATURE_SECURE_FIRMWARE := 0
|
||||
|
||||
#Flag to enable Stats Ext implementation
|
||||
CONFIG_FEATURE_STATS_EXT := 1
|
||||
|
||||
#Enable OS specific IRQ abstraction
|
||||
CONFIG_ATH_SUPPORT_SHARED_IRQ := 1
|
||||
|
||||
#Whether have QMI support
|
||||
CONFIG_QMI_SUPPORT := 1
|
||||
|
||||
#Set this to 1 to catch erroneous Target accesses during debug.
|
||||
CONFIG_ATH_PCIE_ACCESS_DEBUG := 0
|
||||
|
||||
CONFIG_QCACLD_FEATURE_GREEN_AP := y
|
||||
|
||||
CONFIG_FEATURE_EPPING := y
|
||||
|
||||
#Flag to enable Legacy Fast Roaming2(LFR2)
|
||||
CONFIG_QCACLD_WLAN_LFR2 := y
|
||||
|
||||
CONFIG_MPC_UT_FRAMEWORK := y
|
||||
|
||||
#Flag to enable offload packets feature
|
||||
CONFIG_WLAN_OFFLOAD_PACKETS := y
|
||||
|
||||
#enable TSF get feature
|
||||
CONFIG_WLAN_SYNC_TSF := y
|
||||
|
||||
# Flag to enable LFR Subnet Detection
|
||||
CONFIG_LFR_SUBNET_DETECTION := y
|
||||
|
||||
# Flag to enable MCC to SCC switch feature
|
||||
CONFIG_MCC_TO_SCC_SWITCH := y
|
||||
|
||||
#Flag to enable Fast Transition (11r) feature
|
||||
CONFIG_QCOM_VOWIFI_11R := y
|
||||
|
||||
#Flag to enable FILS Feature (11ai)
|
||||
CONFIG_WLAN_FEATURE_FILS := y
|
||||
|
||||
#Flag to enable Protected Managment Frames (11w) feature
|
||||
CONFIG_WLAN_FEATURE_11W := y
|
||||
|
||||
CONFIG_FEATURE_HTC_CREDIT_HISTORY := 1
|
||||
|
||||
ifneq ($(DEVELOPER_DISABLE_BUILD_TIMESTAMP),y)
|
||||
ifneq ($(WLAN_DISABLE_BUILD_TAG),y)
|
||||
CONFIG_BUILD_TAG := y
|
||||
endif
|
||||
endif
|
||||
|
||||
#Flag to enable Legacy Fast Roaming3(LFR3)
|
||||
ifneq ($(CONFIG_ARCH_SDX20), y)
|
||||
CONFIG_QCACLD_WLAN_LFR3 := y
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_ARCH_MSM8998), y)
|
||||
CONFIG_QCACLD_FEATURE_METERING := y
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_ARCH_SDM660), y)
|
||||
CONFIG_QCACLD_FEATURE_METERING := y
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_ARCH_SDM630), y)
|
||||
CONFIG_QCACLD_FEATURE_METERING := y
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_ARCH_SDM845), y)
|
||||
CONFIG_QCACLD_FEATURE_METERING := y
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_ARCH_SDM670), y)
|
||||
CONFIG_QCACLD_FEATURE_METERING := y
|
||||
endif
|
||||
|
||||
# As per target team, build is done as follows:
|
||||
# Defconfig : build with default flags
|
||||
# Slub : defconfig + CONFIG_SLUB_DEBUG=y +
|
||||
# CONFIG_SLUB_DEBUG_ON=y + CONFIG_PAGE_POISONING=y
|
||||
# Perf : Using appropriate msmXXXX-perf_defconfig
|
||||
#
|
||||
# Shipment builds (user variants) should not have any debug feature
|
||||
# enabled. This is identified using 'TARGET_BUILD_VARIANT'. Slub builds
|
||||
# are identified using the CONFIG_SLUB_DEBUG_ON configuration. Since
|
||||
# there is no other way to identify defconfig builds, QCOMs internal
|
||||
# representation of perf builds (identified using the string 'perf'),
|
||||
# is used to identify if the build is a slub or defconfig one. This
|
||||
# way no critical debug feature will be enabled for perf and shipment
|
||||
# builds. Other OEMs are also protected using the TARGET_BUILD_VARIANT
|
||||
# config.
|
||||
ifneq ($(TARGET_BUILD_VARIANT),user)
|
||||
ifeq ($(CONFIG_ARCH),lithium)
|
||||
CONFIG_FEATURE_PKTLOG := n
|
||||
else
|
||||
CONFIG_FEATURE_PKTLOG := y
|
||||
endif
|
||||
endif
|
||||
|
||||
#Enable IPA offload
|
||||
ifeq ($(CONFIG_IPA), y)
|
||||
CONFIG_IPA_OFFLOAD := 1
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_IPA3), y)
|
||||
CONFIG_IPA_OFFLOAD := 1
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_CFG80211),y)
|
||||
HAVE_CFG80211 := 1
|
||||
else
|
||||
ifeq ($(CONFIG_CFG80211),m)
|
||||
HAVE_CFG80211 := 1
|
||||
else
|
||||
HAVE_CFG80211 := 0
|
||||
endif
|
||||
endif
|
||||
|
||||
#### Data Path Features ###
|
||||
ifeq ($(WLAN_FEATURE_LL_DATA_PATH), 1)
|
||||
|
||||
ifneq ($(CONFIG_ARCH), rome)
|
||||
CONFIG_FEATURE_TSO := y
|
||||
CONFIG_FEATURE_TSO_DEBUG := y
|
||||
# Flag to enable LRO (Large Receive Offload)
|
||||
ifeq ($(CONFIG_INET_LRO), y)
|
||||
CONFIG_WLAN_LRO := y
|
||||
else
|
||||
CONFIG_WLAN_LRO := n
|
||||
endif
|
||||
CONFIG_WLAN_TX_FLOW_CONTROL_V2 := y
|
||||
endif
|
||||
|
||||
#Flag to enable Fast Path feature
|
||||
CONFIG_WLAN_FASTPATH := y
|
||||
|
||||
# Flag to enable NAPI
|
||||
CONFIG_WLAN_NAPI := y
|
||||
CONFIG_WLAN_NAPI_DEBUG := n
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_PROFILE),auto)
|
||||
ifeq ($(CONFIG_INTF),sdio)
|
||||
CONFIG_WLAN_FEATURE_DSRC := y
|
||||
endif
|
||||
endif
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
|
||||
CONFIG_HELIUMPLUS := y
|
||||
|
||||
CONFIG_64BIT_PADDR := y
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
|
||||
CONFIG_WLAN_FEATURE_11AX := y
|
||||
|
||||
# enable unit-test suspend for napier builds
|
||||
CONFIG_FEATURE_UNIT_TEST_SUSPEND := 1
|
||||
|
||||
CONFIG_WLAN_FEATURE_DFS_OFFLOAD := y
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
CONFIG_WLAN_LOG_FATAL := y
|
||||
CONFIG_WLAN_LOG_ERROR := y
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
|
||||
include $(src)/configs/debug/production_debug
|
||||
|
||||
PANIC_ON_BUG := 1
|
||||
|
||||
WLAN_WARN_ON_ASSERT := 1
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
|
||||
include $(src)/configs/debug/low_mem_debug
|
||||
|
||||
CONFIG_WLAN_LOG_WARN := y
|
||||
CONFIG_WLAN_LOG_INFO := y
|
||||
CONFIG_WLAN_LOG_DEBUG := y
|
||||
|
||||
CONFIG_TRACE_RECORD_FEATURE := 1
|
||||
|
||||
#Enable WLAN/Power debugfs feature only if debug_fs is enabled
|
||||
ifeq ($(CONFIG_DEBUG_FS), y)
|
||||
# Flag to enable debugfs. Depends on CONFIG_DEBUG_FS in kernel
|
||||
# configuration.
|
||||
CONFIG_WLAN_DEBUGFS := y
|
||||
|
||||
CONFIG_WLAN_POWER_DEBUGFS := y
|
||||
endif
|
||||
|
||||
PANIC_ON_BUG := 0
|
||||
|
||||
WLAN_WARN_ON_ASSERT := 0
|
||||
|
||||
#Flag to enable p2p debug feature
|
||||
CONFIG_WLAN_FEATURE_P2P_DEBUG := 1
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
|
||||
include $(src)/configs/debug/perf_debug
|
||||
|
||||
CONFIG_WLAN_OBJMGR_DEBUG:= y
|
||||
# enable unit-test suspend for SLUB debug builds
|
||||
CONFIG_FEATURE_UNIT_TEST_SUSPEND := 1
|
||||
|
||||
CONFIG_LEAK_DETECTION := 1
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
|
||||
#Enable Low Latency Data Path
|
||||
WLAN_FEATURE_LL_DATA_PATH := 1
|
||||
|
||||
#Enable 11AC TX
|
||||
CONFIG_ATH_11AC_TXCOMPACT := 1
|
||||
|
||||
CONFIG_HIF_PCI := 1
|
||||
|
||||
CONFIG_EXT_WOW := 1
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
|
||||
#Enable High Latency Data Path
|
||||
WLAN_FEATURE_HL_DATA_PATH := 1
|
||||
|
||||
CONFIG_HIF_SDIO := 1
|
||||
|
||||
ifeq ($(CONFIG_ARCH_MSM8917), y)
|
||||
CONFIG_WLAN_SYNC_TSF_PLUS := y
|
||||
endif
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
|
||||
#Enable Low Latency Data Path
|
||||
WLAN_FEATURE_LL_DATA_PATH := 1
|
||||
|
||||
CONFIG_HIF_SNOC:= 1
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
|
||||
#Flag to enable the tx desc sanity check
|
||||
CONFIG_QCA_TXDESC_SANITY_CHECKS := y
|
||||
|
||||
#Enable High Latency Data Path
|
||||
WLAN_FEATURE_HL_DATA_PATH := 1
|
||||
|
||||
CONFIG_ATH_11AC_TXCOMPACT := 0
|
||||
|
||||
CONFIG_HIF_USB := 1
|
||||
|
||||
CONFIG_PLD_USB_CNSS := y
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
|
||||
##########################################
|
||||
# Features not enabled for mobile router
|
||||
|
||||
# Enable TDLS Feature
|
||||
CONFIG_QCOM_TDLS := y
|
||||
|
||||
CONFIG_QCACLD_FEATURE_NAN := y
|
||||
CONFIG_WLAN_FEATURE_NAN_DATAPATH := y
|
||||
CONFIG_NAN_CONVERGENCE := y
|
||||
|
||||
CONFIG_QCOM_ESE := y
|
||||
|
||||
CONFIG_QCA_IBSS_SUPPORT := 1
|
||||
|
||||
#Flag to enable LPSS feature
|
||||
CONFIG_WLAN_FEATURE_LPSS := y
|
||||
##########################################
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
|
||||
##########################################
|
||||
# Features not enabled for mobile router
|
||||
|
||||
# Enable TDLS Feature
|
||||
CONFIG_QCOM_TDLS := y
|
||||
|
||||
CONFIG_QCACLD_FEATURE_NAN := y
|
||||
CONFIG_WLAN_FEATURE_NAN_DATAPATH := y
|
||||
CONFIG_NAN_CONVERGENCE := y
|
||||
|
||||
CONFIG_QCOM_ESE := y
|
||||
|
||||
CONFIG_QCA_IBSS_SUPPORT := 1
|
||||
##########################################
|
||||
|
|
@ -1,29 +0,0 @@
|
|||
|
||||
##########################################
|
||||
# Features not enabled for mobile router
|
||||
|
||||
# Enable TDLS Feature
|
||||
CONFIG_QCOM_TDLS := y
|
||||
|
||||
CONFIG_QCACLD_FEATURE_NAN := y
|
||||
CONFIG_WLAN_FEATURE_NAN_DATAPATH := y
|
||||
CONFIG_NAN_CONVERGENCE := y
|
||||
|
||||
CONFIG_QCOM_ESE := y
|
||||
|
||||
CONFIG_QCA_IBSS_SUPPORT := 1
|
||||
|
||||
#Flag to enable LPSS feature
|
||||
CONFIG_WLAN_FEATURE_LPSS := y
|
||||
##########################################
|
||||
|
||||
#Flag to enable DISA
|
||||
CONFIG_WLAN_FEATURE_DISA := y
|
||||
|
||||
#Flag to enable FIPS
|
||||
CONFIG_WLAN_FEATURE_FIPS := y
|
||||
|
||||
#Flag to enable SAE
|
||||
CONFIG_WLAN_FEATURE_SAE := y
|
||||
|
||||
CONFIG_QCOM_LTE_COEX := y
|
||||
Loading…
Reference in a new issue