174 lines
3.9 KiB
C
174 lines
3.9 KiB
C
/*
|
|
* Copyright 2020-2022 NXP
|
|
* All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef _WIFI_CONFIG_H_
|
|
#define _WIFI_CONFIG_H_
|
|
|
|
#define CONFIG_WIFI_MAX_PRIO (configMAX_PRIORITIES - 1)
|
|
|
|
#ifndef RW610
|
|
#define CONFIG_MAX_AP_ENTRIES 10
|
|
#else
|
|
#define CONFIG_MAX_AP_ENTRIES 30
|
|
#endif
|
|
|
|
#define CONFIG_MAX_RESCAN_LIMIT 30
|
|
|
|
#if defined(SD8978) || defined(SD8987) || defined(RW610) || defined(SD9177)
|
|
#define CONFIG_5GHz_SUPPORT 1
|
|
#endif
|
|
|
|
#ifndef RW610
|
|
#define CONFIG_SDIO_MULTI_PORT_RX_AGGR 1
|
|
#endif
|
|
|
|
#if defined(SD8987) || defined(RW610) || defined(SD9177)
|
|
#define CONFIG_11AC
|
|
#undef CONFIG_WMM
|
|
#endif
|
|
|
|
#if defined(SD9177)
|
|
#undef CONFIG_WMM
|
|
#undef CONFIG_SDIO_MULTI_PORT_TX_AGGR
|
|
#define CONFIG_COMPRESS_TX_PWTBL
|
|
#define CONFIG_COMPRESS_RU_TX_PWTBL
|
|
#ifdef CONFIG_11AC
|
|
#define CONFIG_11AX
|
|
#endif
|
|
#endif
|
|
|
|
#if defined(RW610)
|
|
#define CONFIG_RW610_A1
|
|
#define CONFIG_11AX
|
|
#undef CONFIG_IMU_GDMA
|
|
/* WMM options */
|
|
#define CONFIG_WMM
|
|
#define CONFIG_WMM_ENH
|
|
#undef CONFIG_WMM_CERT
|
|
#undef AMSDU_IN_AMPDU
|
|
/* OWE mode */
|
|
#undef CONFIG_OWE
|
|
/* WLAN SCAN OPT */
|
|
#define CONFIG_SCAN_WITH_RSSIFILTER
|
|
/* WLAN white/black list opt */
|
|
#define CONFIG_UAP_STA_MAC_ADDR_FILTER
|
|
#define CONFIG_COMBO_SCAN
|
|
#define CONFIG_WIFI_DTIM_PERIOD
|
|
#define CONFIG_UART_INTERRUPT
|
|
#define CONFIG_WIFI_CAPA
|
|
#define CONFIG_WIFI_RTS_THRESHOLD
|
|
#define CONFIG_WIFI_FRAG_THRESHOLD
|
|
#define CONFIG_WIFI_11D_ENABLE
|
|
#define CONFIG_WIFI_HIDDEN_SSID
|
|
#define CONFIG_WIFI_MAX_CLIENTS_CNT
|
|
#define CONFIG_WMM_UAPSD
|
|
#define CONFIG_WIFI_GET_LOG
|
|
#define CONFIG_WIFI_TX_PER_TRACK
|
|
#define CONFIG_ROAMING
|
|
#define CONFIG_HOST_SLEEP
|
|
#define CONFIG_POWER_MANAGER
|
|
#define CONFIG_CSI
|
|
#define CONFIG_WIFI_RESET
|
|
#define CONFIG_NET_MONITOR
|
|
#define CONFIG_WIFI_MEM_ACCESS
|
|
#define CONFIG_WIFI_REG_ACCESS
|
|
#define CONFIG_ECSA
|
|
#define CONFIG_WIFI_EU_CRYPTO
|
|
#define CONFIG_EXT_SCAN_SUPPORT
|
|
#define CONFIG_EVENT_MEM_ACCESS
|
|
#define CONFIG_11K
|
|
#define CONFIG_11V
|
|
#define CONFIG_COMPRESS_TX_PWTBL
|
|
#define CONFIG_RX_ABORT_CFG
|
|
#define CONFIG_RX_ABORT_CFG_EXT
|
|
#define CONFIG_CCK_DESENSE_CFG
|
|
#define CONFIG_11AX_TWT
|
|
#define CONFIG_IPS
|
|
#define CONFIG_MBO
|
|
#define CONFIG_SUBSCRIBE_EVENT_SUPPORT
|
|
#define CONFIG_WIFI_FORCE_RTS
|
|
#define CONFIG_TX_AMPDU_PROT_MODE
|
|
#define CONFIG_EU_VALIDATION
|
|
#define CONFIG_TSP
|
|
#define CONFIG_TX_RX_HISTOGRAM
|
|
#define CONFIG_CLOUD_KEEP_ALIVE
|
|
#define MULTI_BSSID_SUPPORT
|
|
#define CONFIG_TURBO_MODE
|
|
#endif
|
|
|
|
#define PRINTF_FLOAT_ENABLE 1
|
|
|
|
#define CONFIG_IPV6 1
|
|
#define CONFIG_MAX_IPV6_ADDRESSES 3
|
|
|
|
#if defined(SD8978) || defined(SD8987) || defined(SD8801) || defined(SD9177)
|
|
#define CONFIG_WIFI_CAPA 1
|
|
#define CONFIG_ROAMING 1
|
|
#define CONFIG_CLOUD_KEEP_ALIVE 1
|
|
#define CONFIG_TURBO_MODE 1
|
|
#if defined(SD8978) || defined(SD8987)
|
|
#define CONFIG_AUTO_RECONNECT 1
|
|
#undef CONFIG_WIFI_IND_DNLD
|
|
#undef CONFIG_WIFI_IND_RESET
|
|
#endif
|
|
|
|
#if !defined(SD8801)
|
|
#define CONFIG_EXT_SCAN_SUPPORT 1
|
|
#define CONFIG_WIFI_EU_CRYPTO 1
|
|
#if !defined(SD9177)
|
|
#define CONFIG_11R 1
|
|
#endif
|
|
#define CONFIG_OWE 1
|
|
#endif
|
|
|
|
#undef CONFIG_HOST_SLEEP
|
|
#undef CONFIG_MEF_CFG
|
|
#undef CONFIG_FIPS
|
|
|
|
#define CONFIG_11K 1
|
|
#define CONFIG_11V 1
|
|
|
|
#endif
|
|
|
|
/* Logs */
|
|
#define CONFIG_ENABLE_ERROR_LOGS 1
|
|
#define CONFIG_ENABLE_WARNING_LOGS 1
|
|
|
|
/* WLCMGR debug */
|
|
#undef CONFIG_WLCMGR_DEBUG
|
|
|
|
/*
|
|
* Wifi extra debug options
|
|
*/
|
|
#undef CONFIG_WIFI_EXTRA_DEBUG
|
|
#undef CONFIG_WIFI_EVENTS_DEBUG
|
|
#undef CONFIG_WIFI_CMD_RESP_DEBUG
|
|
#undef CONFIG_WIFI_PS_DEBUG
|
|
#undef CONFIG_WIFI_PKT_DEBUG
|
|
#undef CONFIG_WIFI_SCAN_DEBUG
|
|
#undef CONFIG_WIFI_IO_INFO_DUMP
|
|
#undef CONFIG_WIFI_IO_DEBUG
|
|
#undef CONFIG_WIFI_IO_DUMP
|
|
#undef CONFIG_WIFI_MEM_DEBUG
|
|
#undef CONFIG_WIFI_AMPDU_DEBUG
|
|
#undef CONFIG_WIFI_TIMER_DEBUG
|
|
#undef CONFIG_WIFI_FW_DEBUG
|
|
#undef CONFIG_WIFI_UAP_DEBUG
|
|
#undef CONFIG_WPS_DEBUG
|
|
#undef CONFIG_FW_VDLL_DEBUG
|
|
#undef CONFIG_DHCP_SERVER_DEBUG
|
|
#undef CONFIG_WIFI_SDIO_DEBUG
|
|
#undef CONFIG_FWDNLD_IO_DEBUG
|
|
|
|
/*
|
|
* Heap debug options
|
|
*/
|
|
#undef CONFIG_HEAP_DEBUG
|
|
#undef CONFIG_HEAP_STAT
|
|
|
|
#endif /* _WIFI_CONFIG_H_ */
|