luckfox-pico-sdk/sysdrv/drv_ko/wifi/ssv6x5x/config_common.mak
2023-08-08 20:36:47 +08:00

101 lines
3.1 KiB
Makefile

CONFIG_SSV6X5X=m
#ccflags-y += -DCONFIG_SSV6200_CORE
#CONFIG_MAC80211_LEDS=y
#CONFIG_MAC80211_DEBUGFS=y
#CONFIG_MAC80211_MESH=y
CONFIG_PM=y
CONFIG_MAC80211_RC_MINSTREL=y
CONFIG_MAC80211_RC_MINSTREL_HT=y
#ccflags-y += -D_ICOMM_MAC80211_
#ccflags-y += -D__CHECK_ENDIAN__ -DDEBUG
ccflags-y += -D__CHECK_ENDIAN__
###########################################################################
# Compiler options #
###########################################################################
ccflags-y += -Werror
# Enable -g to help debug. Deassembly from .o to .S would help to track to
# the problomatic line from call stack dump.
#ccflags-y += -g
#########################################################
# option enable shal
ccflags-y += -DSSV_SUPPORT_SSV6006
############################################################
# Options interface #
############################################################
#ccflags-y += -DSSV_SUPPORT_SDIO
ccflags-y += -DSSV_SUPPORT_USB
############################################################
# If you change the settings, please change the file synchronization
# smac\firmware\include\config.h & compiler firmware
############################################################
#ccflags-y += -DSDIO_USE_SLOW_CLOCK
#ccflags-y += -DCONFIG_SSV6200_CLI_ENABLE
############################################################
# Options should be able to set as parameters. #
############################################################
#ccflags-y += -DCONFIG_SSV6XXX_HW_DEBUG
#######################################################
ccflags-y += -DCONFIG_SSV6200_HAS_RX_WORKQUEUE
ccflags-y += -DUSE_THREAD_RX
# Generic decision table applicable to both AP and STA modes.
ccflags-y += -DUSE_GENERIC_DECI_TBL
########################################################
## The following definition move to indivdual platform
## should not enable again here.
#ccflags-y += -DCONFIG_SSV6XXX_DEBUGFS
#### end of move to individual platform
#ccflags-y += -DENABLE_WAKE_IO_ISR_WHEN_HCI_ENQUEUE
#enable smart icomm
ccflags-y += -DCONFIG_SSV_CTL
#enable USB LPM function
#ccflags-y += -DSSV_SUPPORT_USB_LPM
# Don't use stack for sdio_memcpy_xxx()
ccflags-y += -DCONFIG_MMC_DISALLOW_STACK
# Process HWIF SDIO Rx interrupt directly in function which is called by kernel, instead of work queue.
#ccflags-y += -DHWIF_SDIO_RX_IRQ
ccflags-y += -DCONFIG_FW_ALIGNMENT_CHECK
# Filter out beacon and probe request while STA connected (NOT for concurrence mode)
ccflags-y += -DCONFIG_STA_BCN_FILTER
#ccflags-y += -DCONFIG_SSV_USE_SDIO_DAT1_AS_INT
# Skip Tx while there is SDIO interrupt status has Rx
ccflags-y += -DCONFIG_SDIO_FAVOR_RX
# support hw scan
ccflags-y += -DCONFIG_HW_SCAN
# support USB multi tx urb
ccflags-y += -DCONFIG_USB_TX_MULTI_URB
# Disable Debug Message
#ccflags-y += -DCONFIG_ENABLE_DBGMSG
# Enable CLI debug tool
#ccflags-y += -DCONFIG_ENABLE_CLI_DBG_TOOL
# host THERMAL
#ccflags-y += -DCONFIG_ENABLE_HOST_THERMAL
# support ACS
#ccflags-y += -DCONFIG_ENABLE_ACS_FUNC