1 /** @file mlan_main_defs.h 2 * 3 * @brief This file contains common definitions for SDIO. 4 * 5 * Copyright 2022-2023 NXP 6 * 7 * SPDX-License-Identifier: BSD-3-Clause 8 * 9 */ 10 /**************************************************** 11 Change log: 12 ****************************************************/ 13 14 #ifndef _MLAN_MAIN_DEFS_H_ 15 #define _MLAN_MAIN_DEFS_H_ 16 17 #if defined(SD8801) 18 /** Maximum numbfer of registers to read for multiple port */ 19 #define MAX_MP_REGS 64 20 /** Maximum port */ 21 #define MAX_PORT 16 22 /** Multi port aggregation packet limit */ 23 #define SDIO_MP_AGGR_DEF_PKT_LIMIT (4U) 24 /** Multi port aggregation max packet limit */ 25 #define SDIO_MP_AGGR_DEF_PKT_LIMIT_MAX (8U) 26 #elif defined(SD8978) || defined(SD8987) || defined(SD8997) || defined(SD9097) || defined(SD9098) || defined(SD9177) 27 /** Maximum numbfer of registers to read for multiple port */ 28 #define MAX_MP_REGS 196 29 /** Maximum port */ 30 #define MAX_PORT 32U 31 /** Multi port aggregation packet limit */ 32 #if defined(SD9177) && (CONFIG_WMM) 33 #define SDIO_MP_AGGR_DEF_PKT_LIMIT (8U) 34 #else 35 #define SDIO_MP_AGGR_DEF_PKT_LIMIT (4U) 36 #endif 37 /** Multi port aggregation max packet limit */ 38 #define SDIO_MP_AGGR_DEF_PKT_LIMIT_MAX (16U) 39 #endif 40 41 #endif //_MLAN_MAIN_DEFS_H_ 42