1 /* 2 * Copyright 2020-2022 NXP 3 * All rights reserved. 4 * 5 * SPDX-License-Identifier: BSD-3-Clause 6 */ 7 8 #ifndef _WIFI_CONFIG_H_ 9 #define _WIFI_CONFIG_H_ 10 11 #define CONFIG_WIFI_MAX_PRIO (configMAX_PRIORITIES - 1) 12 13 #ifndef RW610 14 #define CONFIG_MAX_AP_ENTRIES 10 15 #endif 16 17 #if defined(SD8978) || defined(SD8987) || defined(RW610) 18 #define CONFIG_MAX_AP_ENTRIES 30 19 #endif 20 21 #if defined(SD8977) || defined(SD8978) || defined(SD8987) || defined(IW61x) || defined(RW610) 22 #define CONFIG_5GHz_SUPPORT 1 23 #endif 24 25 #ifndef RW610 26 #define CONFIG_SDIO_MULTI_PORT_RX_AGGR 1 27 #endif 28 29 #if defined(SD8987) || defined(RW610) || defined(IW61x) 30 #define CONFIG_11AC 31 #undef CONFIG_WMM 32 #endif 33 34 #if defined(RW610) 35 #define PRINTF_FLOAT_ENABLE 1 36 #define CONFIG_11AX 37 #undef CONFIG_IMU_GDMA 38 /* WMM options */ 39 #define CONFIG_WMM 40 #define CONFIG_WMM_ENH 41 #undef CONFIG_WMM_CERT 42 #undef AMSDU_IN_AMPDU 43 /* OWE mode */ 44 #undef CONFIG_OWE 45 /* WLAN SCAN OPT */ 46 #define CONFIG_SCAN_WITH_RSSIFILTER 47 /* WLAN white/black list opt */ 48 #define CONFIG_UAP_STA_MAC_ADDR_FILTER 49 #define CONFIG_COMBO_SCAN 50 #define CONFIG_WIFI_DTIM_PERIOD 51 #define CONFIG_UART_INTERRUPT 52 #define CONFIG_WIFI_CAPA 53 #define CONFIG_WIFI_RTS_THRESHOLD 54 #define CONFIG_WIFI_FRAG_THRESHOLD 55 #define CONFIG_WIFI_11D_ENABLE 56 #define CONFIG_WIFI_HIDDEN_SSID 57 #define CONFIG_WIFI_MAX_CLIENTS_CNT 58 #define CONFIG_WMM_UAPSD 59 #define CONFIG_WIFI_GET_LOG 60 #define CONFIG_WIFI_TX_PER_TRACK 61 #define CONFIG_ROAMING 62 #define CONFIG_HOST_SLEEP 63 #ifdef CONFIG_POWER_MANAGER 64 #undef CONFIG_POWER_MANAGER 65 #endif 66 #define CONFIG_CSI 67 #define CONFIG_WIFI_RESET 68 #define CONFIG_NET_MONITOR 69 #define CONFIG_WIFI_MEM_ACCESS 70 #define CONFIG_WIFI_REG_ACCESS 71 #define CONFIG_ECSA 72 #define CONFIG_WIFI_EU_CRYPTO 73 #define CONFIG_EXT_SCAN_SUPPORT 74 #define CONFIG_EVENT_MEM_ACCESS 75 #define CONFIG_11K 76 #define CONFIG_11V 77 #define CONFIG_COMPRESS_TX_PWTBL 78 #define CONFIG_RX_ABORT_CFG 79 #define CONFIG_CCK_DESENSE_CFG 80 #define CONFIG_11AX_TWT 81 #define CONFIG_IPS 82 #define CONFIG_MBO 83 #define WIFI_ADD_ON 1 84 #define CONFIG_UNII4_BAND_SUPPORT 85 #endif 86 87 // #define CONFIG_IPV6 1 88 // #define CONFIG_MAX_IPV6_ADDRESSES 5 89 90 #if defined(IW61x) 91 #define CONFIG_11AX 1 92 #define CONFIG_EXT_SCAN_SUPPORT 1 93 #define CONFIG_OWE 1 94 #undef CONFIG_WIFI_CAPA 95 #undef CONFIG_UNII4_BAND_SUPPORT 96 #endif 97 98 /* Logs */ 99 #define CONFIG_ENABLE_ERROR_LOGS 1 100 #define CONFIG_ENABLE_WARNING_LOGS 1 101 102 /* WLCMGR debug */ 103 #undef CONFIG_WLCMGR_DEBUG 104 105 /* 106 * Wifi extra debug options 107 */ 108 #undef CONFIG_WIFI_EXTRA_DEBUG 109 #undef CONFIG_WIFI_EVENTS_DEBUG 110 #undef CONFIG_WIFI_CMD_RESP_DEBUG 111 #undef CONFIG_WIFI_PKT_DEBUG 112 #undef CONFIG_WIFI_SCAN_DEBUG 113 #undef CONFIG_WIFI_IO_INFO_DUMP 114 #undef CONFIG_WIFI_IO_DEBUG 115 #undef CONFIG_WIFI_IO_DUMP 116 #undef CONFIG_WIFI_MEM_DEBUG 117 #undef CONFIG_WIFI_AMPDU_DEBUG 118 #undef CONFIG_WIFI_TIMER_DEBUG 119 #undef CONFIG_WIFI_SDIO_DEBUG 120 #undef CONFIG_WIFI_FW_DEBUG 121 #undef CONFIG_WPS_DEBUG 122 123 /* 124 * Heap debug options 125 */ 126 #undef CONFIG_HEAP_DEBUG 127 #undef CONFIG_HEAP_STAT 128 129 /* 130 * Heap debug options 131 */ 132 #undef CONFIG_HEAP_DEBUG 133 #undef CONFIG_HEAP_STAT 134 135 #endif /* _WIFI_CONFIG_H_ */ 136