1*5113495bSYour Name /* 2*5113495bSYour Name * Copyright (c) 2018-2021 The Linux Foundation. All rights reserved. 3*5113495bSYour Name * Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved. 4*5113495bSYour Name * 5*5113495bSYour Name * Permission to use, copy, modify, and/or distribute this software for 6*5113495bSYour Name * any purpose with or without fee is hereby granted, provided that the 7*5113495bSYour Name * above copyright notice and this permission notice appear in all 8*5113495bSYour Name * copies. 9*5113495bSYour Name * 10*5113495bSYour Name * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL 11*5113495bSYour Name * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED 12*5113495bSYour Name * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE 13*5113495bSYour Name * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL 14*5113495bSYour Name * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR 15*5113495bSYour Name * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 16*5113495bSYour Name * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 17*5113495bSYour Name * PERFORMANCE OF THIS SOFTWARE. 18*5113495bSYour Name */ 19*5113495bSYour Name 20*5113495bSYour Name /** 21*5113495bSYour Name * DOC: This file contains definitions of Data Path configuration. 22*5113495bSYour Name */ 23*5113495bSYour Name 24*5113495bSYour Name #ifndef _CFG_DP_H_ 25*5113495bSYour Name #define _CFG_DP_H_ 26*5113495bSYour Name 27*5113495bSYour Name #include "cfg_define.h" 28*5113495bSYour Name #include "wlan_init_cfg.h" 29*5113495bSYour Name 30*5113495bSYour Name #define WLAN_CFG_MAX_CLIENTS 64 31*5113495bSYour Name #define WLAN_CFG_MAX_CLIENTS_MIN 8 32*5113495bSYour Name #define WLAN_CFG_MAX_CLIENTS_MAX 64 33*5113495bSYour Name 34*5113495bSYour Name /* Change this to a lower value to enforce scattered idle list mode */ 35*5113495bSYour Name #define WLAN_CFG_MAX_ALLOC_SIZE 0x200000 36*5113495bSYour Name #define WLAN_CFG_MAX_ALLOC_SIZE_MIN 0x80000 37*5113495bSYour Name #define WLAN_CFG_MAX_ALLOC_SIZE_MAX 0x200000 38*5113495bSYour Name 39*5113495bSYour Name #if defined(QCA_LL_TX_FLOW_CONTROL_V2) || \ 40*5113495bSYour Name defined(QCA_LL_PDEV_TX_FLOW_CONTROL) 41*5113495bSYour Name #define WLAN_CFG_TX_FLOW_START_QUEUE_OFFSET 10 42*5113495bSYour Name #define WLAN_CFG_TX_FLOW_STOP_QUEUE_TH 15 43*5113495bSYour Name #else 44*5113495bSYour Name #define WLAN_CFG_TX_FLOW_START_QUEUE_OFFSET 0 45*5113495bSYour Name #define WLAN_CFG_TX_FLOW_STOP_QUEUE_TH 0 46*5113495bSYour Name #endif 47*5113495bSYour Name 48*5113495bSYour Name #define WLAN_CFG_PER_PDEV_TX_RING_MIN 0 49*5113495bSYour Name #define WLAN_CFG_PER_PDEV_TX_RING_MAX 1 50*5113495bSYour Name 51*5113495bSYour Name #ifdef IPA_OFFLOAD 52*5113495bSYour Name /* Size of TCL TX Ring */ 53*5113495bSYour Name #if defined(TX_TO_NPEERS_INC_TX_DESCS) 54*5113495bSYour Name #define WLAN_CFG_TX_RING_SIZE 2048 55*5113495bSYour Name #else 56*5113495bSYour Name #define WLAN_CFG_TX_RING_SIZE 1024 57*5113495bSYour Name #endif 58*5113495bSYour Name 59*5113495bSYour Name #define WLAN_CFG_IPA_TX_RING_SIZE_MIN 512 60*5113495bSYour Name #define WLAN_CFG_IPA_TX_RING_SIZE 1024 61*5113495bSYour Name #define WLAN_CFG_IPA_TX_RING_SIZE_MAX 0x80000 62*5113495bSYour Name 63*5113495bSYour Name #define WLAN_CFG_IPA_TX_COMP_RING_SIZE_MIN 512 64*5113495bSYour Name #define WLAN_CFG_IPA_TX_COMP_RING_SIZE 1024 65*5113495bSYour Name #define WLAN_CFG_IPA_TX_COMP_RING_SIZE_MAX 0x80000 66*5113495bSYour Name 67*5113495bSYour Name #ifdef IPA_WDI3_TX_TWO_PIPES 68*5113495bSYour Name #ifdef WLAN_MEMORY_OPT 69*5113495bSYour Name #define WLAN_CFG_IPA_TX_ALT_RING_SIZE_MIN 128 70*5113495bSYour Name #else 71*5113495bSYour Name #define WLAN_CFG_IPA_TX_ALT_RING_SIZE_MIN 512 72*5113495bSYour Name #endif 73*5113495bSYour Name #define WLAN_CFG_IPA_TX_ALT_RING_SIZE 1024 74*5113495bSYour Name #define WLAN_CFG_IPA_TX_ALT_RING_SIZE_MAX 0x80000 75*5113495bSYour Name 76*5113495bSYour Name #ifdef WLAN_MEMORY_OPT 77*5113495bSYour Name #define WLAN_CFG_IPA_TX_ALT_COMP_RING_SIZE_MIN 128 78*5113495bSYour Name #else 79*5113495bSYour Name #define WLAN_CFG_IPA_TX_ALT_COMP_RING_SIZE_MIN 512 80*5113495bSYour Name #endif 81*5113495bSYour Name #define WLAN_CFG_IPA_TX_ALT_COMP_RING_SIZE 1024 82*5113495bSYour Name #define WLAN_CFG_IPA_TX_ALT_COMP_RING_SIZE_MAX 0x80000 83*5113495bSYour Name #endif 84*5113495bSYour Name 85*5113495bSYour Name #define WLAN_CFG_PER_PDEV_TX_RING 0 86*5113495bSYour Name #define WLAN_CFG_IPA_UC_TX_BUF_SIZE 2048 87*5113495bSYour Name #define WLAN_CFG_IPA_UC_TX_PARTITION_BASE 3000 88*5113495bSYour Name #define WLAN_CFG_IPA_UC_RX_IND_RING_COUNT 1024 89*5113495bSYour Name #else 90*5113495bSYour Name #define WLAN_CFG_TX_RING_SIZE 512 91*5113495bSYour Name #if defined(WLAN_MAX_PDEVS) && (WLAN_MAX_PDEVS == 1) 92*5113495bSYour Name #define WLAN_CFG_PER_PDEV_TX_RING 1 93*5113495bSYour Name #else 94*5113495bSYour Name #define WLAN_CFG_PER_PDEV_TX_RING 0 95*5113495bSYour Name #endif 96*5113495bSYour Name #define WLAN_CFG_IPA_UC_TX_BUF_SIZE 0 97*5113495bSYour Name #define WLAN_CFG_IPA_UC_TX_PARTITION_BASE 0 98*5113495bSYour Name #define WLAN_CFG_IPA_UC_RX_IND_RING_COUNT 0 99*5113495bSYour Name #endif /* IPA_OFFLOAD */ 100*5113495bSYour Name 101*5113495bSYour Name #define WLAN_CFG_TIME_CONTROL_BP 3000 102*5113495bSYour Name 103*5113495bSYour Name #if defined(RX_DATA_BUFFER_SIZE) 104*5113495bSYour Name #define WLAN_CFG_RX_BUFFER_SIZE RX_DATA_BUFFER_SIZE 105*5113495bSYour Name #else 106*5113495bSYour Name #define WLAN_CFG_RX_BUFFER_SIZE 2048 107*5113495bSYour Name #endif 108*5113495bSYour Name 109*5113495bSYour Name #define WLAN_CFG_QREF_CONTROL_SIZE 0 110*5113495bSYour Name 111*5113495bSYour Name #if defined(WLAN_MAX_PDEVS) && (WLAN_MAX_PDEVS == 1) 112*5113495bSYour Name #define WLAN_CFG_PER_PDEV_RX_RING 0 113*5113495bSYour Name #define WLAN_CFG_PER_PDEV_LMAC_RING 0 114*5113495bSYour Name #define WLAN_LRO_ENABLE 0 115*5113495bSYour Name #if defined(QCA_WIFI_QCA6750) || defined(QCA_WIFI_WCN6450) 116*5113495bSYour Name #define WLAN_CFG_MAC_PER_TARGET 1 117*5113495bSYour Name #else 118*5113495bSYour Name #define WLAN_CFG_MAC_PER_TARGET 2 119*5113495bSYour Name #endif 120*5113495bSYour Name 121*5113495bSYour Name #if defined(TX_TO_NPEERS_INC_TX_DESCS) 122*5113495bSYour Name #define WLAN_CFG_TX_COMP_RING_SIZE 4096 123*5113495bSYour Name 124*5113495bSYour Name /* Tx Descriptor and Tx Extension Descriptor pool sizes */ 125*5113495bSYour Name #define WLAN_CFG_NUM_TX_DESC 4096 126*5113495bSYour Name #define WLAN_CFG_NUM_TX_EXT_DESC 4096 127*5113495bSYour Name #else 128*5113495bSYour Name #define WLAN_CFG_TX_COMP_RING_SIZE 1024 129*5113495bSYour Name 130*5113495bSYour Name /* Tx Descriptor and Tx Extension Descriptor pool sizes */ 131*5113495bSYour Name #define WLAN_CFG_NUM_TX_DESC 1024 132*5113495bSYour Name #define WLAN_CFG_NUM_TX_EXT_DESC 1024 133*5113495bSYour Name #endif 134*5113495bSYour Name 135*5113495bSYour Name /* Interrupt Mitigation - Batch threshold in terms of number of frames */ 136*5113495bSYour Name #define WLAN_CFG_INT_BATCH_THRESHOLD_TX 1 137*5113495bSYour Name #define WLAN_CFG_INT_BATCH_THRESHOLD_OTHER 1 138*5113495bSYour Name 139*5113495bSYour Name /* Interrupt Mitigation - Timer threshold in us */ 140*5113495bSYour Name #define WLAN_CFG_INT_TIMER_THRESHOLD_TX 8 141*5113495bSYour Name #define WLAN_CFG_INT_TIMER_THRESHOLD_OTHER 8 142*5113495bSYour Name 143*5113495bSYour Name #ifdef WLAN_DP_PER_RING_TYPE_CONFIG 144*5113495bSYour Name #define WLAN_CFG_INT_BATCH_THRESHOLD_RX \ 145*5113495bSYour Name WLAN_CFG_INT_BATCH_THRESHOLD_REO_RING 146*5113495bSYour Name #define WLAN_CFG_INT_TIMER_THRESHOLD_RX \ 147*5113495bSYour Name WLAN_CFG_INT_TIMER_THRESHOLD_REO_RING 148*5113495bSYour Name #else 149*5113495bSYour Name #define WLAN_CFG_INT_BATCH_THRESHOLD_RX 1 150*5113495bSYour Name #define WLAN_CFG_INT_TIMER_THRESHOLD_RX 8 151*5113495bSYour Name #endif 152*5113495bSYour Name #endif /* WLAN_MAX_PDEVS */ 153*5113495bSYour Name 154*5113495bSYour Name #define WLAN_CFG_INT_BATCH_THRESHOLD_MON_DEST 1 155*5113495bSYour Name #define WLAN_CFG_INT_TIMER_THRESHOLD_MON_DEST 256 156*5113495bSYour Name 157*5113495bSYour Name #define WLAN_CFG_INT_BATCH_THRESHOLD_PPE2TCL 0 158*5113495bSYour Name #define WLAN_CFG_INT_TIMER_THRESHOLD_PPE2TCL 30 159*5113495bSYour Name 160*5113495bSYour Name #ifdef NBUF_MEMORY_DEBUG 161*5113495bSYour Name #define WLAN_CFG_RX_PENDING_THRESHOLD_DEFAULT 0xFFFF 162*5113495bSYour Name #else 163*5113495bSYour Name #define WLAN_CFG_RX_PENDING_THRESHOLD_DEFAULT 0x1FFFF 164*5113495bSYour Name #endif 165*5113495bSYour Name 166*5113495bSYour Name #define WLAN_CFG_RX_PENDING_HL_THRESHOLD \ 167*5113495bSYour Name WLAN_CFG_RX_PENDING_THRESHOLD_DEFAULT 168*5113495bSYour Name #define WLAN_CFG_RX_PENDING_HL_THRESHOLD_MIN 0 169*5113495bSYour Name #define WLAN_CFG_RX_PENDING_HL_THRESHOLD_MAX 0x200000 170*5113495bSYour Name 171*5113495bSYour Name #define WLAN_CFG_RX_PENDING_LO_THRESHOLD \ 172*5113495bSYour Name WLAN_CFG_RX_PENDING_THRESHOLD_DEFAULT 173*5113495bSYour Name #define WLAN_CFG_RX_PENDING_LO_THRESHOLD_MIN 100 174*5113495bSYour Name #define WLAN_CFG_RX_PENDING_LO_THRESHOLD_MAX 0x200000 175*5113495bSYour Name 176*5113495bSYour Name #define WLAN_CFG_INT_TIMER_THRESHOLD_WBM_RELEASE_RING 256 177*5113495bSYour Name #define WLAN_CFG_INT_TIMER_THRESHOLD_REO_RING 512 178*5113495bSYour Name #define WLAN_CFG_INT_BATCH_THRESHOLD_REO_RING 0 179*5113495bSYour Name 180*5113495bSYour Name #define WLAN_CFG_PER_PDEV_RX_RING_MIN 0 181*5113495bSYour Name #define WLAN_CFG_PER_PDEV_RX_RING_MAX 0 182*5113495bSYour Name 183*5113495bSYour Name #define WLAN_CFG_PER_PDEV_LMAC_RING_MIN 0 184*5113495bSYour Name #define WLAN_CFG_PER_PDEV_LMAC_RING_MAX 1 185*5113495bSYour Name 186*5113495bSYour Name #define WLAN_CFG_TX_RING_SIZE_MIN 512 187*5113495bSYour Name #define WLAN_CFG_TX_RING_SIZE_MAX 0x80000 188*5113495bSYour Name 189*5113495bSYour Name #define WLAN_CFG_TIME_CONTROL_BP_MIN 3000 190*5113495bSYour Name #define WLAN_CFG_TIME_CONTROL_BP_MAX 1800000 191*5113495bSYour Name /*MTU size of ethernet is 1500*/ 192*5113495bSYour Name #define WLAN_CFG_RX_BUFFER_SIZE_MIN 1536 193*5113495bSYour Name #define WLAN_CFG_RX_BUFFER_SIZE_MAX 4096 194*5113495bSYour Name 195*5113495bSYour Name #define WLAN_CFG_QREF_CONTROL_SIZE_MIN 0 196*5113495bSYour Name #define WLAN_CFG_QREF_CONTROL_SIZE_MAX 4000 197*5113495bSYour Name 198*5113495bSYour Name #define WLAN_CFG_TX_COMP_RING_SIZE_MIN 512 199*5113495bSYour Name #define WLAN_CFG_TX_COMP_RING_SIZE_MAX 0x80000 200*5113495bSYour Name 201*5113495bSYour Name #define WLAN_CFG_NUM_TX_DESC_MIN 16 202*5113495bSYour Name #define WLAN_CFG_NUM_TX_DESC_MAX 0x10000 203*5113495bSYour Name 204*5113495bSYour Name #define WLAN_CFG_NUM_TX_SPL_DESC 1024 205*5113495bSYour Name #define WLAN_CFG_NUM_TX_SPL_DESC_MIN 0 206*5113495bSYour Name #define WLAN_CFG_NUM_TX_SPL_DESC_MAX 0x1000 207*5113495bSYour Name 208*5113495bSYour Name #define WLAN_CFG_NUM_TX_EXT_DESC_MIN 16 209*5113495bSYour Name #define WLAN_CFG_NUM_TX_EXT_DESC_MAX 0x80000 210*5113495bSYour Name 211*5113495bSYour Name #define WLAN_CFG_INT_BATCH_THRESHOLD_TX_MIN 1 212*5113495bSYour Name #define WLAN_CFG_INT_BATCH_THRESHOLD_TX_MAX 256 213*5113495bSYour Name 214*5113495bSYour Name #define WLAN_CFG_INT_BATCH_THRESHOLD_PPE2TCL_MIN 0 215*5113495bSYour Name #define WLAN_CFG_INT_BATCH_THRESHOLD_PPE2TCL_MAX 1024 216*5113495bSYour Name 217*5113495bSYour Name #define WLAN_CFG_INT_BATCH_THRESHOLD_RX_MIN 0 218*5113495bSYour Name #define WLAN_CFG_INT_BATCH_THRESHOLD_RX_MAX 128 219*5113495bSYour Name 220*5113495bSYour Name #define WLAN_CFG_INT_BATCH_THRESHOLD_REO_RING_MIN 1 221*5113495bSYour Name #define WLAN_CFG_INT_BATCH_THRESHOLD_REO_RING_MAX 128 222*5113495bSYour Name 223*5113495bSYour Name #define WLAN_CFG_INT_BATCH_THRESHOLD_WBM_RELEASE_RING_MIN 1 224*5113495bSYour Name #define WLAN_CFG_INT_BATCH_THRESHOLD_WBM_RELEASE_RING_MAX 128 225*5113495bSYour Name 226*5113495bSYour Name #define WLAN_CFG_INT_BATCH_THRESHOLD_OTHER_MIN 1 227*5113495bSYour Name #define WLAN_CFG_INT_BATCH_THRESHOLD_OTHER_MAX 1 228*5113495bSYour Name 229*5113495bSYour Name #define WLAN_CFG_INT_BATCH_THRESHOLD_MON_DEST_MIN 1 230*5113495bSYour Name #define WLAN_CFG_INT_BATCH_THRESHOLD_MON_DEST_MAX 64 231*5113495bSYour Name 232*5113495bSYour Name #define WLAN_CFG_INT_TIMER_THRESHOLD_TX_MIN 8 233*5113495bSYour Name #define WLAN_CFG_INT_TIMER_THRESHOLD_TX_MAX 1000 234*5113495bSYour Name 235*5113495bSYour Name #define WLAN_CFG_INT_TIMER_THRESHOLD_PPE2TCL_MIN 8 236*5113495bSYour Name #define WLAN_CFG_INT_TIMER_THRESHOLD_PPE2TCL_MAX 1000 237*5113495bSYour Name 238*5113495bSYour Name #define WLAN_CFG_INT_TIMER_THRESHOLD_RX_MIN 8 239*5113495bSYour Name #define WLAN_CFG_INT_TIMER_THRESHOLD_RX_MAX 500 240*5113495bSYour Name 241*5113495bSYour Name #define WLAN_CFG_INT_TIMER_THRESHOLD_OTHER_MIN 8 242*5113495bSYour Name #define WLAN_CFG_INT_TIMER_THRESHOLD_OTHER_MAX 1000 243*5113495bSYour Name 244*5113495bSYour Name #define WLAN_CFG_INT_TIMER_THRESHOLD_MON_DEST_MIN 256 245*5113495bSYour Name #define WLAN_CFG_INT_TIMER_THRESHOLD_MON_DEST_MAX 1000 246*5113495bSYour Name 247*5113495bSYour Name #define WLAN_CFG_INT_TIMER_THRESHOLD_REO_RING_MIN 8 248*5113495bSYour Name #define WLAN_CFG_INT_TIMER_THRESHOLD_REO_RING_MAX 512 249*5113495bSYour Name 250*5113495bSYour Name #define WLAN_CFG_INT_TIMER_THRESHOLD_WBM_RELEASE_RING_MIN 8 251*5113495bSYour Name #define WLAN_CFG_INT_TIMER_THRESHOLD_WBM_RELEASE_RING_MAX 500 252*5113495bSYour Name 253*5113495bSYour Name #define WLAN_CFG_NSS_TX_COMP_RING_SIZE 0x2000 254*5113495bSYour Name #define WLAN_CFG_NSS_TX_COMP_RING_SIZE_MIN 0x2000 255*5113495bSYour Name #define WLAN_CFG_NSS_TX_COMP_RING_SIZE_MAX 0xc000 256*5113495bSYour Name 257*5113495bSYour Name #ifdef QCA_LL_TX_FLOW_CONTROL_V2 258*5113495bSYour Name 259*5113495bSYour Name /* Per vdev pools */ 260*5113495bSYour Name #define WLAN_CFG_NUM_TX_DESC_POOL 3 261*5113495bSYour Name #define WLAN_CFG_NUM_TXEXT_DESC_POOL 3 262*5113495bSYour Name 263*5113495bSYour Name #else /* QCA_LL_TX_FLOW_CONTROL_V2 */ 264*5113495bSYour Name 265*5113495bSYour Name #ifdef TX_PER_PDEV_DESC_POOL 266*5113495bSYour Name #define WLAN_CFG_NUM_TX_DESC_POOL MAX_PDEV_CNT 267*5113495bSYour Name #define WLAN_CFG_NUM_TXEXT_DESC_POOL MAX_PDEV_CNT 268*5113495bSYour Name 269*5113495bSYour Name #else /* TX_PER_PDEV_DESC_POOL */ 270*5113495bSYour Name 271*5113495bSYour Name #define WLAN_CFG_NUM_TX_DESC_POOL 3 272*5113495bSYour Name #define WLAN_CFG_NUM_TXEXT_DESC_POOL 3 273*5113495bSYour Name 274*5113495bSYour Name #endif /* TX_PER_PDEV_DESC_POOL */ 275*5113495bSYour Name #endif /* QCA_LL_TX_FLOW_CONTROL_V2 */ 276*5113495bSYour Name 277*5113495bSYour Name #define WLAN_CFG_NUM_TXEXT_DESC_POOL_MIN 1 278*5113495bSYour Name #define WLAN_CFG_NUM_TXEXT_DESC_POOL_MAX 4 279*5113495bSYour Name 280*5113495bSYour Name #define WLAN_CFG_HTT_PKT_TYPE 2 281*5113495bSYour Name #define WLAN_CFG_HTT_PKT_TYPE_MIN 2 282*5113495bSYour Name #define WLAN_CFG_HTT_PKT_TYPE_MAX 2 283*5113495bSYour Name 284*5113495bSYour Name #define WLAN_CFG_MAX_PEER_ID 64 285*5113495bSYour Name #define WLAN_CFG_MAX_PEER_ID_MIN 64 286*5113495bSYour Name #define WLAN_CFG_MAX_PEER_ID_MAX 64 287*5113495bSYour Name 288*5113495bSYour Name #define WLAN_CFG_RX_DEFRAG_TIMEOUT 100 289*5113495bSYour Name #define WLAN_CFG_RX_DEFRAG_TIMEOUT_MIN 100 290*5113495bSYour Name #define WLAN_CFG_RX_DEFRAG_TIMEOUT_MAX 100 291*5113495bSYour Name 292*5113495bSYour Name #define WLAN_CFG_NUM_TCL_DATA_RINGS 3 293*5113495bSYour Name #define WLAN_CFG_NUM_TCL_DATA_RINGS_MIN 1 294*5113495bSYour Name #define WLAN_CFG_NUM_TCL_DATA_RINGS_MAX MAX_TCL_DATA_RINGS 295*5113495bSYour Name 296*5113495bSYour Name #define WLAN_CFG_NUM_TX_COMP_RINGS WLAN_CFG_NUM_TCL_DATA_RINGS 297*5113495bSYour Name #define WLAN_CFG_NUM_TX_COMP_RINGS_MIN WLAN_CFG_NUM_TCL_DATA_RINGS_MIN 298*5113495bSYour Name #define WLAN_CFG_NUM_TX_COMP_RINGS_MAX WLAN_CFG_NUM_TCL_DATA_RINGS_MAX 299*5113495bSYour Name 300*5113495bSYour Name #if defined(CONFIG_BERYLLIUM) 301*5113495bSYour Name #define WLAN_CFG_NUM_REO_DEST_RING 8 302*5113495bSYour Name #else 303*5113495bSYour Name #define WLAN_CFG_NUM_REO_DEST_RING 4 304*5113495bSYour Name #endif 305*5113495bSYour Name #define WLAN_CFG_NUM_REO_DEST_RING_MIN 4 306*5113495bSYour Name #define WLAN_CFG_NUM_REO_DEST_RING_MAX MAX_REO_DEST_RINGS 307*5113495bSYour Name 308*5113495bSYour Name #define WLAN_CFG_NSS_NUM_TCL_DATA_RINGS 2 309*5113495bSYour Name #define WLAN_CFG_NSS_NUM_TCL_DATA_RINGS_MIN 1 310*5113495bSYour Name #define WLAN_CFG_NSS_NUM_TCL_DATA_RINGS_MAX 3 311*5113495bSYour Name 312*5113495bSYour Name #define WLAN_CFG_NSS_NUM_REO_DEST_RING 2 313*5113495bSYour Name #define WLAN_CFG_NSS_NUM_REO_DEST_RING_MIN 1 314*5113495bSYour Name #define WLAN_CFG_NSS_NUM_REO_DEST_RING_MAX 3 315*5113495bSYour Name 316*5113495bSYour Name #define WLAN_CFG_WBM_RELEASE_RING_SIZE 1024 317*5113495bSYour Name #define WLAN_CFG_WBM_RELEASE_RING_SIZE_MIN 64 318*5113495bSYour Name #define WLAN_CFG_WBM_RELEASE_RING_SIZE_MAX 1024 319*5113495bSYour Name 320*5113495bSYour Name #define WLAN_CFG_TCL_CMD_CREDIT_RING_SIZE 512 321*5113495bSYour Name #define WLAN_CFG_TCL_CMD_CREDIT_RING_SIZE_MIN 32 322*5113495bSYour Name #define WLAN_CFG_TCL_CMD_CREDIT_RING_SIZE_MAX 512 323*5113495bSYour Name 324*5113495bSYour Name #define WLAN_CFG_TCL_STATUS_RING_SIZE 32 325*5113495bSYour Name #define WLAN_CFG_TCL_STATUS_RING_SIZE_MIN 32 326*5113495bSYour Name #define WLAN_CFG_TCL_STATUS_RING_SIZE_MAX 32 327*5113495bSYour Name 328*5113495bSYour Name #if defined(QCA_WIFI_QCA6290) 329*5113495bSYour Name #define WLAN_CFG_REO_DST_RING_SIZE 1024 330*5113495bSYour Name #else 331*5113495bSYour Name #define WLAN_CFG_REO_DST_RING_SIZE 2048 332*5113495bSYour Name #endif 333*5113495bSYour Name 334*5113495bSYour Name #define WLAN_CFG_REO_DST_RING_SIZE_MIN 8 335*5113495bSYour Name #define WLAN_CFG_REO_DST_RING_SIZE_MAX 8192 336*5113495bSYour Name 337*5113495bSYour Name #define WLAN_CFG_REO_REINJECT_RING_SIZE 128 338*5113495bSYour Name #define WLAN_CFG_REO_REINJECT_RING_SIZE_MIN 32 339*5113495bSYour Name #define WLAN_CFG_REO_REINJECT_RING_SIZE_MAX 128 340*5113495bSYour Name 341*5113495bSYour Name #define WLAN_CFG_RX_RELEASE_RING_SIZE 1024 342*5113495bSYour Name #define WLAN_CFG_RX_RELEASE_RING_SIZE_MIN 8 343*5113495bSYour Name #if defined(QCA_WIFI_QCA6390) || defined(QCA_WIFI_QCA6490) || \ 344*5113495bSYour Name defined(QCA_WIFI_QCA6750) || defined(QCA_WIFI_KIWI) 345*5113495bSYour Name #define WLAN_CFG_RX_RELEASE_RING_SIZE_MAX 1024 346*5113495bSYour Name #else 347*5113495bSYour Name #define WLAN_CFG_RX_RELEASE_RING_SIZE_MAX 32768 348*5113495bSYour Name #endif 349*5113495bSYour Name 350*5113495bSYour Name #define WLAN_CFG_REO_EXCEPTION_RING_SIZE 256 351*5113495bSYour Name #define WLAN_CFG_REO_EXCEPTION_RING_SIZE_MIN 128 352*5113495bSYour Name #define WLAN_CFG_REO_EXCEPTION_RING_SIZE_MAX 512 353*5113495bSYour Name 354*5113495bSYour Name #define WLAN_CFG_REO_CMD_RING_SIZE 128 355*5113495bSYour Name #define WLAN_CFG_REO_CMD_RING_SIZE_MIN 64 356*5113495bSYour Name #define WLAN_CFG_REO_CMD_RING_SIZE_MAX 128 357*5113495bSYour Name 358*5113495bSYour Name #define WLAN_CFG_REO_STATUS_RING_SIZE 256 359*5113495bSYour Name #define WLAN_CFG_REO_STATUS_RING_SIZE_MIN 128 360*5113495bSYour Name #define WLAN_CFG_REO_STATUS_RING_SIZE_MAX 2048 361*5113495bSYour Name 362*5113495bSYour Name #define WLAN_CFG_RXDMA_BUF_RING_SIZE 1024 363*5113495bSYour Name #ifdef WLAN_MEMORY_OPT 364*5113495bSYour Name #define WLAN_CFG_RXDMA_BUF_RING_SIZE_MIN 128 365*5113495bSYour Name #else 366*5113495bSYour Name #define WLAN_CFG_RXDMA_BUF_RING_SIZE_MIN 1024 367*5113495bSYour Name #endif 368*5113495bSYour Name #define WLAN_CFG_RXDMA_BUF_RING_SIZE_MAX 8192 369*5113495bSYour Name 370*5113495bSYour Name #define WLAN_CFG_RXDMA_REFILL_RING_SIZE 4096 371*5113495bSYour Name #define WLAN_CFG_RXDMA_REFILL_RING_SIZE_MIN 16 372*5113495bSYour Name #define WLAN_CFG_RXDMA_REFILL_RING_SIZE_MAX 16384 373*5113495bSYour Name 374*5113495bSYour Name #define WLAN_CFG_TX_DESC_LIMIT_0 0 375*5113495bSYour Name #define WLAN_CFG_TX_DESC_LIMIT_0_MIN 4096 376*5113495bSYour Name #define WLAN_CFG_TX_DESC_LIMIT_0_MAX 32768 377*5113495bSYour Name 378*5113495bSYour Name #define WLAN_CFG_TX_DESC_LIMIT_1 0 379*5113495bSYour Name #define WLAN_CFG_TX_DESC_LIMIT_1_MIN 4096 380*5113495bSYour Name #define WLAN_CFG_TX_DESC_LIMIT_1_MAX 32768 381*5113495bSYour Name 382*5113495bSYour Name #define WLAN_CFG_TX_DESC_LIMIT_2 0 383*5113495bSYour Name #define WLAN_CFG_TX_DESC_LIMIT_2_MIN 4096 384*5113495bSYour Name #define WLAN_CFG_TX_DESC_LIMIT_2_MAX 32768 385*5113495bSYour Name 386*5113495bSYour Name #define WLAN_CFG_TX_DEVICE_LIMIT 65536 387*5113495bSYour Name #define WLAN_CFG_TX_DEVICE_LIMIT_MIN 16384 388*5113495bSYour Name #define WLAN_CFG_TX_DEVICE_LIMIT_MAX 65536 389*5113495bSYour Name 390*5113495bSYour Name #define WLAN_CFG_TX_SPL_DEVICE_LIMIT 1024 391*5113495bSYour Name #define WLAN_CFG_TX_SPL_DEVICE_LIMIT_MIN 0 392*5113495bSYour Name #define WLAN_CFG_TX_SPL_DEVICE_LIMIT_MAX 4096 393*5113495bSYour Name 394*5113495bSYour Name #define WLAN_CFG_TX_SW_INTERNODE_QUEUE 1024 395*5113495bSYour Name #define WLAN_CFG_TX_SW_INTERNODE_QUEUE_MIN 128 396*5113495bSYour Name #define WLAN_CFG_TX_SW_INTERNODE_QUEUE_MAX 1024 397*5113495bSYour Name 398*5113495bSYour Name #define WLAN_CFG_TX_DESC_GLOBAL_COUNT 0xC000 399*5113495bSYour Name #define WLAN_CFG_TX_DESC_GLOBAL_COUNT_MIN 0x8000 400*5113495bSYour Name #define WLAN_CFG_TX_DESC_GLOBAL_COUNT_MAX 0x60000 401*5113495bSYour Name 402*5113495bSYour Name #define WLAN_CFG_SPCL_TX_DESC_GLOBAL_COUNT 0x400 403*5113495bSYour Name #define WLAN_CFG_SPCL_TX_DESC_GLOBAL_COUNT_MIN 0x400 404*5113495bSYour Name #define WLAN_CFG_SPCL_TX_DESC_GLOBAL_COUNT_MAX 0x1000 405*5113495bSYour Name 406*5113495bSYour Name #define WLAN_CFG_RXDMA_MONITOR_BUF_RING_SIZE 4096 407*5113495bSYour Name #define WLAN_CFG_RXDMA_MONITOR_BUF_RING_SIZE_MIN 16 408*5113495bSYour Name #define WLAN_CFG_RXDMA_MONITOR_BUF_RING_SIZE_MAX 8192 409*5113495bSYour Name 410*5113495bSYour Name #define WLAN_CFG_TX_MONITOR_BUF_RING_SIZE 4096 411*5113495bSYour Name #define WLAN_CFG_TX_MONITOR_BUF_RING_SIZE_MIN 16 412*5113495bSYour Name #define WLAN_CFG_TX_MONITOR_BUF_RING_SIZE_MAX 8192 413*5113495bSYour Name 414*5113495bSYour Name #define WLAN_CFG_RXDMA_MONITOR_DST_RING_SIZE 2048 415*5113495bSYour Name #define WLAN_CFG_RXDMA_MONITOR_DST_RING_SIZE_MIN 48 416*5113495bSYour Name #define WLAN_CFG_RXDMA_MONITOR_DST_RING_SIZE_MAX 8192 417*5113495bSYour Name 418*5113495bSYour Name #define WLAN_CFG_TX_MONITOR_DST_RING_SIZE 2048 419*5113495bSYour Name #define WLAN_CFG_TX_MONITOR_DST_RING_SIZE_MIN 48 420*5113495bSYour Name #define WLAN_CFG_TX_MONITOR_DST_RING_SIZE_MAX 8192 421*5113495bSYour Name 422*5113495bSYour Name #define WLAN_CFG_RXDMA_MONITOR_STATUS_RING_SIZE 1024 423*5113495bSYour Name #define WLAN_CFG_RXDMA_MONITOR_STATUS_RING_SIZE_MIN 16 424*5113495bSYour Name #define WLAN_CFG_RXDMA_MONITOR_STATUS_RING_SIZE_MAX 8192 425*5113495bSYour Name 426*5113495bSYour Name #define WLAN_CFG_RXDMA_MONITOR_DESC_RING_SIZE 4096 427*5113495bSYour Name #define WLAN_CFG_RXDMA_MONITOR_DESC_RING_SIZE_MIN 4096 428*5113495bSYour Name #define WLAN_CFG_RXDMA_MONITOR_DESC_RING_SIZE_MAX 16384 429*5113495bSYour Name 430*5113495bSYour Name #define WLAN_CFG_SW2RXDMA_LINK_RING_SIZE 1024 431*5113495bSYour Name #define WLAN_CFG_SW2RXDMA_LINK_RING_SIZE_MIN 256 432*5113495bSYour Name #define WLAN_CFG_SW2RXDMA_LINK_RING_SIZE_MAX 4096 433*5113495bSYour Name 434*5113495bSYour Name #define WLAN_CFG_RXDMA_ERR_DST_RING_SIZE 1024 435*5113495bSYour Name #define WLAN_CFG_RXDMA_ERR_DST_RING_SIZE_MIN 1024 436*5113495bSYour Name #define WLAN_CFG_RXDMA_ERR_DST_RING_SIZE_MAX 8192 437*5113495bSYour Name 438*5113495bSYour Name #define WLAN_CFG_RXDMA_MONITOR_RX_DROP_THRESH_SIZE 32 439*5113495bSYour Name #define WLAN_CFG_RXDMA_MONITOR_RX_DROP_THRESH_SIZE_MIN 0 440*5113495bSYour Name #define WLAN_CFG_RXDMA_MONITOR_RX_DROP_THRESH_SIZE_MAX 256 441*5113495bSYour Name 442*5113495bSYour Name /* 443*5113495bSYour Name * Allocate as many RX descriptors as buffers in the SW2RXDMA 444*5113495bSYour Name * ring. This value may need to be tuned later. 445*5113495bSYour Name */ 446*5113495bSYour Name #if defined(WLAN_MAX_PDEVS) && (WLAN_MAX_PDEVS == 1) 447*5113495bSYour Name #define WLAN_CFG_RX_SW_DESC_WEIGHT_SIZE 1 448*5113495bSYour Name #define WLAN_CFG_RX_SW_DESC_WEIGHT_SIZE_MIN 1 449*5113495bSYour Name #define WLAN_CFG_RX_SW_DESC_WEIGHT_SIZE_MAX 1 450*5113495bSYour Name #define WLAN_CFG_RX_SW_DESC_NUM_SIZE 4096 451*5113495bSYour Name #ifdef WLAN_MEMORY_OPT 452*5113495bSYour Name #define WLAN_CFG_RX_SW_DESC_NUM_SIZE_MIN 128 453*5113495bSYour Name #else 454*5113495bSYour Name #define WLAN_CFG_RX_SW_DESC_NUM_SIZE_MIN 1024 455*5113495bSYour Name #endif 456*5113495bSYour Name #define WLAN_CFG_RX_SW_DESC_NUM_SIZE_MAX 16384 457*5113495bSYour Name 458*5113495bSYour Name /* 459*5113495bSYour Name * For low memory AP cases using 1 will reduce the rx descriptors memory req 460*5113495bSYour Name */ 461*5113495bSYour Name #elif defined(QCA_LOWMEM_CONFIG) || defined(QCA_512M_CONFIG) 462*5113495bSYour Name #define WLAN_CFG_RX_SW_DESC_WEIGHT_SIZE 1 463*5113495bSYour Name #define WLAN_CFG_RX_SW_DESC_WEIGHT_SIZE_MIN 1 464*5113495bSYour Name #define WLAN_CFG_RX_SW_DESC_WEIGHT_SIZE_MAX 3 465*5113495bSYour Name #define WLAN_CFG_RX_SW_DESC_NUM_SIZE 4096 466*5113495bSYour Name #ifdef WLAN_MEMORY_OPT 467*5113495bSYour Name #define WLAN_CFG_RX_SW_DESC_NUM_SIZE_MIN 128 468*5113495bSYour Name #else 469*5113495bSYour Name #define WLAN_CFG_RX_SW_DESC_NUM_SIZE_MIN 1024 470*5113495bSYour Name #endif 471*5113495bSYour Name #define WLAN_CFG_RX_SW_DESC_NUM_SIZE_MAX 16384 472*5113495bSYour Name 473*5113495bSYour Name /* 474*5113495bSYour Name * AP use cases need to allocate more RX Descriptors than the number of 475*5113495bSYour Name * entries available in the SW2RXDMA buffer replenish ring. This is to account 476*5113495bSYour Name * for frames sitting in REO queues, HW-HW DMA rings etc. Hence using a 477*5113495bSYour Name * multiplication factor of 3, to allocate three times as many RX descriptors 478*5113495bSYour Name * as RX buffers. 479*5113495bSYour Name */ 480*5113495bSYour Name #else 481*5113495bSYour Name #define WLAN_CFG_RX_SW_DESC_WEIGHT_SIZE 3 482*5113495bSYour Name #define WLAN_CFG_RX_SW_DESC_WEIGHT_SIZE_MIN 1 483*5113495bSYour Name #define WLAN_CFG_RX_SW_DESC_WEIGHT_SIZE_MAX 3 484*5113495bSYour Name #define WLAN_CFG_RX_SW_DESC_NUM_SIZE 12288 485*5113495bSYour Name #ifdef WLAN_MEMORY_OPT 486*5113495bSYour Name #define WLAN_CFG_RX_SW_DESC_NUM_SIZE_MIN 128 487*5113495bSYour Name #else 488*5113495bSYour Name #define WLAN_CFG_RX_SW_DESC_NUM_SIZE_MIN 4096 489*5113495bSYour Name #endif 490*5113495bSYour Name #define WLAN_CFG_RX_SW_DESC_NUM_SIZE_MAX 16384 491*5113495bSYour Name #endif 492*5113495bSYour Name 493*5113495bSYour Name #define WLAN_CFG_RX_FLOW_SEARCH_TABLE_SIZE 16384 494*5113495bSYour Name #define WLAN_CFG_RX_FLOW_SEARCH_TABLE_SIZE_MIN 1 495*5113495bSYour Name #define WLAN_CFG_RX_FLOW_SEARCH_TABLE_SIZE_MAX 16384 496*5113495bSYour Name #define WLAN_CFG_RX_FLOW_SEARCH_TABLE_SIZE_DEFAULT 128 497*5113495bSYour Name 498*5113495bSYour Name #define WLAN_CFG_PKTLOG_BUFFER_SIZE 10 499*5113495bSYour Name #define WLAN_CFG_PKTLOG_MIN_BUFFER_SIZE 1 500*5113495bSYour Name #define WLAN_CFG_PKTLOG_MAX_BUFFER_SIZE 10 501*5113495bSYour Name 502*5113495bSYour Name #ifdef IPA_OFFLOAD 503*5113495bSYour Name #define WLAN_CFG_NUM_REO_RINGS_MAP 0x7 504*5113495bSYour Name #else 505*5113495bSYour Name #define WLAN_CFG_NUM_REO_RINGS_MAP 0xF 506*5113495bSYour Name #endif 507*5113495bSYour Name #define WLAN_CFG_NUM_REO_RINGS_MAP_MIN 0x1 508*5113495bSYour Name #if defined(CONFIG_BERYLLIUM) 509*5113495bSYour Name #define WLAN_CFG_NUM_REO_RINGS_MAP_MAX 0xFF 510*5113495bSYour Name #else 511*5113495bSYour Name #define WLAN_CFG_NUM_REO_RINGS_MAP_MAX 0xF 512*5113495bSYour Name #endif 513*5113495bSYour Name 514*5113495bSYour Name #define WLAN_CFG_RADIO_0_DEFAULT_REO 0x1 515*5113495bSYour Name #define WLAN_CFG_RADIO_1_DEFAULT_REO 0x2 516*5113495bSYour Name #define WLAN_CFG_RADIO_2_DEFAULT_REO 0x3 517*5113495bSYour Name 518*5113495bSYour Name #define WLAN_CFG_RADIO_DEFAULT_REO_MIN 0x1 519*5113495bSYour Name #define WLAN_CFG_RADIO_DEFAULT_REO_MAX 0x4 520*5113495bSYour Name 521*5113495bSYour Name #define WLAN_CFG_REO2PPE_RING_SIZE 16384 522*5113495bSYour Name #define WLAN_CFG_REO2PPE_RING_SIZE_MIN 64 523*5113495bSYour Name #define WLAN_CFG_REO2PPE_RING_SIZE_MAX 16384 524*5113495bSYour Name 525*5113495bSYour Name #define WLAN_CFG_PPE2TCL_RING_SIZE 8192 526*5113495bSYour Name #define WLAN_CFG_PPE2TCL_RING_SIZE_MIN 64 527*5113495bSYour Name #define WLAN_CFG_PPE2TCL_RING_SIZE_MAX 32768 528*5113495bSYour Name 529*5113495bSYour Name #define WLAN_CFG_PPE_RELEASE_RING_SIZE 1024 530*5113495bSYour Name #define WLAN_CFG_PPE_RELEASE_RING_SIZE_MIN 64 531*5113495bSYour Name #define WLAN_CFG_PPE_RELEASE_RING_SIZE_MAX 1024 532*5113495bSYour Name 533*5113495bSYour Name #if defined(WLAN_FEATURE_11BE_MLO) && defined(WLAN_MLO_MULTI_CHIP) 534*5113495bSYour Name #define WLAN_CFG_MLO_RX_RING_MAP 0x7 535*5113495bSYour Name #define WLAN_CFG_MLO_RX_RING_MAP_MIN 0x0 536*5113495bSYour Name #define WLAN_CFG_MLO_RX_RING_MAP_MAX 0xFF 537*5113495bSYour Name #endif 538*5113495bSYour Name 539*5113495bSYour Name #define WLAN_CFG_TX_CAPT_MAX_MEM_MIN 0 540*5113495bSYour Name #define WLAN_CFG_TX_CAPT_MAX_MEM_MAX 512 541*5113495bSYour Name #define WLAN_CFG_TX_CAPT_MAX_MEM_DEFAULT 0 542*5113495bSYour Name 543*5113495bSYour Name #define CFG_DP_MPDU_RETRY_THRESHOLD_MIN 0 544*5113495bSYour Name #define CFG_DP_MPDU_RETRY_THRESHOLD_MAX 255 545*5113495bSYour Name #define CFG_DP_MPDU_RETRY_THRESHOLD 0 546*5113495bSYour Name 547*5113495bSYour Name #define WLAN_CFG_DP_NAPI_SCALE_FACTOR 0 548*5113495bSYour Name #define WLAN_CFG_DP_NAPI_SCALE_FACTOR_MIN 0 549*5113495bSYour Name #define WLAN_CFG_DP_NAPI_SCALE_FACTOR_MAX 4 550*5113495bSYour Name 551*5113495bSYour Name #define CFG_DP_PPEDS_WIFI_SOC_CFG_NONE 0 552*5113495bSYour Name #define CFG_DP_PPEDS_WIFI_SOC_CFG_ALL 0xFF 553*5113495bSYour Name #define CFG_DP_PPEDS_WIFI_SOC_CFG_DEFAULT 0xFF 554*5113495bSYour Name 555*5113495bSYour Name #ifdef CONFIG_SAWF_STATS 556*5113495bSYour Name #define WLAN_CFG_SAWF_STATS 0x0 557*5113495bSYour Name #define WLAN_CFG_SAWF_STATS_MIN 0x0 558*5113495bSYour Name #define WLAN_CFG_SAWF_STATS_MAX 0x7 559*5113495bSYour Name #endif 560*5113495bSYour Name 561*5113495bSYour Name #define WLAN_CFG_TX_CAPT_RBM_ID_MIN 0 562*5113495bSYour Name #define WLAN_CFG_TX_CAPT_RBM_ID_MAX 3 563*5113495bSYour Name #define WLAN_CFG_TX_CAPT_0_RBM_DEFAULT 0 564*5113495bSYour Name #define WLAN_CFG_TX_CAPT_1_RBM_DEFAULT 1 565*5113495bSYour Name #define WLAN_CFG_TX_CAPT_2_RBM_DEFAULT 2 566*5113495bSYour Name #define WLAN_CFG_TX_CAPT_3_RBM_DEFAULT 3 567*5113495bSYour Name 568*5113495bSYour Name #define WLAN_CFG_DP_AVG_RATE_FILTER_MIN 0 569*5113495bSYour Name #define WLAN_CFG_DP_AVG_RATE_FILTER_MAX 11000 570*5113495bSYour Name #define WLAN_CFG_DP_AVG_RATE_FILTER_DEFAULT 0 571*5113495bSYour Name 572*5113495bSYour Name /* 573*5113495bSYour Name * <ini> 574*5113495bSYour Name * "dp_tx_capt_max_mem_mb"- maximum memory used by Tx capture 575*5113495bSYour Name * @Min: 0 576*5113495bSYour Name * @Max: 512 MB 577*5113495bSYour Name * @Default: 0 (disabled) 578*5113495bSYour Name * 579*5113495bSYour Name * This ini entry is used to set a max limit beyond which frames 580*5113495bSYour Name * are dropped by Tx capture. User needs to set a non-zero value 581*5113495bSYour Name * to enable it. 582*5113495bSYour Name * 583*5113495bSYour Name * Usage: External 584*5113495bSYour Name * 585*5113495bSYour Name * </ini> 586*5113495bSYour Name */ 587*5113495bSYour Name #define CFG_DP_TX_CAPT_MAX_MEM_MB \ 588*5113495bSYour Name CFG_INI_UINT("dp_tx_capt_max_mem_mb", \ 589*5113495bSYour Name WLAN_CFG_TX_CAPT_MAX_MEM_MIN, \ 590*5113495bSYour Name WLAN_CFG_TX_CAPT_MAX_MEM_MAX, \ 591*5113495bSYour Name WLAN_CFG_TX_CAPT_MAX_MEM_DEFAULT, \ 592*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "Max Memory (in MB) used by Tx Capture") 593*5113495bSYour Name 594*5113495bSYour Name #define CFG_DP_TX_CAPT_RADIO_0_RBM_ID \ 595*5113495bSYour Name CFG_INI_UINT("dp_tx_capt_pdev_0_rbm_id", \ 596*5113495bSYour Name WLAN_CFG_TX_CAPT_RBM_ID_MIN, \ 597*5113495bSYour Name WLAN_CFG_TX_CAPT_RBM_ID_MAX, \ 598*5113495bSYour Name WLAN_CFG_TX_CAPT_0_RBM_DEFAULT, \ 599*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "RBM_ID used by pdev 0 Tx capture") 600*5113495bSYour Name 601*5113495bSYour Name #define CFG_DP_TX_CAPT_RADIO_1_RBM_ID \ 602*5113495bSYour Name CFG_INI_UINT("dp_tx_capt_pdev_1_rbm_id", \ 603*5113495bSYour Name WLAN_CFG_TX_CAPT_RBM_ID_MIN, \ 604*5113495bSYour Name WLAN_CFG_TX_CAPT_RBM_ID_MAX, \ 605*5113495bSYour Name WLAN_CFG_TX_CAPT_1_RBM_DEFAULT, \ 606*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "RBM_ID used by pdev 1 Tx capture") 607*5113495bSYour Name 608*5113495bSYour Name #define CFG_DP_TX_CAPT_RADIO_2_RBM_ID \ 609*5113495bSYour Name CFG_INI_UINT("dp_tx_capt_pdev_2_rbm_id", \ 610*5113495bSYour Name WLAN_CFG_TX_CAPT_RBM_ID_MIN, \ 611*5113495bSYour Name WLAN_CFG_TX_CAPT_RBM_ID_MAX, \ 612*5113495bSYour Name WLAN_CFG_TX_CAPT_2_RBM_DEFAULT, \ 613*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "RBM_ID used by pdev 2 Tx capture") 614*5113495bSYour Name 615*5113495bSYour Name #define CFG_DP_TX_CAPT_RADIO_3_RBM_ID \ 616*5113495bSYour Name CFG_INI_UINT("dp_tx_capt_pdev_3_rbm_id", \ 617*5113495bSYour Name WLAN_CFG_TX_CAPT_RBM_ID_MIN, \ 618*5113495bSYour Name WLAN_CFG_TX_CAPT_RBM_ID_MAX, \ 619*5113495bSYour Name WLAN_CFG_TX_CAPT_3_RBM_DEFAULT, \ 620*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "RBM_ID used by pdev 3 Tx capture") 621*5113495bSYour Name 622*5113495bSYour Name /* DP INI Declarations */ 623*5113495bSYour Name #define CFG_DP_HTT_PACKET_TYPE \ 624*5113495bSYour Name CFG_INI_UINT("dp_htt_packet_type", \ 625*5113495bSYour Name WLAN_CFG_HTT_PKT_TYPE_MIN, \ 626*5113495bSYour Name WLAN_CFG_HTT_PKT_TYPE_MAX, \ 627*5113495bSYour Name WLAN_CFG_HTT_PKT_TYPE, \ 628*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP HTT packet type") 629*5113495bSYour Name 630*5113495bSYour Name #define CFG_DP_INT_BATCH_THRESHOLD_OTHER \ 631*5113495bSYour Name CFG_INI_UINT("dp_int_batch_threshold_other", \ 632*5113495bSYour Name WLAN_CFG_INT_BATCH_THRESHOLD_OTHER_MIN, \ 633*5113495bSYour Name WLAN_CFG_INT_BATCH_THRESHOLD_OTHER_MAX, \ 634*5113495bSYour Name WLAN_CFG_INT_BATCH_THRESHOLD_OTHER, \ 635*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP INT batch threshold Other") 636*5113495bSYour Name 637*5113495bSYour Name #define CFG_DP_INT_BATCH_THRESHOLD_MON_DEST \ 638*5113495bSYour Name CFG_INI_UINT("dp_int_batch_threshold_mon_dest", \ 639*5113495bSYour Name WLAN_CFG_INT_BATCH_THRESHOLD_MON_DEST_MIN, \ 640*5113495bSYour Name WLAN_CFG_INT_BATCH_THRESHOLD_MON_DEST_MAX, \ 641*5113495bSYour Name WLAN_CFG_INT_BATCH_THRESHOLD_MON_DEST, \ 642*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP INT batch threshold mon_dest") 643*5113495bSYour Name 644*5113495bSYour Name #define CFG_DP_INT_BATCH_THRESHOLD_RX \ 645*5113495bSYour Name CFG_INI_UINT("dp_int_batch_threshold_rx", \ 646*5113495bSYour Name WLAN_CFG_INT_BATCH_THRESHOLD_RX_MIN, \ 647*5113495bSYour Name WLAN_CFG_INT_BATCH_THRESHOLD_RX_MAX, \ 648*5113495bSYour Name WLAN_CFG_INT_BATCH_THRESHOLD_RX, \ 649*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP INT batch threshold Rx") 650*5113495bSYour Name 651*5113495bSYour Name #define CFG_DP_INT_BATCH_THRESHOLD_TX \ 652*5113495bSYour Name CFG_INI_UINT("dp_int_batch_threshold_tx", \ 653*5113495bSYour Name WLAN_CFG_INT_BATCH_THRESHOLD_TX_MIN, \ 654*5113495bSYour Name WLAN_CFG_INT_BATCH_THRESHOLD_TX_MAX, \ 655*5113495bSYour Name WLAN_CFG_INT_BATCH_THRESHOLD_TX, \ 656*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP INT threshold Tx") 657*5113495bSYour Name 658*5113495bSYour Name #define CFG_DP_INT_BATCH_THRESHOLD_PPE2TCL \ 659*5113495bSYour Name CFG_INI_UINT("dp_int_batch_threshold_ppe2tcl", \ 660*5113495bSYour Name WLAN_CFG_INT_BATCH_THRESHOLD_PPE2TCL_MIN, \ 661*5113495bSYour Name WLAN_CFG_INT_BATCH_THRESHOLD_PPE2TCL_MAX, \ 662*5113495bSYour Name WLAN_CFG_INT_BATCH_THRESHOLD_PPE2TCL, \ 663*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP INT batch threshold ppe2tcl") 664*5113495bSYour Name 665*5113495bSYour Name #define CFG_DP_INT_TIMER_THRESHOLD_PPE2TCL \ 666*5113495bSYour Name CFG_INI_UINT("dp_int_timer_threshold_ppe2tcl", \ 667*5113495bSYour Name WLAN_CFG_INT_TIMER_THRESHOLD_PPE2TCL_MIN, \ 668*5113495bSYour Name WLAN_CFG_INT_TIMER_THRESHOLD_PPE2TCL_MAX, \ 669*5113495bSYour Name WLAN_CFG_INT_TIMER_THRESHOLD_PPE2TCL, \ 670*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP INT timer threshold ppe2tcl") 671*5113495bSYour Name 672*5113495bSYour Name #define CFG_DP_INT_TIMER_THRESHOLD_OTHER \ 673*5113495bSYour Name CFG_INI_UINT("dp_int_timer_threshold_other", \ 674*5113495bSYour Name WLAN_CFG_INT_TIMER_THRESHOLD_OTHER_MIN, \ 675*5113495bSYour Name WLAN_CFG_INT_TIMER_THRESHOLD_OTHER_MAX, \ 676*5113495bSYour Name WLAN_CFG_INT_TIMER_THRESHOLD_OTHER, \ 677*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP INT timer threshold Other") 678*5113495bSYour Name 679*5113495bSYour Name #define CFG_DP_INT_TIMER_THRESHOLD_MON_DEST \ 680*5113495bSYour Name CFG_INI_UINT("dp_int_timer_threshold_mon_dest", \ 681*5113495bSYour Name WLAN_CFG_INT_TIMER_THRESHOLD_MON_DEST_MIN, \ 682*5113495bSYour Name WLAN_CFG_INT_TIMER_THRESHOLD_MON_DEST_MAX, \ 683*5113495bSYour Name WLAN_CFG_INT_TIMER_THRESHOLD_MON_DEST, \ 684*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP INT timer threshold mon dest") 685*5113495bSYour Name 686*5113495bSYour Name #define CFG_DP_INT_TIMER_THRESHOLD_RX \ 687*5113495bSYour Name CFG_INI_UINT("dp_int_timer_threshold_rx", \ 688*5113495bSYour Name WLAN_CFG_INT_TIMER_THRESHOLD_RX_MIN, \ 689*5113495bSYour Name WLAN_CFG_INT_TIMER_THRESHOLD_RX_MAX, \ 690*5113495bSYour Name WLAN_CFG_INT_TIMER_THRESHOLD_RX, \ 691*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP INT timer threshold Rx") 692*5113495bSYour Name 693*5113495bSYour Name #define CFG_DP_INT_TIMER_THRESHOLD_REO_RING \ 694*5113495bSYour Name CFG_INI_UINT("dp_int_timer_threshold_reo_ring", \ 695*5113495bSYour Name WLAN_CFG_INT_TIMER_THRESHOLD_REO_RING_MIN, \ 696*5113495bSYour Name WLAN_CFG_INT_TIMER_THRESHOLD_REO_RING_MAX, \ 697*5113495bSYour Name WLAN_CFG_INT_TIMER_THRESHOLD_REO_RING, \ 698*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP INT timer threshold Reo ring") 699*5113495bSYour Name 700*5113495bSYour Name #define CFG_DP_INT_TIMER_THRESHOLD_WBM_RELEASE_RING \ 701*5113495bSYour Name CFG_INI_UINT("dp_int_timer_threshold_wbm_release_ring", \ 702*5113495bSYour Name WLAN_CFG_INT_TIMER_THRESHOLD_WBM_RELEASE_RING_MIN, \ 703*5113495bSYour Name WLAN_CFG_INT_TIMER_THRESHOLD_WBM_RELEASE_RING_MAX, \ 704*5113495bSYour Name WLAN_CFG_INT_TIMER_THRESHOLD_WBM_RELEASE_RING, \ 705*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP INT timer threshold wbm release ring") 706*5113495bSYour Name 707*5113495bSYour Name #define CFG_DP_INT_TIMER_THRESHOLD_TX \ 708*5113495bSYour Name CFG_INI_UINT("dp_int_timer_threshold_tx", \ 709*5113495bSYour Name WLAN_CFG_INT_TIMER_THRESHOLD_TX_MIN, \ 710*5113495bSYour Name WLAN_CFG_INT_TIMER_THRESHOLD_TX_MAX, \ 711*5113495bSYour Name WLAN_CFG_INT_TIMER_THRESHOLD_TX, \ 712*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP INT timer threshold Tx") 713*5113495bSYour Name 714*5113495bSYour Name #define CFG_DP_MAX_ALLOC_SIZE \ 715*5113495bSYour Name CFG_INI_UINT("dp_max_alloc_size", \ 716*5113495bSYour Name WLAN_CFG_MAX_ALLOC_SIZE_MIN, \ 717*5113495bSYour Name WLAN_CFG_MAX_ALLOC_SIZE_MAX, \ 718*5113495bSYour Name WLAN_CFG_MAX_ALLOC_SIZE, \ 719*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP Max Alloc Size") 720*5113495bSYour Name 721*5113495bSYour Name #define CFG_DP_MAX_CLIENTS \ 722*5113495bSYour Name CFG_INI_UINT("dp_max_clients", \ 723*5113495bSYour Name WLAN_CFG_MAX_CLIENTS_MIN, \ 724*5113495bSYour Name WLAN_CFG_MAX_CLIENTS_MAX, \ 725*5113495bSYour Name WLAN_CFG_MAX_CLIENTS, \ 726*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP Max Clients") 727*5113495bSYour Name 728*5113495bSYour Name #define CFG_DP_MAX_PEER_ID \ 729*5113495bSYour Name CFG_INI_UINT("dp_max_peer_id", \ 730*5113495bSYour Name WLAN_CFG_MAX_PEER_ID_MIN, \ 731*5113495bSYour Name WLAN_CFG_MAX_PEER_ID_MAX, \ 732*5113495bSYour Name WLAN_CFG_MAX_PEER_ID, \ 733*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP Max Peer ID") 734*5113495bSYour Name 735*5113495bSYour Name #define CFG_DP_REO_DEST_RINGS \ 736*5113495bSYour Name CFG_INI_UINT("dp_reo_dest_rings", \ 737*5113495bSYour Name WLAN_CFG_NUM_REO_DEST_RING_MIN, \ 738*5113495bSYour Name WLAN_CFG_NUM_REO_DEST_RING_MAX, \ 739*5113495bSYour Name WLAN_CFG_NUM_REO_DEST_RING, \ 740*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP REO Destination Rings") 741*5113495bSYour Name 742*5113495bSYour Name #define CFG_DP_TX_COMP_RINGS \ 743*5113495bSYour Name CFG_INI_UINT("dp_tx_comp_rings", \ 744*5113495bSYour Name WLAN_CFG_NUM_TX_COMP_RINGS_MIN, \ 745*5113495bSYour Name WLAN_CFG_NUM_TX_COMP_RINGS_MAX, \ 746*5113495bSYour Name WLAN_CFG_NUM_TX_COMP_RINGS, \ 747*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP Tx Comp Rings") 748*5113495bSYour Name 749*5113495bSYour Name #define CFG_DP_TCL_DATA_RINGS \ 750*5113495bSYour Name CFG_INI_UINT("dp_tcl_data_rings", \ 751*5113495bSYour Name WLAN_CFG_NUM_TCL_DATA_RINGS_MIN, \ 752*5113495bSYour Name WLAN_CFG_NUM_TCL_DATA_RINGS_MAX, \ 753*5113495bSYour Name WLAN_CFG_NUM_TCL_DATA_RINGS, \ 754*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP TCL Data Rings") 755*5113495bSYour Name 756*5113495bSYour Name #define CFG_DP_NSS_REO_DEST_RINGS \ 757*5113495bSYour Name CFG_INI_UINT("dp_nss_reo_dest_rings", \ 758*5113495bSYour Name WLAN_CFG_NSS_NUM_REO_DEST_RING_MIN, \ 759*5113495bSYour Name WLAN_CFG_NSS_NUM_REO_DEST_RING_MAX, \ 760*5113495bSYour Name WLAN_CFG_NSS_NUM_REO_DEST_RING, \ 761*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP NSS REO Destination Rings") 762*5113495bSYour Name 763*5113495bSYour Name #define CFG_DP_NSS_TCL_DATA_RINGS \ 764*5113495bSYour Name CFG_INI_UINT("dp_nss_tcl_data_rings", \ 765*5113495bSYour Name WLAN_CFG_NSS_NUM_TCL_DATA_RINGS_MIN, \ 766*5113495bSYour Name WLAN_CFG_NSS_NUM_TCL_DATA_RINGS_MAX, \ 767*5113495bSYour Name WLAN_CFG_NSS_NUM_TCL_DATA_RINGS, \ 768*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP NSS TCL Data Rings") 769*5113495bSYour Name 770*5113495bSYour Name #define CFG_DP_TX_DESC \ 771*5113495bSYour Name CFG_INI_UINT("dp_tx_desc", \ 772*5113495bSYour Name WLAN_CFG_NUM_TX_DESC_MIN, \ 773*5113495bSYour Name WLAN_CFG_NUM_TX_DESC_MAX, \ 774*5113495bSYour Name WLAN_CFG_NUM_TX_DESC, \ 775*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP Tx Descriptors") 776*5113495bSYour Name 777*5113495bSYour Name #define CFG_DP_TX_DESC_POOL_3 \ 778*5113495bSYour Name CFG_INI_UINT("dp_tx_desc_pool_3", \ 779*5113495bSYour Name WLAN_CFG_NUM_TX_DESC_MIN, \ 780*5113495bSYour Name WLAN_CFG_NUM_TX_DESC_MAX, \ 781*5113495bSYour Name WLAN_CFG_NUM_TX_DESC, \ 782*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP Tx Descriptor of 3rd pool") 783*5113495bSYour Name 784*5113495bSYour Name #define CFG_DP_TX_SPL_DESC \ 785*5113495bSYour Name CFG_INI_UINT("dp_tx_spl_desc", \ 786*5113495bSYour Name WLAN_CFG_NUM_TX_SPL_DESC_MIN, \ 787*5113495bSYour Name WLAN_CFG_NUM_TX_SPL_DESC_MAX, \ 788*5113495bSYour Name WLAN_CFG_NUM_TX_SPL_DESC, \ 789*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP Tx Special Descriptors") 790*5113495bSYour Name 791*5113495bSYour Name #define CFG_DP_TX_EXT_DESC \ 792*5113495bSYour Name CFG_INI_UINT("dp_tx_ext_desc", \ 793*5113495bSYour Name WLAN_CFG_NUM_TX_EXT_DESC_MIN, \ 794*5113495bSYour Name WLAN_CFG_NUM_TX_EXT_DESC_MAX, \ 795*5113495bSYour Name WLAN_CFG_NUM_TX_EXT_DESC, \ 796*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP Tx Ext Descriptors") 797*5113495bSYour Name 798*5113495bSYour Name #define CFG_DP_TX_EXT_DESC_POOLS \ 799*5113495bSYour Name CFG_INI_UINT("dp_tx_ext_desc_pool", \ 800*5113495bSYour Name WLAN_CFG_NUM_TXEXT_DESC_POOL_MIN, \ 801*5113495bSYour Name WLAN_CFG_NUM_TXEXT_DESC_POOL_MAX, \ 802*5113495bSYour Name WLAN_CFG_NUM_TXEXT_DESC_POOL, \ 803*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP Tx Ext Descriptors Pool") 804*5113495bSYour Name 805*5113495bSYour Name #define CFG_DP_PDEV_RX_RING \ 806*5113495bSYour Name CFG_INI_UINT("dp_pdev_rx_ring", \ 807*5113495bSYour Name WLAN_CFG_PER_PDEV_RX_RING_MIN, \ 808*5113495bSYour Name WLAN_CFG_PER_PDEV_RX_RING_MAX, \ 809*5113495bSYour Name WLAN_CFG_PER_PDEV_RX_RING, \ 810*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP PDEV Rx Ring") 811*5113495bSYour Name 812*5113495bSYour Name #define CFG_DP_PDEV_TX_RING \ 813*5113495bSYour Name CFG_INI_UINT("dp_pdev_tx_ring", \ 814*5113495bSYour Name WLAN_CFG_PER_PDEV_TX_RING_MIN, \ 815*5113495bSYour Name WLAN_CFG_PER_PDEV_TX_RING_MAX, \ 816*5113495bSYour Name WLAN_CFG_PER_PDEV_TX_RING, \ 817*5113495bSYour Name CFG_VALUE_OR_DEFAULT, \ 818*5113495bSYour Name "DP PDEV Tx Ring") 819*5113495bSYour Name 820*5113495bSYour Name #define CFG_DP_RX_DEFRAG_TIMEOUT \ 821*5113495bSYour Name CFG_INI_UINT("dp_rx_defrag_timeout", \ 822*5113495bSYour Name WLAN_CFG_RX_DEFRAG_TIMEOUT_MIN, \ 823*5113495bSYour Name WLAN_CFG_RX_DEFRAG_TIMEOUT_MAX, \ 824*5113495bSYour Name WLAN_CFG_RX_DEFRAG_TIMEOUT, \ 825*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP Rx Defrag Timeout") 826*5113495bSYour Name 827*5113495bSYour Name #define CFG_DP_TX_COMPL_RING_SIZE \ 828*5113495bSYour Name CFG_INI_UINT("dp_tx_compl_ring_size", \ 829*5113495bSYour Name WLAN_CFG_TX_COMP_RING_SIZE_MIN, \ 830*5113495bSYour Name WLAN_CFG_TX_COMP_RING_SIZE_MAX, \ 831*5113495bSYour Name WLAN_CFG_TX_COMP_RING_SIZE, \ 832*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP Tx Completion Ring Size") 833*5113495bSYour Name 834*5113495bSYour Name #define CFG_DP_TX_RING_SIZE \ 835*5113495bSYour Name CFG_INI_UINT("dp_tx_ring_size", \ 836*5113495bSYour Name WLAN_CFG_TX_RING_SIZE_MIN,\ 837*5113495bSYour Name WLAN_CFG_TX_RING_SIZE_MAX,\ 838*5113495bSYour Name WLAN_CFG_TX_RING_SIZE,\ 839*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP Tx Ring Size") 840*5113495bSYour Name 841*5113495bSYour Name #define CFG_DP_NSS_COMP_RING_SIZE \ 842*5113495bSYour Name CFG_INI_UINT("dp_nss_comp_ring_size", \ 843*5113495bSYour Name WLAN_CFG_NSS_TX_COMP_RING_SIZE_MIN, \ 844*5113495bSYour Name WLAN_CFG_NSS_TX_COMP_RING_SIZE_MAX, \ 845*5113495bSYour Name WLAN_CFG_NSS_TX_COMP_RING_SIZE, \ 846*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP NSS completion Ring Size") 847*5113495bSYour Name 848*5113495bSYour Name #define CFG_DP_PDEV_LMAC_RING \ 849*5113495bSYour Name CFG_INI_UINT("dp_pdev_lmac_ring", \ 850*5113495bSYour Name WLAN_CFG_PER_PDEV_LMAC_RING_MIN, \ 851*5113495bSYour Name WLAN_CFG_PER_PDEV_LMAC_RING_MAX, \ 852*5113495bSYour Name WLAN_CFG_PER_PDEV_LMAC_RING, \ 853*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP pdev LMAC ring") 854*5113495bSYour Name 855*5113495bSYour Name #define CFG_DP_TIME_CONTROL_BP \ 856*5113495bSYour Name CFG_INI_UINT("dp_time_control_bp", \ 857*5113495bSYour Name WLAN_CFG_TIME_CONTROL_BP_MIN,\ 858*5113495bSYour Name WLAN_CFG_TIME_CONTROL_BP_MAX,\ 859*5113495bSYour Name WLAN_CFG_TIME_CONTROL_BP,\ 860*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP time control back pressure") 861*5113495bSYour Name 862*5113495bSYour Name #define CFG_DP_RX_BUFFER_SIZE \ 863*5113495bSYour Name CFG_INI_UINT("dp_rx_buffer_size", \ 864*5113495bSYour Name WLAN_CFG_RX_BUFFER_SIZE_MIN,\ 865*5113495bSYour Name WLAN_CFG_RX_BUFFER_SIZE_MAX,\ 866*5113495bSYour Name WLAN_CFG_RX_BUFFER_SIZE,\ 867*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP rx buffer size") 868*5113495bSYour Name 869*5113495bSYour Name #define CFG_DP_QREF_CONTROL_SIZE \ 870*5113495bSYour Name CFG_INI_UINT("dp_qref_control_size", \ 871*5113495bSYour Name WLAN_CFG_QREF_CONTROL_SIZE_MIN,\ 872*5113495bSYour Name WLAN_CFG_QREF_CONTROL_SIZE_MAX,\ 873*5113495bSYour Name WLAN_CFG_QREF_CONTROL_SIZE,\ 874*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP array size for qref debug") 875*5113495bSYour Name 876*5113495bSYour Name #ifdef CONFIG_SAWF_STATS 877*5113495bSYour Name #define CFG_DP_SAWF_STATS \ 878*5113495bSYour Name CFG_INI_UINT("dp_sawf_stats", \ 879*5113495bSYour Name WLAN_CFG_SAWF_STATS_MIN,\ 880*5113495bSYour Name WLAN_CFG_SAWF_STATS_MAX,\ 881*5113495bSYour Name WLAN_CFG_SAWF_STATS,\ 882*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP sawf stats config") 883*5113495bSYour Name #define CFG_DP_SAWF_STATS_CONFIG CFG(CFG_DP_SAWF_STATS) 884*5113495bSYour Name #else 885*5113495bSYour Name #define CFG_DP_SAWF_STATS_CONFIG 886*5113495bSYour Name #endif 887*5113495bSYour Name 888*5113495bSYour Name #ifdef WLAN_FEATURE_LOCAL_PKT_CAPTURE 889*5113495bSYour Name /* 890*5113495bSYour Name * <ini> 891*5113495bSYour Name * local_pkt_capture - Enable/Disable Local packet capture 892*5113495bSYour Name * @Default: false 893*5113495bSYour Name * 894*5113495bSYour Name * This ini is used to enable/disable local packet capture. 895*5113495bSYour Name * 896*5113495bSYour Name * Related: None 897*5113495bSYour Name * 898*5113495bSYour Name * Usage: External 899*5113495bSYour Name * 900*5113495bSYour Name * </ini> 901*5113495bSYour Name */ 902*5113495bSYour Name #define CFG_DP_LOCAL_PKT_CAPTURE \ 903*5113495bSYour Name CFG_INI_BOOL( \ 904*5113495bSYour Name "local_packet_capture", \ 905*5113495bSYour Name true, \ 906*5113495bSYour Name "Local packet capture") 907*5113495bSYour Name 908*5113495bSYour Name #define CFG_DP_LOCAL_PKT_CAPTURE_CONFIG CFG(CFG_DP_LOCAL_PKT_CAPTURE) 909*5113495bSYour Name #else 910*5113495bSYour Name #define CFG_DP_LOCAL_PKT_CAPTURE_CONFIG 911*5113495bSYour Name #endif 912*5113495bSYour Name 913*5113495bSYour Name /* 914*5113495bSYour Name * <ini> 915*5113495bSYour Name * dp_rx_pending_hl_threshold - High threshold of frame number to start 916*5113495bSYour Name * frame dropping scheme 917*5113495bSYour Name * @Min: 0 918*5113495bSYour Name * @Max: 524288 919*5113495bSYour Name * @Default: 393216 920*5113495bSYour Name * 921*5113495bSYour Name * This ini entry is used to set a high limit threshold to start frame 922*5113495bSYour Name * dropping scheme 923*5113495bSYour Name * 924*5113495bSYour Name * Usage: External 925*5113495bSYour Name * 926*5113495bSYour Name * </ini> 927*5113495bSYour Name */ 928*5113495bSYour Name #define CFG_DP_RX_PENDING_HL_THRESHOLD \ 929*5113495bSYour Name CFG_INI_UINT("dp_rx_pending_hl_threshold", \ 930*5113495bSYour Name WLAN_CFG_RX_PENDING_HL_THRESHOLD_MIN, \ 931*5113495bSYour Name WLAN_CFG_RX_PENDING_HL_THRESHOLD_MAX, \ 932*5113495bSYour Name WLAN_CFG_RX_PENDING_HL_THRESHOLD, \ 933*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP rx pending hl threshold") 934*5113495bSYour Name 935*5113495bSYour Name /* 936*5113495bSYour Name * <ini> 937*5113495bSYour Name * dp_rx_pending_lo_threshold - Low threshold of frame number to stop 938*5113495bSYour Name * frame dropping scheme 939*5113495bSYour Name * @Min: 100 940*5113495bSYour Name * @Max: 524288 941*5113495bSYour Name * @Default: 393216 942*5113495bSYour Name * 943*5113495bSYour Name * This ini entry is used to set a low limit threshold to stop frame 944*5113495bSYour Name * dropping scheme 945*5113495bSYour Name * 946*5113495bSYour Name * Usage: External 947*5113495bSYour Name * 948*5113495bSYour Name * </ini> 949*5113495bSYour Name */ 950*5113495bSYour Name #define CFG_DP_RX_PENDING_LO_THRESHOLD \ 951*5113495bSYour Name CFG_INI_UINT("dp_rx_pending_lo_threshold", \ 952*5113495bSYour Name WLAN_CFG_RX_PENDING_LO_THRESHOLD_MIN, \ 953*5113495bSYour Name WLAN_CFG_RX_PENDING_LO_THRESHOLD_MAX, \ 954*5113495bSYour Name WLAN_CFG_RX_PENDING_LO_THRESHOLD, \ 955*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP rx pending lo threshold") 956*5113495bSYour Name 957*5113495bSYour Name #define CFG_DP_BASE_HW_MAC_ID \ 958*5113495bSYour Name CFG_INI_UINT("dp_base_hw_macid", \ 959*5113495bSYour Name 0, 1, 1, \ 960*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP Base HW Mac ID") 961*5113495bSYour Name 962*5113495bSYour Name #define CFG_DP_RX_HASH \ 963*5113495bSYour Name CFG_INI_BOOL("dp_rx_hash", true, \ 964*5113495bSYour Name "DP Rx Hash") 965*5113495bSYour Name 966*5113495bSYour Name #define CFG_DP_RX_RR \ 967*5113495bSYour Name CFG_INI_BOOL("dp_rx_rr", true, \ 968*5113495bSYour Name "DP Rx Round Robin") 969*5113495bSYour Name 970*5113495bSYour Name #define CFG_DP_TSO \ 971*5113495bSYour Name CFG_INI_BOOL("TSOEnable", false, \ 972*5113495bSYour Name "DP TSO Enabled") 973*5113495bSYour Name 974*5113495bSYour Name #define CFG_DP_LRO \ 975*5113495bSYour Name CFG_INI_BOOL("LROEnable", WLAN_LRO_ENABLE, \ 976*5113495bSYour Name "DP LRO Enable") 977*5113495bSYour Name 978*5113495bSYour Name #ifdef WLAN_USE_CONFIG_PARAMS 979*5113495bSYour Name /* 980*5113495bSYour Name * <ini> 981*5113495bSYour Name * dp_tx_desc_use_512p - Use 512M tx descriptor size 982*5113495bSYour Name * @Min: 0 983*5113495bSYour Name * @Max: 1 984*5113495bSYour Name * @Default: 0 985*5113495bSYour Name * 986*5113495bSYour Name * This ini entry is used as flag to use 512M tx descriptor size or not 987*5113495bSYour Name * 988*5113495bSYour Name * Usage: Internal 989*5113495bSYour Name * 990*5113495bSYour Name * </ini> 991*5113495bSYour Name */ 992*5113495bSYour Name #define CFG_DP_TX_DESC_512P \ 993*5113495bSYour Name CFG_INI_BOOL("dp_tx_desc_use_512p", false, \ 994*5113495bSYour Name "DP TX DESC PINE SPECIFIC") 995*5113495bSYour Name 996*5113495bSYour Name /* 997*5113495bSYour Name * <ini> 998*5113495bSYour Name * dp_nss_3radio_ring - Use 3 Radio NSS comp ring size 999*5113495bSYour Name * @Min: 0 1000*5113495bSYour Name * @Max: 1 1001*5113495bSYour Name * @Default: 0 1002*5113495bSYour Name * 1003*5113495bSYour Name * This ini entry is used as flag to use 3 Radio NSS com ring size or not 1004*5113495bSYour Name * 1005*5113495bSYour Name * Usage: Internal 1006*5113495bSYour Name * 1007*5113495bSYour Name * </ini> 1008*5113495bSYour Name */ 1009*5113495bSYour Name #define CFG_DP_NSS_3RADIO_RING \ 1010*5113495bSYour Name CFG_INI_BOOL("dp_nss_3radio_ring", false, \ 1011*5113495bSYour Name "DP NSS 3 RADIO RING SIZE") 1012*5113495bSYour Name 1013*5113495bSYour Name /* 1014*5113495bSYour Name * <ini> 1015*5113495bSYour Name * dp_mon_ring_per_512M - Update monitor status ring as 512M profile 1016*5113495bSYour Name * @Min: 0 1017*5113495bSYour Name * @Max: 1 1018*5113495bSYour Name * @Default: 0 1019*5113495bSYour Name * 1020*5113495bSYour Name * This ini entry is used as flag to update monitor status ring as 512M profile 1021*5113495bSYour Name * 1022*5113495bSYour Name * Usage: Internal 1023*5113495bSYour Name * 1024*5113495bSYour Name * </ini> 1025*5113495bSYour Name */ 1026*5113495bSYour Name #define CFG_DP_MON_STATUS_512M \ 1027*5113495bSYour Name CFG_INI_BOOL("dp_mon_ring_per_512M", false, \ 1028*5113495bSYour Name "DP MON STATUS RING SIZE PER 512M PROFILE") 1029*5113495bSYour Name 1030*5113495bSYour Name /* 1031*5113495bSYour Name * <ini> 1032*5113495bSYour Name * dp_mon_2chain_ring - Reduce monitor rings size as for 2 Chains case 1033*5113495bSYour Name * @Min: 0 1034*5113495bSYour Name * @Max: 1 1035*5113495bSYour Name * @Default: 0 1036*5113495bSYour Name * 1037*5113495bSYour Name * This ini entry is used as flag to reduce monitor rings size as those used 1038*5113495bSYour Name * in case of 2 Tx/RxChains 1039*5113495bSYour Name * 1040*5113495bSYour Name * Usage: Internal 1041*5113495bSYour Name * 1042*5113495bSYour Name * </ini> 1043*5113495bSYour Name */ 1044*5113495bSYour Name #define CFG_DP_MON_2CHAIN_RING \ 1045*5113495bSYour Name CFG_INI_BOOL("dp_mon_2chain_ring", false, \ 1046*5113495bSYour Name "DP MON UPDATE RINGS FOR 2CHAIN") 1047*5113495bSYour Name 1048*5113495bSYour Name /* 1049*5113495bSYour Name * <ini> 1050*5113495bSYour Name * dp_mon_4chain_ring - Update monitor rings size for 4 Chains case 1051*5113495bSYour Name * @Min: 0 1052*5113495bSYour Name * @Max: 1 1053*5113495bSYour Name * @Default: 0 1054*5113495bSYour Name * 1055*5113495bSYour Name * This ini entry is used as flag to reduce monitor rings size as those used 1056*5113495bSYour Name * in case of 4 Tx/RxChains 1057*5113495bSYour Name * 1058*5113495bSYour Name * Usage: Internal 1059*5113495bSYour Name * 1060*5113495bSYour Name * </ini> 1061*5113495bSYour Name */ 1062*5113495bSYour Name #define CFG_DP_MON_4CHAIN_RING \ 1063*5113495bSYour Name CFG_INI_BOOL("dp_mon_4chain_ring", false, \ 1064*5113495bSYour Name "DP MON UPDATE RINGS FOR 4CHAIN") 1065*5113495bSYour Name 1066*5113495bSYour Name /* 1067*5113495bSYour Name * <ini> 1068*5113495bSYour Name * dp_4radip_rdp_reo - Update RDP REO map based on 4 radio config 1069*5113495bSYour Name * @Min: 0 1070*5113495bSYour Name * @Max: 1 1071*5113495bSYour Name * @Default: 0 1072*5113495bSYour Name * 1073*5113495bSYour Name * This ini entry is used as flag to update RDP reo map based on 4 Radio config 1074*5113495bSYour Name * 1075*5113495bSYour Name * Usage: Internal 1076*5113495bSYour Name * 1077*5113495bSYour Name * </ini> 1078*5113495bSYour Name */ 1079*5113495bSYour Name #define CFG_DP_4RADIO_RDP_REO \ 1080*5113495bSYour Name CFG_INI_BOOL("dp_nss_4radio_rdp_reo", \ 1081*5113495bSYour Name false, "Update REO destination mapping for 4radio") 1082*5113495bSYour Name 1083*5113495bSYour Name #define CFG_DP_INI_SECTION_PARAMS \ 1084*5113495bSYour Name CFG(CFG_DP_NSS_3RADIO_RING) \ 1085*5113495bSYour Name CFG(CFG_DP_TX_DESC_512P) \ 1086*5113495bSYour Name CFG(CFG_DP_MON_STATUS_512M) \ 1087*5113495bSYour Name CFG(CFG_DP_MON_2CHAIN_RING) \ 1088*5113495bSYour Name CFG(CFG_DP_MON_4CHAIN_RING) \ 1089*5113495bSYour Name CFG(CFG_DP_4RADIO_RDP_REO) 1090*5113495bSYour Name #else 1091*5113495bSYour Name #define CFG_DP_INI_SECTION_PARAMS 1092*5113495bSYour Name #endif 1093*5113495bSYour Name 1094*5113495bSYour Name /* 1095*5113495bSYour Name * <ini> 1096*5113495bSYour Name * CFG_DP_SG - Enable the SG feature standalonely 1097*5113495bSYour Name * @Min: 0 1098*5113495bSYour Name * @Max: 1 1099*5113495bSYour Name * @Default: 1 1100*5113495bSYour Name * 1101*5113495bSYour Name * This ini entry is used to enable/disable SG feature standalonely. 1102*5113495bSYour Name * Also does Rome support SG on TX, lithium does not. 1103*5113495bSYour Name * For example the lithium does not support SG on UDP frames. 1104*5113495bSYour Name * Which is able to handle SG only for TSO frames(in case TSO is enabled). 1105*5113495bSYour Name * 1106*5113495bSYour Name * Usage: External 1107*5113495bSYour Name * 1108*5113495bSYour Name * </ini> 1109*5113495bSYour Name */ 1110*5113495bSYour Name #define CFG_DP_SG \ 1111*5113495bSYour Name CFG_INI_BOOL("dp_sg_support", false, \ 1112*5113495bSYour Name "DP SG Enable") 1113*5113495bSYour Name 1114*5113495bSYour Name #define WLAN_CFG_GRO_ENABLE_MIN 0 1115*5113495bSYour Name #define WLAN_CFG_GRO_ENABLE_MAX 3 1116*5113495bSYour Name #define WLAN_CFG_GRO_ENABLE_DEFAULT 0 1117*5113495bSYour Name #define DP_GRO_ENABLE_BIT_SET BIT(0) 1118*5113495bSYour Name #define DP_TC_BASED_DYNAMIC_GRO BIT(1) 1119*5113495bSYour Name 1120*5113495bSYour Name /* 1121*5113495bSYour Name * <ini> 1122*5113495bSYour Name * CFG_DP_GRO - Enable the GRO feature standalonely 1123*5113495bSYour Name * @Min: 0 1124*5113495bSYour Name * @Max: 3 1125*5113495bSYour Name * @Default: 0 1126*5113495bSYour Name * 1127*5113495bSYour Name * This ini entry is used to enable/disable GRO feature standalonely. 1128*5113495bSYour Name * Value 0: Disable GRO feature 1129*5113495bSYour Name * Value 1: Enable GRO feature always 1130*5113495bSYour Name * Value 3: Enable GRO dynamic feature where TC rule can control GRO 1131*5113495bSYour Name * behavior 1132*5113495bSYour Name * 1133*5113495bSYour Name * Usage: External 1134*5113495bSYour Name * 1135*5113495bSYour Name * </ini> 1136*5113495bSYour Name */ 1137*5113495bSYour Name #define CFG_DP_GRO \ 1138*5113495bSYour Name CFG_INI_UINT("GROEnable", \ 1139*5113495bSYour Name WLAN_CFG_GRO_ENABLE_MIN, \ 1140*5113495bSYour Name WLAN_CFG_GRO_ENABLE_MAX, \ 1141*5113495bSYour Name WLAN_CFG_GRO_ENABLE_DEFAULT, \ 1142*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP GRO Enable") 1143*5113495bSYour Name 1144*5113495bSYour Name #define WLAN_CFG_TC_INGRESS_PRIO_MIN 0 1145*5113495bSYour Name #define WLAN_CFG_TC_INGRESS_PRIO_MAX 0xFFFF 1146*5113495bSYour Name #define WLAN_CFG_TC_INGRESS_PRIO_DEFAULT 0 1147*5113495bSYour Name 1148*5113495bSYour Name #define CFG_DP_TC_INGRESS_PRIO \ 1149*5113495bSYour Name CFG_INI_UINT("tc_ingress_prio", \ 1150*5113495bSYour Name WLAN_CFG_TC_INGRESS_PRIO_MIN, \ 1151*5113495bSYour Name WLAN_CFG_TC_INGRESS_PRIO_MAX, \ 1152*5113495bSYour Name WLAN_CFG_TC_INGRESS_PRIO_DEFAULT, \ 1153*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP tc ingress prio") 1154*5113495bSYour Name 1155*5113495bSYour Name #define CFG_DP_OL_TX_CSUM \ 1156*5113495bSYour Name CFG_INI_BOOL("dp_offload_tx_csum_support", false, \ 1157*5113495bSYour Name "DP tx csum Enable") 1158*5113495bSYour Name 1159*5113495bSYour Name #define CFG_DP_OL_RX_CSUM \ 1160*5113495bSYour Name CFG_INI_BOOL("dp_offload_rx_csum_support", false, \ 1161*5113495bSYour Name "DP rx csum Enable") 1162*5113495bSYour Name 1163*5113495bSYour Name #define CFG_DP_RAWMODE \ 1164*5113495bSYour Name CFG_INI_BOOL("dp_rawmode_support", false, \ 1165*5113495bSYour Name "DP rawmode Enable") 1166*5113495bSYour Name 1167*5113495bSYour Name #define CFG_DP_PEER_FLOW_CTRL \ 1168*5113495bSYour Name CFG_INI_BOOL("dp_peer_flow_control_support", false, \ 1169*5113495bSYour Name "DP peer flow ctrl Enable") 1170*5113495bSYour Name 1171*5113495bSYour Name #define CFG_DP_NAPI \ 1172*5113495bSYour Name CFG_INI_BOOL("dp_napi_enabled", PLATFORM_VALUE(true, false), \ 1173*5113495bSYour Name "DP Napi Enabled") 1174*5113495bSYour Name /* 1175*5113495bSYour Name * <ini> 1176*5113495bSYour Name * gEnableP2pIpTcpUdpChecksumOffload - Enable checksum offload for P2P mode 1177*5113495bSYour Name * @Min: 0 1178*5113495bSYour Name * @Max: 1 1179*5113495bSYour Name * @Default: 1 1180*5113495bSYour Name * 1181*5113495bSYour Name * This ini entry is used to enable/disable TX checksum(UDP/TCP) for P2P modes. 1182*5113495bSYour Name * This includes P2P device mode, P2P client mode and P2P GO mode. 1183*5113495bSYour Name * The feature is enabled by default. To disable TX checksum for P2P, add the 1184*5113495bSYour Name * following entry in ini file: 1185*5113495bSYour Name * gEnableP2pIpTcpUdpChecksumOffload=0 1186*5113495bSYour Name * 1187*5113495bSYour Name * Usage: External 1188*5113495bSYour Name * 1189*5113495bSYour Name * </ini> 1190*5113495bSYour Name */ 1191*5113495bSYour Name #define CFG_DP_P2P_TCP_UDP_CKSUM_OFFLOAD \ 1192*5113495bSYour Name CFG_INI_BOOL("gEnableP2pIpTcpUdpChecksumOffload", true, \ 1193*5113495bSYour Name "DP TCP UDP Checksum Offload for P2P mode (device/cli/go)") 1194*5113495bSYour Name 1195*5113495bSYour Name /* 1196*5113495bSYour Name * <ini> 1197*5113495bSYour Name * gEnableNanIpTcpUdpChecksumOffload - Enable checksum offload for NAN mode 1198*5113495bSYour Name * @Min: 0 1199*5113495bSYour Name * @Max: 1 1200*5113495bSYour Name * @Default: 1 1201*5113495bSYour Name * 1202*5113495bSYour Name * Usage: External 1203*5113495bSYour Name * 1204*5113495bSYour Name * </ini> 1205*5113495bSYour Name */ 1206*5113495bSYour Name #define CFG_DP_NAN_TCP_UDP_CKSUM_OFFLOAD \ 1207*5113495bSYour Name CFG_INI_BOOL("gEnableNanIpTcpUdpChecksumOffload", true, \ 1208*5113495bSYour Name "DP TCP UDP Checksum Offload for NAN mode") 1209*5113495bSYour Name 1210*5113495bSYour Name /* 1211*5113495bSYour Name * <ini> 1212*5113495bSYour Name * gEnableIpTcpUdpChecksumOffload - Enable checksum offload 1213*5113495bSYour Name * @Min: 0 1214*5113495bSYour Name * @Max: 1 1215*5113495bSYour Name * @Default: 1 1216*5113495bSYour Name * 1217*5113495bSYour Name * Usage: External 1218*5113495bSYour Name * 1219*5113495bSYour Name * </ini> 1220*5113495bSYour Name */ 1221*5113495bSYour Name #define CFG_DP_TCP_UDP_CKSUM_OFFLOAD \ 1222*5113495bSYour Name CFG_INI_BOOL("gEnableIpTcpUdpChecksumOffload", true, \ 1223*5113495bSYour Name "DP TCP UDP Checksum Offload") 1224*5113495bSYour Name 1225*5113495bSYour Name #define CFG_DP_DEFRAG_TIMEOUT_CHECK \ 1226*5113495bSYour Name CFG_INI_BOOL("dp_defrag_timeout_check", true, \ 1227*5113495bSYour Name "DP Defrag Timeout Check") 1228*5113495bSYour Name 1229*5113495bSYour Name #define CFG_DP_WBM_RELEASE_RING \ 1230*5113495bSYour Name CFG_INI_UINT("dp_wbm_release_ring", \ 1231*5113495bSYour Name WLAN_CFG_WBM_RELEASE_RING_SIZE_MIN, \ 1232*5113495bSYour Name WLAN_CFG_WBM_RELEASE_RING_SIZE_MAX, \ 1233*5113495bSYour Name WLAN_CFG_WBM_RELEASE_RING_SIZE, \ 1234*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP WBM Release Ring") 1235*5113495bSYour Name 1236*5113495bSYour Name #define CFG_DP_TCL_CMD_CREDIT_RING \ 1237*5113495bSYour Name CFG_INI_UINT("dp_tcl_cmd_credit_ring", \ 1238*5113495bSYour Name WLAN_CFG_TCL_CMD_CREDIT_RING_SIZE_MIN, \ 1239*5113495bSYour Name WLAN_CFG_TCL_CMD_CREDIT_RING_SIZE_MAX, \ 1240*5113495bSYour Name WLAN_CFG_TCL_CMD_CREDIT_RING_SIZE, \ 1241*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP TCL Cmd_Credit ring") 1242*5113495bSYour Name 1243*5113495bSYour Name #define CFG_DP_TCL_STATUS_RING \ 1244*5113495bSYour Name CFG_INI_UINT("dp_tcl_status_ring",\ 1245*5113495bSYour Name WLAN_CFG_TCL_STATUS_RING_SIZE_MIN, \ 1246*5113495bSYour Name WLAN_CFG_TCL_STATUS_RING_SIZE_MAX, \ 1247*5113495bSYour Name WLAN_CFG_TCL_STATUS_RING_SIZE, \ 1248*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP TCL status ring") 1249*5113495bSYour Name 1250*5113495bSYour Name #define CFG_DP_REO_REINJECT_RING \ 1251*5113495bSYour Name CFG_INI_UINT("dp_reo_reinject_ring", \ 1252*5113495bSYour Name WLAN_CFG_REO_REINJECT_RING_SIZE_MIN, \ 1253*5113495bSYour Name WLAN_CFG_REO_REINJECT_RING_SIZE_MAX, \ 1254*5113495bSYour Name WLAN_CFG_REO_REINJECT_RING_SIZE, \ 1255*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP REO reinject ring") 1256*5113495bSYour Name 1257*5113495bSYour Name #define CFG_DP_RX_RELEASE_RING \ 1258*5113495bSYour Name CFG_INI_UINT("dp_rx_release_ring", \ 1259*5113495bSYour Name WLAN_CFG_RX_RELEASE_RING_SIZE_MIN, \ 1260*5113495bSYour Name WLAN_CFG_RX_RELEASE_RING_SIZE_MAX, \ 1261*5113495bSYour Name WLAN_CFG_RX_RELEASE_RING_SIZE, \ 1262*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP Rx release ring") 1263*5113495bSYour Name 1264*5113495bSYour Name #define CFG_DP_RX_DESTINATION_RING \ 1265*5113495bSYour Name CFG_INI_UINT("dp_reo_dst_ring", \ 1266*5113495bSYour Name WLAN_CFG_REO_DST_RING_SIZE_MIN, \ 1267*5113495bSYour Name WLAN_CFG_REO_DST_RING_SIZE_MAX, \ 1268*5113495bSYour Name WLAN_CFG_REO_DST_RING_SIZE, \ 1269*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP REO destination ring") 1270*5113495bSYour Name 1271*5113495bSYour Name #define CFG_DP_REO_EXCEPTION_RING \ 1272*5113495bSYour Name CFG_INI_UINT("dp_reo_exception_ring", \ 1273*5113495bSYour Name WLAN_CFG_REO_EXCEPTION_RING_SIZE_MIN, \ 1274*5113495bSYour Name WLAN_CFG_REO_EXCEPTION_RING_SIZE_MAX, \ 1275*5113495bSYour Name WLAN_CFG_REO_EXCEPTION_RING_SIZE, \ 1276*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP REO exception ring") 1277*5113495bSYour Name 1278*5113495bSYour Name #define CFG_DP_REO_CMD_RING \ 1279*5113495bSYour Name CFG_INI_UINT("dp_reo_cmd_ring", \ 1280*5113495bSYour Name WLAN_CFG_REO_CMD_RING_SIZE_MIN, \ 1281*5113495bSYour Name WLAN_CFG_REO_CMD_RING_SIZE_MAX, \ 1282*5113495bSYour Name WLAN_CFG_REO_CMD_RING_SIZE, \ 1283*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP REO command ring") 1284*5113495bSYour Name 1285*5113495bSYour Name #define CFG_DP_REO_STATUS_RING \ 1286*5113495bSYour Name CFG_INI_UINT("dp_reo_status_ring", \ 1287*5113495bSYour Name WLAN_CFG_REO_STATUS_RING_SIZE_MIN, \ 1288*5113495bSYour Name WLAN_CFG_REO_STATUS_RING_SIZE_MAX, \ 1289*5113495bSYour Name WLAN_CFG_REO_STATUS_RING_SIZE, \ 1290*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP REO status ring") 1291*5113495bSYour Name 1292*5113495bSYour Name #define CFG_DP_RXDMA_BUF_RING \ 1293*5113495bSYour Name CFG_INI_UINT("dp_rxdma_buf_ring", \ 1294*5113495bSYour Name WLAN_CFG_RXDMA_BUF_RING_SIZE_MIN, \ 1295*5113495bSYour Name WLAN_CFG_RXDMA_BUF_RING_SIZE_MAX, \ 1296*5113495bSYour Name WLAN_CFG_RXDMA_BUF_RING_SIZE, \ 1297*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP RXDMA buffer ring") 1298*5113495bSYour Name 1299*5113495bSYour Name #define CFG_DP_RXDMA_REFILL_RING \ 1300*5113495bSYour Name CFG_INI_UINT("dp_rxdma_refill_ring", \ 1301*5113495bSYour Name WLAN_CFG_RXDMA_REFILL_RING_SIZE_MIN, \ 1302*5113495bSYour Name WLAN_CFG_RXDMA_REFILL_RING_SIZE_MAX, \ 1303*5113495bSYour Name WLAN_CFG_RXDMA_REFILL_RING_SIZE, \ 1304*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP RXDMA refilll ring") 1305*5113495bSYour Name 1306*5113495bSYour Name #define CFG_DP_RXDMA_REFILL_LT_DISABLE \ 1307*5113495bSYour Name CFG_INI_BOOL("dp_disable_rx_buf_low_threshold", false, \ 1308*5113495bSYour Name "Disable Low threshold interrupts for Rx Refill ring") 1309*5113495bSYour Name 1310*5113495bSYour Name #define CFG_DP_TX_DESC_LIMIT_0 \ 1311*5113495bSYour Name CFG_INI_UINT("dp_tx_desc_limit_0", \ 1312*5113495bSYour Name WLAN_CFG_TX_DESC_LIMIT_0_MIN, \ 1313*5113495bSYour Name WLAN_CFG_TX_DESC_LIMIT_0_MAX, \ 1314*5113495bSYour Name WLAN_CFG_TX_DESC_LIMIT_0, \ 1315*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP TX DESC limit 0") 1316*5113495bSYour Name 1317*5113495bSYour Name #define CFG_DP_TX_DESC_LIMIT_1 \ 1318*5113495bSYour Name CFG_INI_UINT("dp_tx_desc_limit_1", \ 1319*5113495bSYour Name WLAN_CFG_TX_DESC_LIMIT_1_MIN, \ 1320*5113495bSYour Name WLAN_CFG_TX_DESC_LIMIT_1_MAX, \ 1321*5113495bSYour Name WLAN_CFG_TX_DESC_LIMIT_1, \ 1322*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP TX DESC limit 1") 1323*5113495bSYour Name 1324*5113495bSYour Name #define CFG_DP_TX_DESC_LIMIT_2 \ 1325*5113495bSYour Name CFG_INI_UINT("dp_tx_desc_limit_2", \ 1326*5113495bSYour Name WLAN_CFG_TX_DESC_LIMIT_2_MIN, \ 1327*5113495bSYour Name WLAN_CFG_TX_DESC_LIMIT_2_MAX, \ 1328*5113495bSYour Name WLAN_CFG_TX_DESC_LIMIT_2, \ 1329*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP TX DESC limit 2") 1330*5113495bSYour Name 1331*5113495bSYour Name #define CFG_DP_TX_DEVICE_LIMIT \ 1332*5113495bSYour Name CFG_INI_UINT("dp_tx_device_limit", \ 1333*5113495bSYour Name WLAN_CFG_TX_DEVICE_LIMIT_MIN, \ 1334*5113495bSYour Name WLAN_CFG_TX_DEVICE_LIMIT_MAX, \ 1335*5113495bSYour Name WLAN_CFG_TX_DEVICE_LIMIT, \ 1336*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP TX DEVICE limit") 1337*5113495bSYour Name 1338*5113495bSYour Name #define CFG_DP_TX_SPL_DEVICE_LIMIT \ 1339*5113495bSYour Name CFG_INI_UINT("dp_tx_spl_device_limit", \ 1340*5113495bSYour Name WLAN_CFG_TX_SPL_DEVICE_LIMIT_MIN, \ 1341*5113495bSYour Name WLAN_CFG_TX_SPL_DEVICE_LIMIT_MAX, \ 1342*5113495bSYour Name WLAN_CFG_TX_SPL_DEVICE_LIMIT, \ 1343*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP TX Special DEVICE limit") 1344*5113495bSYour Name 1345*5113495bSYour Name #define CFG_DP_TX_SW_INTERNODE_QUEUE \ 1346*5113495bSYour Name CFG_INI_UINT("dp_tx_sw_internode_queue", \ 1347*5113495bSYour Name WLAN_CFG_TX_SW_INTERNODE_QUEUE_MIN, \ 1348*5113495bSYour Name WLAN_CFG_TX_SW_INTERNODE_QUEUE_MAX, \ 1349*5113495bSYour Name WLAN_CFG_TX_SW_INTERNODE_QUEUE, \ 1350*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP TX SW internode queue") 1351*5113495bSYour Name 1352*5113495bSYour Name #define CFG_DP_TX_DESC_GLOBAL_COUNT \ 1353*5113495bSYour Name CFG_INI_UINT("dp_tx_desc_global", \ 1354*5113495bSYour Name WLAN_CFG_TX_DESC_GLOBAL_COUNT_MIN, \ 1355*5113495bSYour Name WLAN_CFG_TX_DESC_GLOBAL_COUNT_MAX, \ 1356*5113495bSYour Name WLAN_CFG_TX_DESC_GLOBAL_COUNT, \ 1357*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP Global TX descriptor count") 1358*5113495bSYour Name 1359*5113495bSYour Name #define CFG_DP_SPCL_TX_DESC_GLOBAL_COUNT \ 1360*5113495bSYour Name CFG_INI_UINT("dp_spcl_tx_desc_global", \ 1361*5113495bSYour Name WLAN_CFG_SPCL_TX_DESC_GLOBAL_COUNT_MIN, \ 1362*5113495bSYour Name WLAN_CFG_SPCL_TX_DESC_GLOBAL_COUNT_MAX, \ 1363*5113495bSYour Name WLAN_CFG_SPCL_TX_DESC_GLOBAL_COUNT, \ 1364*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP Global special TX descriptor count") 1365*5113495bSYour Name 1366*5113495bSYour Name #define CFG_DP_RXDMA_MONITOR_BUF_RING \ 1367*5113495bSYour Name CFG_INI_UINT("dp_rxdma_monitor_buf_ring", \ 1368*5113495bSYour Name WLAN_CFG_RXDMA_MONITOR_BUF_RING_SIZE_MIN, \ 1369*5113495bSYour Name WLAN_CFG_RXDMA_MONITOR_BUF_RING_SIZE_MAX, \ 1370*5113495bSYour Name WLAN_CFG_RXDMA_MONITOR_BUF_RING_SIZE, \ 1371*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP RXDMA monitor buffer ring") 1372*5113495bSYour Name 1373*5113495bSYour Name #define CFG_DP_TX_MONITOR_BUF_RING \ 1374*5113495bSYour Name CFG_INI_UINT("dp_tx_monitor_buf_ring", \ 1375*5113495bSYour Name WLAN_CFG_TX_MONITOR_BUF_RING_SIZE_MIN, \ 1376*5113495bSYour Name WLAN_CFG_TX_MONITOR_BUF_RING_SIZE_MAX, \ 1377*5113495bSYour Name WLAN_CFG_TX_MONITOR_BUF_RING_SIZE, \ 1378*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP TX monitor buffer ring") 1379*5113495bSYour Name 1380*5113495bSYour Name #define CFG_DP_RXDMA_MONITOR_DST_RING \ 1381*5113495bSYour Name CFG_INI_UINT("dp_rxdma_monitor_dst_ring", \ 1382*5113495bSYour Name WLAN_CFG_RXDMA_MONITOR_DST_RING_SIZE_MIN, \ 1383*5113495bSYour Name WLAN_CFG_RXDMA_MONITOR_DST_RING_SIZE_MAX, \ 1384*5113495bSYour Name WLAN_CFG_RXDMA_MONITOR_DST_RING_SIZE, \ 1385*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP RXDMA monitor destination ring") 1386*5113495bSYour Name 1387*5113495bSYour Name #define CFG_DP_TX_MONITOR_DST_RING \ 1388*5113495bSYour Name CFG_INI_UINT("dp_tx_monitor_dst_ring", \ 1389*5113495bSYour Name WLAN_CFG_TX_MONITOR_DST_RING_SIZE_MIN, \ 1390*5113495bSYour Name WLAN_CFG_TX_MONITOR_DST_RING_SIZE_MAX, \ 1391*5113495bSYour Name WLAN_CFG_TX_MONITOR_DST_RING_SIZE, \ 1392*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP TX monitor destination ring") 1393*5113495bSYour Name 1394*5113495bSYour Name #define CFG_DP_RXDMA_MONITOR_STATUS_RING \ 1395*5113495bSYour Name CFG_INI_UINT("dp_rxdma_monitor_status_ring", \ 1396*5113495bSYour Name WLAN_CFG_RXDMA_MONITOR_STATUS_RING_SIZE_MIN, \ 1397*5113495bSYour Name WLAN_CFG_RXDMA_MONITOR_STATUS_RING_SIZE_MAX, \ 1398*5113495bSYour Name WLAN_CFG_RXDMA_MONITOR_STATUS_RING_SIZE, \ 1399*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP RXDMA monitor status ring") 1400*5113495bSYour Name 1401*5113495bSYour Name #define CFG_DP_RXDMA_MONITOR_DESC_RING \ 1402*5113495bSYour Name CFG_INI_UINT("dp_rxdma_monitor_desc_ring", \ 1403*5113495bSYour Name WLAN_CFG_RXDMA_MONITOR_DESC_RING_SIZE_MIN, \ 1404*5113495bSYour Name WLAN_CFG_RXDMA_MONITOR_DESC_RING_SIZE_MAX, \ 1405*5113495bSYour Name WLAN_CFG_RXDMA_MONITOR_DESC_RING_SIZE, \ 1406*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP RXDMA monitor destination ring") 1407*5113495bSYour Name 1408*5113495bSYour Name #define CFG_DP_SW2RXDMA_LINK_RING \ 1409*5113495bSYour Name CFG_INI_UINT("dp_sw2rxdma_link_ring", \ 1410*5113495bSYour Name WLAN_CFG_SW2RXDMA_LINK_RING_SIZE_MIN, \ 1411*5113495bSYour Name WLAN_CFG_SW2RXDMA_LINK_RING_SIZE_MAX, \ 1412*5113495bSYour Name WLAN_CFG_SW2RXDMA_LINK_RING_SIZE, \ 1413*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP SW2RXDMA link ring") 1414*5113495bSYour Name 1415*5113495bSYour Name #define CFG_DP_RXDMA_ERR_DST_RING \ 1416*5113495bSYour Name CFG_INI_UINT("dp_rxdma_err_dst_ring", \ 1417*5113495bSYour Name WLAN_CFG_RXDMA_ERR_DST_RING_SIZE_MIN, \ 1418*5113495bSYour Name WLAN_CFG_RXDMA_ERR_DST_RING_SIZE_MAX, \ 1419*5113495bSYour Name WLAN_CFG_RXDMA_ERR_DST_RING_SIZE, \ 1420*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "RXDMA err destination ring") 1421*5113495bSYour Name 1422*5113495bSYour Name #define CFG_DP_PER_PKT_LOGGING \ 1423*5113495bSYour Name CFG_INI_UINT("enable_verbose_debug", \ 1424*5113495bSYour Name 0, 0xffff, 0, \ 1425*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "Enable excessive per packet logging") 1426*5113495bSYour Name 1427*5113495bSYour Name #define CFG_DP_TX_FLOW_START_QUEUE_OFFSET \ 1428*5113495bSYour Name CFG_INI_UINT("TxFlowStartQueueOffset", \ 1429*5113495bSYour Name 0, 30, WLAN_CFG_TX_FLOW_START_QUEUE_OFFSET, \ 1430*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "Start queue offset") 1431*5113495bSYour Name 1432*5113495bSYour Name #define CFG_DP_TX_FLOW_STOP_QUEUE_TH \ 1433*5113495bSYour Name CFG_INI_UINT("TxFlowStopQueueThreshold", \ 1434*5113495bSYour Name 0, 50, 15, \ 1435*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "Stop queue Threshold") 1436*5113495bSYour Name 1437*5113495bSYour Name #define CFG_DP_IPA_UC_TX_BUF_SIZE \ 1438*5113495bSYour Name CFG_INI_UINT("IpaUcTxBufSize", \ 1439*5113495bSYour Name 0, 4096, WLAN_CFG_IPA_UC_TX_BUF_SIZE, \ 1440*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "IPA tx buffer size") 1441*5113495bSYour Name 1442*5113495bSYour Name #define CFG_DP_IPA_UC_TX_PARTITION_BASE \ 1443*5113495bSYour Name CFG_INI_UINT("IpaUcTxPartitionBase", \ 1444*5113495bSYour Name 0, 9000, WLAN_CFG_IPA_UC_TX_PARTITION_BASE, \ 1445*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "IPA tx partition base") 1446*5113495bSYour Name 1447*5113495bSYour Name #define CFG_DP_IPA_UC_RX_IND_RING_COUNT \ 1448*5113495bSYour Name CFG_INI_UINT("IpaUcRxIndRingCount", \ 1449*5113495bSYour Name 0, 2048, WLAN_CFG_IPA_UC_RX_IND_RING_COUNT, \ 1450*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "IPA rx indication ring count") 1451*5113495bSYour Name 1452*5113495bSYour Name #define CFG_DP_AP_STA_SECURITY_SEPERATION \ 1453*5113495bSYour Name CFG_INI_BOOL("gDisableIntraBssFwd", \ 1454*5113495bSYour Name false, "Disable intrs BSS Rx packets") 1455*5113495bSYour Name 1456*5113495bSYour Name #define CFG_DP_ENABLE_DATA_STALL_DETECTION \ 1457*5113495bSYour Name CFG_INI_UINT("gEnableDataStallDetection", \ 1458*5113495bSYour Name 0, 0xFFFFFFFF, 0x1, \ 1459*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "Enable/Disable Data stall detection") 1460*5113495bSYour Name 1461*5113495bSYour Name #define CFG_DP_RX_SW_DESC_WEIGHT \ 1462*5113495bSYour Name CFG_INI_UINT("dp_rx_sw_desc_weight", \ 1463*5113495bSYour Name WLAN_CFG_RX_SW_DESC_WEIGHT_SIZE_MIN, \ 1464*5113495bSYour Name WLAN_CFG_RX_SW_DESC_WEIGHT_SIZE_MAX, \ 1465*5113495bSYour Name WLAN_CFG_RX_SW_DESC_WEIGHT_SIZE, \ 1466*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP RX SW DESC weight") 1467*5113495bSYour Name 1468*5113495bSYour Name #define CFG_DP_RX_SW_DESC_NUM \ 1469*5113495bSYour Name CFG_INI_UINT("dp_rx_sw_desc_num", \ 1470*5113495bSYour Name WLAN_CFG_RX_SW_DESC_NUM_SIZE_MIN, \ 1471*5113495bSYour Name WLAN_CFG_RX_SW_DESC_NUM_SIZE_MAX, \ 1472*5113495bSYour Name WLAN_CFG_RX_SW_DESC_NUM_SIZE, \ 1473*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP RX SW DESC num") 1474*5113495bSYour Name 1475*5113495bSYour Name #define CFG_DP_RX_FLOW_SEARCH_TABLE_SIZE \ 1476*5113495bSYour Name CFG_INI_UINT("dp_rx_flow_search_table_size", \ 1477*5113495bSYour Name WLAN_CFG_RX_FLOW_SEARCH_TABLE_SIZE_MIN, \ 1478*5113495bSYour Name WLAN_CFG_RX_FLOW_SEARCH_TABLE_SIZE_MAX, \ 1479*5113495bSYour Name WLAN_CFG_RX_FLOW_SEARCH_TABLE_SIZE_DEFAULT, \ 1480*5113495bSYour Name CFG_VALUE_OR_DEFAULT, \ 1481*5113495bSYour Name "DP Rx Flow Search Table Size in number of entries") 1482*5113495bSYour Name 1483*5113495bSYour Name #define CFG_DP_RX_FLOW_TAG_ENABLE \ 1484*5113495bSYour Name CFG_INI_BOOL("dp_rx_flow_tag_enable", false, \ 1485*5113495bSYour Name "Enable/Disable DP Rx Flow Tag") 1486*5113495bSYour Name 1487*5113495bSYour Name #define CFG_DP_RX_FLOW_SEARCH_TABLE_PER_PDEV \ 1488*5113495bSYour Name CFG_INI_BOOL("dp_rx_per_pdev_flow_search", false, \ 1489*5113495bSYour Name "DP Rx Flow Search Table Is Per PDev") 1490*5113495bSYour Name 1491*5113495bSYour Name #define CFG_DP_RX_MON_PROTOCOL_FLOW_TAG_ENABLE \ 1492*5113495bSYour Name CFG_INI_BOOL("dp_rx_monitor_protocol_flow_tag_enable", true, \ 1493*5113495bSYour Name "Enable/Disable Rx Protocol & Flow tags in Monitor mode") 1494*5113495bSYour Name 1495*5113495bSYour Name #define CFG_DP_TX_PER_PKT_VDEV_ID_CHECK \ 1496*5113495bSYour Name CFG_INI_BOOL("dp_tx_allow_per_pkt_vdev_id_check", false, \ 1497*5113495bSYour Name "Enable/Disable tx Per Pkt vdev id check") 1498*5113495bSYour Name 1499*5113495bSYour Name #define CFG_DP_HANDLE_INVALID_DECAP_TYPE_DISABLE \ 1500*5113495bSYour Name CFG_INI_BOOL("dp_handle_invalid_decap_type_disable", false, \ 1501*5113495bSYour Name "Enable/Disable DP TLV out of order WAR") 1502*5113495bSYour Name 1503*5113495bSYour Name #define CFG_DP_TXMON_SW_PEER_FILTERING \ 1504*5113495bSYour Name CFG_INI_BOOL("tx_litemon_sw_peer_filtering", false, \ 1505*5113495bSYour Name "Enable SW based tx monitor peer fitlering") 1506*5113495bSYour Name 1507*5113495bSYour Name #define CFG_DP_POINTER_TIMER_THRESHOLD_RX \ 1508*5113495bSYour Name CFG_INI_UINT("dp_rx_ptr_timer_threshold", \ 1509*5113495bSYour Name 0, 0xFFFF, 0, \ 1510*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "RX pointer update timer threshold") 1511*5113495bSYour Name 1512*5113495bSYour Name #define CFG_DP_POINTER_NUM_THRESHOLD_RX \ 1513*5113495bSYour Name CFG_INI_UINT("dp_rx_ptr_num_threshold", \ 1514*5113495bSYour Name 0, 63, 0, \ 1515*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "RX pointer update entries number threshold") 1516*5113495bSYour Name 1517*5113495bSYour Name #define CFG_DP_RXDMA_MONITOR_RX_DROP_THRESHOLD \ 1518*5113495bSYour Name CFG_INI_UINT("mon_drop_thresh", \ 1519*5113495bSYour Name WLAN_CFG_RXDMA_MONITOR_RX_DROP_THRESH_SIZE_MIN, \ 1520*5113495bSYour Name WLAN_CFG_RXDMA_MONITOR_RX_DROP_THRESH_SIZE_MAX, \ 1521*5113495bSYour Name WLAN_CFG_RXDMA_MONITOR_RX_DROP_THRESH_SIZE, \ 1522*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "RXDMA monitor rx drop threshold") 1523*5113495bSYour Name 1524*5113495bSYour Name #define CFG_DP_PKTLOG_BUFFER_SIZE \ 1525*5113495bSYour Name CFG_INI_UINT("PktlogBufSize", \ 1526*5113495bSYour Name WLAN_CFG_PKTLOG_MIN_BUFFER_SIZE, \ 1527*5113495bSYour Name WLAN_CFG_PKTLOG_MAX_BUFFER_SIZE, \ 1528*5113495bSYour Name WLAN_CFG_PKTLOG_BUFFER_SIZE, \ 1529*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "Packet Log buffer size") 1530*5113495bSYour Name 1531*5113495bSYour Name #define CFG_DP_FULL_MON_MODE \ 1532*5113495bSYour Name CFG_INI_BOOL("full_mon_mode", \ 1533*5113495bSYour Name false, "Full Monitor mode support") 1534*5113495bSYour Name 1535*5113495bSYour Name #define CFG_DP_REO_RINGS_MAP \ 1536*5113495bSYour Name CFG_INI_UINT("dp_reo_rings_map", \ 1537*5113495bSYour Name WLAN_CFG_NUM_REO_RINGS_MAP_MIN, \ 1538*5113495bSYour Name WLAN_CFG_NUM_REO_RINGS_MAP_MAX, \ 1539*5113495bSYour Name WLAN_CFG_NUM_REO_RINGS_MAP, \ 1540*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "REO Destination Rings Mapping") 1541*5113495bSYour Name 1542*5113495bSYour Name #define CFG_DP_RX_RADIO_0_DEFAULT_REO \ 1543*5113495bSYour Name CFG_INI_UINT("dp_rx_radio0_default_reo", \ 1544*5113495bSYour Name WLAN_CFG_RADIO_DEFAULT_REO_MIN, \ 1545*5113495bSYour Name WLAN_CFG_RADIO_DEFAULT_REO_MAX, \ 1546*5113495bSYour Name WLAN_CFG_RADIO_0_DEFAULT_REO, \ 1547*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "Radio0 to REO destination default mapping") 1548*5113495bSYour Name 1549*5113495bSYour Name #define CFG_DP_RX_RADIO_1_DEFAULT_REO \ 1550*5113495bSYour Name CFG_INI_UINT("dp_rx_radio1_default_reo", \ 1551*5113495bSYour Name WLAN_CFG_RADIO_DEFAULT_REO_MIN, \ 1552*5113495bSYour Name WLAN_CFG_RADIO_DEFAULT_REO_MAX, \ 1553*5113495bSYour Name WLAN_CFG_RADIO_1_DEFAULT_REO, \ 1554*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "Radio1 to REO destination default mapping") 1555*5113495bSYour Name 1556*5113495bSYour Name #define CFG_DP_RX_RADIO_2_DEFAULT_REO \ 1557*5113495bSYour Name CFG_INI_UINT("dp_rx_radio2_default_reo", \ 1558*5113495bSYour Name WLAN_CFG_RADIO_DEFAULT_REO_MIN, \ 1559*5113495bSYour Name WLAN_CFG_RADIO_DEFAULT_REO_MAX, \ 1560*5113495bSYour Name WLAN_CFG_RADIO_2_DEFAULT_REO, \ 1561*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "Radio2 to REO destination default mapping") 1562*5113495bSYour Name 1563*5113495bSYour Name #define CFG_DP_PEER_EXT_STATS \ 1564*5113495bSYour Name CFG_INI_BOOL("peer_ext_stats", \ 1565*5113495bSYour Name false, "Peer extended stats") 1566*5113495bSYour Name 1567*5113495bSYour Name #if defined QCA_ENHANCED_STATS_SUPPORT || defined DP_MLO_LINK_STATS_SUPPORT 1568*5113495bSYour Name #define DEFAULT_PEER_LINK_STATS_VALUE true 1569*5113495bSYour Name #else 1570*5113495bSYour Name #define DEFAULT_PEER_LINK_STATS_VALUE false 1571*5113495bSYour Name #endif /* QCA_ENHANCED_STATS_SUPPORT */ 1572*5113495bSYour Name 1573*5113495bSYour Name #define CFG_DP_PEER_LINK_STATS \ 1574*5113495bSYour Name CFG_INI_BOOL("peer_link_stats", \ 1575*5113495bSYour Name DEFAULT_PEER_LINK_STATS_VALUE, "Peer Link stats") 1576*5113495bSYour Name 1577*5113495bSYour Name #define CFG_DP_PEER_JITTER_STATS \ 1578*5113495bSYour Name CFG_INI_BOOL("peer_jitter_stats", \ 1579*5113495bSYour Name false, "Peer Jitter stats") 1580*5113495bSYour Name 1581*5113495bSYour Name #define CFG_DP_NAPI_SCALE_FACTOR \ 1582*5113495bSYour Name CFG_INI_UINT("dp_napi_scale_factor", \ 1583*5113495bSYour Name WLAN_CFG_DP_NAPI_SCALE_FACTOR_MIN, \ 1584*5113495bSYour Name WLAN_CFG_DP_NAPI_SCALE_FACTOR_MAX, \ 1585*5113495bSYour Name WLAN_CFG_DP_NAPI_SCALE_FACTOR, \ 1586*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "NAPI scale factor for DP") 1587*5113495bSYour Name 1588*5113495bSYour Name #define CFG_DP_STATS_AVG_RATE_FILTER \ 1589*5113495bSYour Name CFG_INI_UINT("dp_stats_avg_rate_filter_val", \ 1590*5113495bSYour Name WLAN_CFG_DP_AVG_RATE_FILTER_MIN,\ 1591*5113495bSYour Name WLAN_CFG_DP_AVG_RATE_FILTER_MAX, \ 1592*5113495bSYour Name WLAN_CFG_DP_AVG_RATE_FILTER_DEFAULT, \ 1593*5113495bSYour Name CFG_VALUE_OR_DEFAULT, \ 1594*5113495bSYour Name "Average Rate filter for stats") 1595*5113495bSYour Name 1596*5113495bSYour Name /* 1597*5113495bSYour Name * <ini> 1598*5113495bSYour Name * legacy_mode_csum_disable - Disable csum offload for legacy 802.11abg modes 1599*5113495bSYour Name * @Min: 0 1600*5113495bSYour Name * @Max: 1 1601*5113495bSYour Name * @Default: Default value indicating if checksum should be disabled for 1602*5113495bSYour Name * legacy WLAN modes 1603*5113495bSYour Name * 1604*5113495bSYour Name * This ini is used to disable HW checksum offload capability for legacy 1605*5113495bSYour Name * connections 1606*5113495bSYour Name * 1607*5113495bSYour Name * Related: gEnableIpTcpUdpChecksumOffload should be enabled 1608*5113495bSYour Name * 1609*5113495bSYour Name * Usage: Internal 1610*5113495bSYour Name * 1611*5113495bSYour Name * </ini> 1612*5113495bSYour Name */ 1613*5113495bSYour Name #ifndef DP_LEGACY_MODE_CSM_DEFAULT_DISABLE 1614*5113495bSYour Name #define DP_LEGACY_MODE_CSM_DEFAULT_DISABLE 1 1615*5113495bSYour Name #endif 1616*5113495bSYour Name 1617*5113495bSYour Name #define CFG_DP_LEGACY_MODE_CSUM_DISABLE \ 1618*5113495bSYour Name CFG_INI_BOOL("legacy_mode_csum_disable", \ 1619*5113495bSYour Name DP_LEGACY_MODE_CSM_DEFAULT_DISABLE, \ 1620*5113495bSYour Name "Enable/Disable legacy mode checksum") 1621*5113495bSYour Name 1622*5113495bSYour Name #define CFG_DP_RX_BUFF_POOL_ENABLE \ 1623*5113495bSYour Name CFG_INI_BOOL("dp_rx_buff_prealloc_pool", false, \ 1624*5113495bSYour Name "Enable/Disable DP RX emergency buffer pool support") 1625*5113495bSYour Name 1626*5113495bSYour Name #define CFG_DP_RX_REFILL_BUFF_POOL_ENABLE \ 1627*5113495bSYour Name CFG_INI_BOOL("dp_rx_refill_buff_pool", false, \ 1628*5113495bSYour Name "Enable/Disable DP RX refill buffer pool support") 1629*5113495bSYour Name 1630*5113495bSYour Name #define CFG_DP_BUFS_PAGE_FRAG_ALLOCS \ 1631*5113495bSYour Name CFG_INI_BOOL("dp_bufs_page_frag_allocs", true, \ 1632*5113495bSYour Name "Enable/Disable forced DP page frage buffer allocations") 1633*5113495bSYour Name 1634*5113495bSYour Name #define CFG_DP_POLL_MODE_ENABLE \ 1635*5113495bSYour Name CFG_INI_BOOL("dp_poll_mode_enable", false, \ 1636*5113495bSYour Name "Enable/Disable Polling mode for data path") 1637*5113495bSYour Name 1638*5113495bSYour Name #define CFG_DP_RX_FST_IN_CMEM \ 1639*5113495bSYour Name CFG_INI_BOOL("dp_rx_fst_in_cmem", false, \ 1640*5113495bSYour Name "Enable/Disable flow search table in CMEM") 1641*5113495bSYour Name /* 1642*5113495bSYour Name * <ini> 1643*5113495bSYour Name * gEnableSWLM - Control DP Software latency manager 1644*5113495bSYour Name * @Min: 0 1645*5113495bSYour Name * @Max: 1 1646*5113495bSYour Name * @Default: 0 1647*5113495bSYour Name * 1648*5113495bSYour Name * This ini is used to enable DP Software latency Manager 1649*5113495bSYour Name * 1650*5113495bSYour Name * Supported Feature: STA,P2P and SAP IPA disabled terminating 1651*5113495bSYour Name * 1652*5113495bSYour Name * Usage: Internal 1653*5113495bSYour Name * 1654*5113495bSYour Name * </ini> 1655*5113495bSYour Name */ 1656*5113495bSYour Name #define CFG_DP_SWLM_ENABLE \ 1657*5113495bSYour Name CFG_INI_BOOL("gEnableSWLM", false, \ 1658*5113495bSYour Name "Enable/Disable DP SWLM") 1659*5113495bSYour Name /* 1660*5113495bSYour Name * <ini> 1661*5113495bSYour Name * wow_check_rx_pending_enable - control to check RX frames pending in Wow 1662*5113495bSYour Name * @Min: 0 1663*5113495bSYour Name * @Max: 1 1664*5113495bSYour Name * @Default: 0 1665*5113495bSYour Name * 1666*5113495bSYour Name * This ini is used to control DP Software to perform RX pending check 1667*5113495bSYour Name * before entering WoW mode 1668*5113495bSYour Name * 1669*5113495bSYour Name * Usage: Internal 1670*5113495bSYour Name * 1671*5113495bSYour Name * </ini> 1672*5113495bSYour Name */ 1673*5113495bSYour Name #define CFG_DP_WOW_CHECK_RX_PENDING \ 1674*5113495bSYour Name CFG_INI_BOOL("wow_check_rx_pending_enable", \ 1675*5113495bSYour Name false, \ 1676*5113495bSYour Name "enable rx frame pending check in WoW mode") 1677*5113495bSYour Name #define CFG_DP_DELAY_MON_REPLENISH \ 1678*5113495bSYour Name CFG_INI_BOOL("delay_mon_replenish", \ 1679*5113495bSYour Name true, "Delay Monitor Replenish") 1680*5113495bSYour Name 1681*5113495bSYour Name #ifdef QCA_VDEV_STATS_HW_OFFLOAD_SUPPORT 1682*5113495bSYour Name #define WLAN_CFG_INT_VDEV_STATS_HW_OFFLOAD_TIMER_MIN 500 1683*5113495bSYour Name #define WLAN_CFG_INT_VDEV_STATS_HW_OFFLOAD_TIMER_MAX 2000 1684*5113495bSYour Name #define WLAN_CFG_INT_VDEV_STATS_HW_OFFLOAD_TIMER 500 1685*5113495bSYour Name 1686*5113495bSYour Name #define CFG_DP_VDEV_STATS_HW_OFFLOAD_CONFIG \ 1687*5113495bSYour Name CFG_INI_BOOL("vdev_stats_hw_offload_config", \ 1688*5113495bSYour Name false, "Offload vdev stats to HW") 1689*5113495bSYour Name #define CFG_DP_VDEV_STATS_HW_OFFLOAD_TIMER \ 1690*5113495bSYour Name CFG_INI_UINT("vdev_stats_hw_offload_timer", \ 1691*5113495bSYour Name WLAN_CFG_INT_VDEV_STATS_HW_OFFLOAD_TIMER_MIN, \ 1692*5113495bSYour Name WLAN_CFG_INT_VDEV_STATS_HW_OFFLOAD_TIMER_MAX, \ 1693*5113495bSYour Name WLAN_CFG_INT_VDEV_STATS_HW_OFFLOAD_TIMER, \ 1694*5113495bSYour Name CFG_VALUE_OR_DEFAULT, \ 1695*5113495bSYour Name "vdev stats hw offload timer duration") 1696*5113495bSYour Name #define CFG_DP_VDEV_STATS_HW_OFFLOAD \ 1697*5113495bSYour Name CFG(CFG_DP_VDEV_STATS_HW_OFFLOAD_CONFIG) \ 1698*5113495bSYour Name CFG(CFG_DP_VDEV_STATS_HW_OFFLOAD_TIMER) 1699*5113495bSYour Name #else 1700*5113495bSYour Name #define CFG_DP_VDEV_STATS_HW_OFFLOAD 1701*5113495bSYour Name #endif 1702*5113495bSYour Name 1703*5113495bSYour Name /* 1704*5113495bSYour Name * <ini> 1705*5113495bSYour Name * ghw_cc_enable - enable HW cookie conversion by register 1706*5113495bSYour Name * @Min: 0 1707*5113495bSYour Name * @Max: 1 1708*5113495bSYour Name * @Default: 1 1709*5113495bSYour Name * 1710*5113495bSYour Name * This ini is used to control HW based 20 bits cookie to 64 bits 1711*5113495bSYour Name * Desc virtual address conversion 1712*5113495bSYour Name * 1713*5113495bSYour Name * Usage: Internal 1714*5113495bSYour Name * 1715*5113495bSYour Name * </ini> 1716*5113495bSYour Name */ 1717*5113495bSYour Name #define CFG_DP_HW_CC_ENABLE \ 1718*5113495bSYour Name CFG_INI_BOOL("ghw_cc_enable", \ 1719*5113495bSYour Name true, "Enable/Disable HW cookie conversion") 1720*5113495bSYour Name 1721*5113495bSYour Name #ifdef IPA_OFFLOAD 1722*5113495bSYour Name /* 1723*5113495bSYour Name * <ini> 1724*5113495bSYour Name * dp_ipa_tx_ring_size - Set tcl ring size for IPA 1725*5113495bSYour Name * @Min: 1024 1726*5113495bSYour Name * @Max: 8096 1727*5113495bSYour Name * @Default: 1024 1728*5113495bSYour Name * 1729*5113495bSYour Name * This ini sets the tcl ring size for IPA 1730*5113495bSYour Name * 1731*5113495bSYour Name * Related: N/A 1732*5113495bSYour Name * 1733*5113495bSYour Name * Supported Feature: IPA 1734*5113495bSYour Name * 1735*5113495bSYour Name * Usage: Internal 1736*5113495bSYour Name * 1737*5113495bSYour Name * </ini> 1738*5113495bSYour Name */ 1739*5113495bSYour Name #define CFG_DP_IPA_TX_RING_SIZE \ 1740*5113495bSYour Name CFG_INI_UINT("dp_ipa_tx_ring_size", \ 1741*5113495bSYour Name WLAN_CFG_IPA_TX_RING_SIZE_MIN, \ 1742*5113495bSYour Name WLAN_CFG_IPA_TX_RING_SIZE_MAX, \ 1743*5113495bSYour Name WLAN_CFG_IPA_TX_RING_SIZE, \ 1744*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "IPA TCL ring size") 1745*5113495bSYour Name 1746*5113495bSYour Name /* 1747*5113495bSYour Name * <ini> 1748*5113495bSYour Name * dp_ipa_tx_comp_ring_size - Set tx comp ring size for IPA 1749*5113495bSYour Name * @Min: 1024 1750*5113495bSYour Name * @Max: 8096 1751*5113495bSYour Name * @Default: 1024 1752*5113495bSYour Name * 1753*5113495bSYour Name * This ini sets the tx comp ring size for IPA 1754*5113495bSYour Name * 1755*5113495bSYour Name * Related: N/A 1756*5113495bSYour Name * 1757*5113495bSYour Name * Supported Feature: IPA 1758*5113495bSYour Name * 1759*5113495bSYour Name * Usage: Internal 1760*5113495bSYour Name * 1761*5113495bSYour Name * </ini> 1762*5113495bSYour Name */ 1763*5113495bSYour Name #define CFG_DP_IPA_TX_COMP_RING_SIZE \ 1764*5113495bSYour Name CFG_INI_UINT("dp_ipa_tx_comp_ring_size", \ 1765*5113495bSYour Name WLAN_CFG_IPA_TX_COMP_RING_SIZE_MIN, \ 1766*5113495bSYour Name WLAN_CFG_IPA_TX_COMP_RING_SIZE_MAX, \ 1767*5113495bSYour Name WLAN_CFG_IPA_TX_COMP_RING_SIZE, \ 1768*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "IPA tx comp ring size") 1769*5113495bSYour Name 1770*5113495bSYour Name #ifdef IPA_WDI3_TX_TWO_PIPES 1771*5113495bSYour Name /* 1772*5113495bSYour Name * <ini> 1773*5113495bSYour Name * dp_ipa_tx_alt_ring_size - Set alt tcl ring size for IPA 1774*5113495bSYour Name * @Min: 1024 1775*5113495bSYour Name * @Max: 8096 1776*5113495bSYour Name * @Default: 1024 1777*5113495bSYour Name * 1778*5113495bSYour Name * This ini sets the alt tcl ring size for IPA 1779*5113495bSYour Name * 1780*5113495bSYour Name * Related: N/A 1781*5113495bSYour Name * 1782*5113495bSYour Name * Supported Feature: IPA 1783*5113495bSYour Name * 1784*5113495bSYour Name * Usage: Internal 1785*5113495bSYour Name * 1786*5113495bSYour Name * </ini> 1787*5113495bSYour Name */ 1788*5113495bSYour Name #define CFG_DP_IPA_TX_ALT_RING_SIZE \ 1789*5113495bSYour Name CFG_INI_UINT("dp_ipa_tx_alt_ring_size", \ 1790*5113495bSYour Name WLAN_CFG_IPA_TX_ALT_RING_SIZE_MIN, \ 1791*5113495bSYour Name WLAN_CFG_IPA_TX_ALT_RING_SIZE_MAX, \ 1792*5113495bSYour Name WLAN_CFG_IPA_TX_ALT_RING_SIZE, \ 1793*5113495bSYour Name CFG_VALUE_OR_DEFAULT, \ 1794*5113495bSYour Name "DP IPA TX Alternative Ring Size") 1795*5113495bSYour Name 1796*5113495bSYour Name /* 1797*5113495bSYour Name * <ini> 1798*5113495bSYour Name * dp_ipa_tx_alt_comp_ring_size - Set tx alt comp ring size for IPA 1799*5113495bSYour Name * @Min: 1024 1800*5113495bSYour Name * @Max: 8096 1801*5113495bSYour Name * @Default: 1024 1802*5113495bSYour Name * 1803*5113495bSYour Name * This ini sets the tx alt comp ring size for IPA 1804*5113495bSYour Name * 1805*5113495bSYour Name * Related: N/A 1806*5113495bSYour Name * 1807*5113495bSYour Name * Supported Feature: IPA 1808*5113495bSYour Name * 1809*5113495bSYour Name * Usage: Internal 1810*5113495bSYour Name * 1811*5113495bSYour Name * </ini> 1812*5113495bSYour Name */ 1813*5113495bSYour Name #define CFG_DP_IPA_TX_ALT_COMP_RING_SIZE \ 1814*5113495bSYour Name CFG_INI_UINT("dp_ipa_tx_alt_comp_ring_size", \ 1815*5113495bSYour Name WLAN_CFG_IPA_TX_ALT_COMP_RING_SIZE_MIN, \ 1816*5113495bSYour Name WLAN_CFG_IPA_TX_ALT_COMP_RING_SIZE_MAX, \ 1817*5113495bSYour Name WLAN_CFG_IPA_TX_ALT_COMP_RING_SIZE, \ 1818*5113495bSYour Name CFG_VALUE_OR_DEFAULT, \ 1819*5113495bSYour Name "DP IPA TX Alternative Completion Ring Size") 1820*5113495bSYour Name 1821*5113495bSYour Name #define CFG_DP_IPA_TX_ALT_RING_CFG \ 1822*5113495bSYour Name CFG(CFG_DP_IPA_TX_ALT_RING_SIZE) \ 1823*5113495bSYour Name CFG(CFG_DP_IPA_TX_ALT_COMP_RING_SIZE) 1824*5113495bSYour Name 1825*5113495bSYour Name #else 1826*5113495bSYour Name #define CFG_DP_IPA_TX_ALT_RING_CFG 1827*5113495bSYour Name #endif 1828*5113495bSYour Name 1829*5113495bSYour Name #define CFG_DP_IPA_TX_RING_CFG \ 1830*5113495bSYour Name CFG(CFG_DP_IPA_TX_RING_SIZE) \ 1831*5113495bSYour Name CFG(CFG_DP_IPA_TX_COMP_RING_SIZE) 1832*5113495bSYour Name #else 1833*5113495bSYour Name #define CFG_DP_IPA_TX_RING_CFG 1834*5113495bSYour Name #define CFG_DP_IPA_TX_ALT_RING_CFG 1835*5113495bSYour Name #endif 1836*5113495bSYour Name 1837*5113495bSYour Name #ifdef WLAN_SUPPORT_PPEDS 1838*5113495bSYour Name #define WLAN_CFG_NUM_PPEDS_TX_DESC_MIN 16 1839*5113495bSYour Name #define WLAN_CFG_NUM_PPEDS_TX_DESC_MAX 0xFA00 1840*5113495bSYour Name #define WLAN_CFG_NUM_PPEDS_TX_DESC 0x8000 1841*5113495bSYour Name 1842*5113495bSYour Name #define WLAN_CFG_NUM_PPEDS_TX_CMP_NAPI_MIN 8 1843*5113495bSYour Name #define WLAN_CFG_NUM_PPEDS_TX_CMP_NAPI_MAX 256 1844*5113495bSYour Name #define WLAN_CFG_NUM_PPEDS_TX_CMP_NAPI 64 1845*5113495bSYour Name 1846*5113495bSYour Name #define WLAN_CFG_PPEDS_TX_DESC_HOTLIST_LEN_MIN 0 1847*5113495bSYour Name #define WLAN_CFG_PPEDS_TX_DESC_HOTLIST_LEN_MAX 0x2000 1848*5113495bSYour Name #define WLAN_CFG_PPEDS_TX_DESC_HOTLIST_LEN 0x400 1849*5113495bSYour Name 1850*5113495bSYour Name #define CFG_DP_PPEDS_TX_DESC \ 1851*5113495bSYour Name CFG_INI_UINT("dp_ppeds_tx_desc", \ 1852*5113495bSYour Name WLAN_CFG_NUM_PPEDS_TX_DESC_MIN, \ 1853*5113495bSYour Name WLAN_CFG_NUM_PPEDS_TX_DESC_MAX, \ 1854*5113495bSYour Name WLAN_CFG_NUM_PPEDS_TX_DESC, \ 1855*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP PPEDS Tx Descriptors") 1856*5113495bSYour Name 1857*5113495bSYour Name #define CFG_DP_PPEDS_TX_DESC_HOTLIST_LEN \ 1858*5113495bSYour Name CFG_INI_UINT("dp_ppeds_tx_desc_hotlist_len", \ 1859*5113495bSYour Name WLAN_CFG_PPEDS_TX_DESC_HOTLIST_LEN_MIN, \ 1860*5113495bSYour Name WLAN_CFG_PPEDS_TX_DESC_HOTLIST_LEN_MAX, \ 1861*5113495bSYour Name WLAN_CFG_PPEDS_TX_DESC_HOTLIST_LEN, \ 1862*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP PPEDS Tx Desc hotlist length") 1863*5113495bSYour Name 1864*5113495bSYour Name #define CFG_DP_PPEDS_TX_CMP_NAPI_BUDGET \ 1865*5113495bSYour Name CFG_INI_UINT("dp_ppeds_tx_cmp_napi_budget", \ 1866*5113495bSYour Name WLAN_CFG_NUM_PPEDS_TX_CMP_NAPI_MIN, \ 1867*5113495bSYour Name WLAN_CFG_NUM_PPEDS_TX_CMP_NAPI_MAX, \ 1868*5113495bSYour Name WLAN_CFG_NUM_PPEDS_TX_CMP_NAPI, \ 1869*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP PPEDS Tx Comp handler napi budget") 1870*5113495bSYour Name 1871*5113495bSYour Name #define CFG_DP_PPEDS_ENABLE \ 1872*5113495bSYour Name CFG_INI_BOOL("ppe_ds_enable", true, \ 1873*5113495bSYour Name "DP ppe enable flag") 1874*5113495bSYour Name 1875*5113495bSYour Name #define CFG_DP_REO2PPE_RING \ 1876*5113495bSYour Name CFG_INI_UINT("dp_reo2ppe_ring", \ 1877*5113495bSYour Name WLAN_CFG_REO2PPE_RING_SIZE_MIN, \ 1878*5113495bSYour Name WLAN_CFG_REO2PPE_RING_SIZE_MAX, \ 1879*5113495bSYour Name WLAN_CFG_REO2PPE_RING_SIZE, \ 1880*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP REO2PPE ring") 1881*5113495bSYour Name 1882*5113495bSYour Name #define CFG_DP_PPE2TCL_RING \ 1883*5113495bSYour Name CFG_INI_UINT("dp_ppe2tcl_ring", \ 1884*5113495bSYour Name WLAN_CFG_PPE2TCL_RING_SIZE_MIN, \ 1885*5113495bSYour Name WLAN_CFG_PPE2TCL_RING_SIZE_MAX, \ 1886*5113495bSYour Name WLAN_CFG_PPE2TCL_RING_SIZE, \ 1887*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP PPE2TCL rings") 1888*5113495bSYour Name 1889*5113495bSYour Name #define CFG_DP_PPEDS_WIFI_SOC_CFG \ 1890*5113495bSYour Name CFG_INI_UINT("ppeds_wifi_soc_cfg", \ 1891*5113495bSYour Name CFG_DP_PPEDS_WIFI_SOC_CFG_NONE, \ 1892*5113495bSYour Name CFG_DP_PPEDS_WIFI_SOC_CFG_ALL, \ 1893*5113495bSYour Name CFG_DP_PPEDS_WIFI_SOC_CFG_DEFAULT, \ 1894*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "PPEDS enable per WiFi SoC") 1895*5113495bSYour Name 1896*5113495bSYour Name #define CFG_DP_PPEDS_CONFIG \ 1897*5113495bSYour Name CFG(CFG_DP_PPEDS_TX_CMP_NAPI_BUDGET) \ 1898*5113495bSYour Name CFG(CFG_DP_PPEDS_TX_DESC_HOTLIST_LEN) \ 1899*5113495bSYour Name CFG(CFG_DP_PPEDS_TX_DESC) \ 1900*5113495bSYour Name CFG(CFG_DP_PPEDS_ENABLE) \ 1901*5113495bSYour Name CFG(CFG_DP_REO2PPE_RING) \ 1902*5113495bSYour Name CFG(CFG_DP_PPE2TCL_RING) \ 1903*5113495bSYour Name CFG(CFG_DP_PPEDS_WIFI_SOC_CFG) 1904*5113495bSYour Name #else 1905*5113495bSYour Name #define CFG_DP_PPEDS_CONFIG 1906*5113495bSYour Name #define WLAN_CFG_NUM_PPEDS_TX_DESC_MAX 0 1907*5113495bSYour Name #endif 1908*5113495bSYour Name 1909*5113495bSYour Name #define WLAN_CFG_SPECIAL_MSK_MIN 0 1910*5113495bSYour Name #define WLAN_CFG_SPECIAL_MSK_MAX 0xFFFFFFFF 1911*5113495bSYour Name #define WLAN_CFG_SPECIAL_MSK 0xF 1912*5113495bSYour Name 1913*5113495bSYour Name #if defined(WLAN_FEATURE_11BE_MLO) && defined(WLAN_MLO_MULTI_CHIP) 1914*5113495bSYour Name /* 1915*5113495bSYour Name * <ini> 1916*5113495bSYour Name * dp_chip0_rx_ring_map - Set Rx ring map for CHIP 0 1917*5113495bSYour Name * @Min: 0x0 1918*5113495bSYour Name * @Max: 0xFF 1919*5113495bSYour Name * @Default: 0xF 1920*5113495bSYour Name * 1921*5113495bSYour Name * This ini sets Rx ring map for CHIP 0 1922*5113495bSYour Name * 1923*5113495bSYour Name * Usage: Internal 1924*5113495bSYour Name * 1925*5113495bSYour Name * </ini> 1926*5113495bSYour Name */ 1927*5113495bSYour Name #define CFG_DP_MLO_RX_RING_MAP \ 1928*5113495bSYour Name CFG_INI_UINT("dp_mlo_reo_rings_map", \ 1929*5113495bSYour Name WLAN_CFG_MLO_RX_RING_MAP_MIN, \ 1930*5113495bSYour Name WLAN_CFG_MLO_RX_RING_MAP_MAX, \ 1931*5113495bSYour Name WLAN_CFG_MLO_RX_RING_MAP, \ 1932*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP MLO Rx ring map") 1933*5113495bSYour Name 1934*5113495bSYour Name 1935*5113495bSYour Name #define CFG_DP_MLO_CONFIG \ 1936*5113495bSYour Name CFG(CFG_DP_MLO_RX_RING_MAP) 1937*5113495bSYour Name #else 1938*5113495bSYour Name #define CFG_DP_MLO_CONFIG 1939*5113495bSYour Name #endif 1940*5113495bSYour Name 1941*5113495bSYour Name /* 1942*5113495bSYour Name * <ini> 1943*5113495bSYour Name * dp_mpdu_retry_threshold_1 - threshold to increment mpdu success with retries 1944*5113495bSYour Name * @Min: 0 1945*5113495bSYour Name * @Max: 255 1946*5113495bSYour Name * @Default: 0 1947*5113495bSYour Name * 1948*5113495bSYour Name * This ini entry is used to set first threshold to increment the value of 1949*5113495bSYour Name * mpdu_success_with_retries 1950*5113495bSYour Name * 1951*5113495bSYour Name * Usage: Internal 1952*5113495bSYour Name * 1953*5113495bSYour Name * </ini> 1954*5113495bSYour Name */ 1955*5113495bSYour Name #define CFG_DP_MPDU_RETRY_THRESHOLD_1 \ 1956*5113495bSYour Name CFG_INI_UINT("dp_mpdu_retry_threshold_1", \ 1957*5113495bSYour Name CFG_DP_MPDU_RETRY_THRESHOLD_MIN, \ 1958*5113495bSYour Name CFG_DP_MPDU_RETRY_THRESHOLD_MAX, \ 1959*5113495bSYour Name CFG_DP_MPDU_RETRY_THRESHOLD, \ 1960*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP mpdu retry threshold 1") 1961*5113495bSYour Name 1962*5113495bSYour Name /* 1963*5113495bSYour Name * <ini> 1964*5113495bSYour Name * dp_mpdu_retry_threshold_2 - threshold to increment mpdu success with retries 1965*5113495bSYour Name * @Min: 0 1966*5113495bSYour Name * @Max: 255 1967*5113495bSYour Name * @Default: 0 1968*5113495bSYour Name * 1969*5113495bSYour Name * This ini entry is used to set second threshold to increment the value of 1970*5113495bSYour Name * mpdu_success_with_retries 1971*5113495bSYour Name * 1972*5113495bSYour Name * Usage: Internal 1973*5113495bSYour Name * 1974*5113495bSYour Name * </ini> 1975*5113495bSYour Name */ 1976*5113495bSYour Name #define CFG_DP_MPDU_RETRY_THRESHOLD_2 \ 1977*5113495bSYour Name CFG_INI_UINT("dp_mpdu_retry_threshold_2", \ 1978*5113495bSYour Name CFG_DP_MPDU_RETRY_THRESHOLD_MIN, \ 1979*5113495bSYour Name CFG_DP_MPDU_RETRY_THRESHOLD_MAX, \ 1980*5113495bSYour Name CFG_DP_MPDU_RETRY_THRESHOLD, \ 1981*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "DP mpdu retry threshold 2") 1982*5113495bSYour Name 1983*5113495bSYour Name #ifdef QCA_SUPPORT_TX_MIN_RATES_FOR_SPECIAL_FRAMES 1984*5113495bSYour Name /* Macro enabling support marking of notify frames by host */ 1985*5113495bSYour Name #define DP_MARK_NOTIFY_FRAME_SUPPORT 1 1986*5113495bSYour Name #else 1987*5113495bSYour Name #define DP_MARK_NOTIFY_FRAME_SUPPORT 0 1988*5113495bSYour Name #endif /* QCA_SUPPORT_TX_MIN_RATES_FOR_SPECIAL_FRAMES */ 1989*5113495bSYour Name 1990*5113495bSYour Name /* 1991*5113495bSYour Name * <ini> 1992*5113495bSYour Name * Host DP AST entries database - Enable/Disable 1993*5113495bSYour Name * 1994*5113495bSYour Name * @Default: 0 1995*5113495bSYour Name * 1996*5113495bSYour Name * This ini enables/disables AST entries database on host 1997*5113495bSYour Name * 1998*5113495bSYour Name * Usage: Internal 1999*5113495bSYour Name * 2000*5113495bSYour Name * </ini> 2001*5113495bSYour Name */ 2002*5113495bSYour Name #define CFG_DP_HOST_AST_DB_ENABLE \ 2003*5113495bSYour Name CFG_INI_BOOL("host_ast_db_enable", false, \ 2004*5113495bSYour Name "Host AST entries database Enable/Disable") 2005*5113495bSYour Name 2006*5113495bSYour Name #ifdef DP_TX_PACKET_INSPECT_FOR_ILP 2007*5113495bSYour Name /* 2008*5113495bSYour Name * <ini> 2009*5113495bSYour Name * TX packet inspect for ILP - Enable/Disable 2010*5113495bSYour Name * 2011*5113495bSYour Name * @Default: true 2012*5113495bSYour Name * 2013*5113495bSYour Name * This ini enable/disables TX packet inspection for ILP feature 2014*5113495bSYour Name * 2015*5113495bSYour Name * Usage: Internal 2016*5113495bSYour Name * 2017*5113495bSYour Name * </ini> 2018*5113495bSYour Name */ 2019*5113495bSYour Name #define CFG_TX_PKT_INSPECT_FOR_ILP \ 2020*5113495bSYour Name CFG_INI_BOOL("tx_pkt_inspect_for_ilp", true, \ 2021*5113495bSYour Name "TX packet inspect for ILP") 2022*5113495bSYour Name #define CFG_TX_PKT_INSPECT_FOR_ILP_CFG CFG(CFG_TX_PKT_INSPECT_FOR_ILP) 2023*5113495bSYour Name #else 2024*5113495bSYour Name #define CFG_TX_PKT_INSPECT_FOR_ILP_CFG 2025*5113495bSYour Name #endif 2026*5113495bSYour Name 2027*5113495bSYour Name /* 2028*5113495bSYour Name * <ini> 2029*5113495bSYour Name * special_frame_msk - frame mask to mark special frame type 2030*5113495bSYour Name * @Min: 0 2031*5113495bSYour Name * @Max: 0xFFFFFFFF 2032*5113495bSYour Name * @Default: 15 2033*5113495bSYour Name * 2034*5113495bSYour Name * This ini entry is used to set frame types to deliver to stack 2035*5113495bSYour Name * in error receive path 2036*5113495bSYour Name * 2037*5113495bSYour Name * Usage: External 2038*5113495bSYour Name * 2039*5113495bSYour Name * </ini> 2040*5113495bSYour Name */ 2041*5113495bSYour Name #define CFG_SPECIAL_FRAME_MSK \ 2042*5113495bSYour Name CFG_INI_UINT("special_frame_msk", \ 2043*5113495bSYour Name WLAN_CFG_SPECIAL_MSK_MIN, \ 2044*5113495bSYour Name WLAN_CFG_SPECIAL_MSK_MAX, \ 2045*5113495bSYour Name WLAN_CFG_SPECIAL_MSK, \ 2046*5113495bSYour Name CFG_VALUE_OR_DEFAULT, "special frame to deliver to stack") 2047*5113495bSYour Name 2048*5113495bSYour Name #ifdef DP_UMAC_HW_RESET_SUPPORT 2049*5113495bSYour Name #define CFG_DP_UMAC_RESET_BUFFER_WINDOW_MIN 100 2050*5113495bSYour Name #define CFG_DP_UMAC_RESET_BUFFER_WINDOW_MAX 10000 2051*5113495bSYour Name #define CFG_DP_UMAC_RESET_BUFFER_WINDOW_DEFAULT 1000 2052*5113495bSYour Name 2053*5113495bSYour Name #define CFG_DP_UMAC_RESET_BUFFER_WINDOW \ 2054*5113495bSYour Name CFG_INI_UINT("umac_reset_buffer_window", \ 2055*5113495bSYour Name CFG_DP_UMAC_RESET_BUFFER_WINDOW_MIN, \ 2056*5113495bSYour Name CFG_DP_UMAC_RESET_BUFFER_WINDOW_MAX, \ 2057*5113495bSYour Name CFG_DP_UMAC_RESET_BUFFER_WINDOW_DEFAULT, \ 2058*5113495bSYour Name CFG_VALUE_OR_DEFAULT, \ 2059*5113495bSYour Name "Buffer time to check if umac reset was in progress during this window, configured time is in milliseconds") 2060*5113495bSYour Name #define CFG_DP_UMAC_RESET_BUFFER_WINDOW_CFG CFG(CFG_DP_UMAC_RESET_BUFFER_WINDOW) 2061*5113495bSYour Name #else 2062*5113495bSYour Name #define CFG_DP_UMAC_RESET_BUFFER_WINDOW_CFG 2063*5113495bSYour Name #endif /* DP_UMAC_HW_RESET_SUPPORT */ 2064*5113495bSYour Name 2065*5113495bSYour Name #define CFG_DP \ 2066*5113495bSYour Name CFG(CFG_DP_HTT_PACKET_TYPE) \ 2067*5113495bSYour Name CFG(CFG_DP_INT_BATCH_THRESHOLD_OTHER) \ 2068*5113495bSYour Name CFG(CFG_DP_INT_BATCH_THRESHOLD_MON_DEST) \ 2069*5113495bSYour Name CFG(CFG_DP_INT_BATCH_THRESHOLD_PPE2TCL) \ 2070*5113495bSYour Name CFG(CFG_DP_INT_BATCH_THRESHOLD_RX) \ 2071*5113495bSYour Name CFG(CFG_DP_INT_BATCH_THRESHOLD_TX) \ 2072*5113495bSYour Name CFG(CFG_DP_INT_TIMER_THRESHOLD_PPE2TCL) \ 2073*5113495bSYour Name CFG(CFG_DP_INT_TIMER_THRESHOLD_OTHER) \ 2074*5113495bSYour Name CFG(CFG_DP_INT_TIMER_THRESHOLD_MON_DEST) \ 2075*5113495bSYour Name CFG(CFG_DP_INT_TIMER_THRESHOLD_RX) \ 2076*5113495bSYour Name CFG(CFG_DP_INT_TIMER_THRESHOLD_TX) \ 2077*5113495bSYour Name CFG(CFG_DP_MAX_ALLOC_SIZE) \ 2078*5113495bSYour Name CFG(CFG_DP_MAX_CLIENTS) \ 2079*5113495bSYour Name CFG(CFG_DP_MAX_PEER_ID) \ 2080*5113495bSYour Name CFG(CFG_DP_REO_DEST_RINGS) \ 2081*5113495bSYour Name CFG(CFG_DP_TX_COMP_RINGS) \ 2082*5113495bSYour Name CFG(CFG_DP_TCL_DATA_RINGS) \ 2083*5113495bSYour Name CFG(CFG_DP_NSS_REO_DEST_RINGS) \ 2084*5113495bSYour Name CFG(CFG_DP_NSS_TCL_DATA_RINGS) \ 2085*5113495bSYour Name CFG(CFG_DP_TX_DESC) \ 2086*5113495bSYour Name CFG(CFG_DP_TX_DESC_POOL_3) \ 2087*5113495bSYour Name CFG(CFG_DP_TX_SPL_DESC) \ 2088*5113495bSYour Name CFG(CFG_DP_TX_EXT_DESC) \ 2089*5113495bSYour Name CFG(CFG_DP_TX_EXT_DESC_POOLS) \ 2090*5113495bSYour Name CFG(CFG_DP_PDEV_RX_RING) \ 2091*5113495bSYour Name CFG(CFG_DP_PDEV_TX_RING) \ 2092*5113495bSYour Name CFG(CFG_DP_RX_DEFRAG_TIMEOUT) \ 2093*5113495bSYour Name CFG(CFG_DP_TX_COMPL_RING_SIZE) \ 2094*5113495bSYour Name CFG(CFG_DP_TX_RING_SIZE) \ 2095*5113495bSYour Name CFG(CFG_DP_NSS_COMP_RING_SIZE) \ 2096*5113495bSYour Name CFG(CFG_DP_PDEV_LMAC_RING) \ 2097*5113495bSYour Name CFG(CFG_DP_TIME_CONTROL_BP) \ 2098*5113495bSYour Name CFG(CFG_DP_QREF_CONTROL_SIZE) \ 2099*5113495bSYour Name CFG(CFG_DP_BASE_HW_MAC_ID) \ 2100*5113495bSYour Name CFG(CFG_DP_RX_HASH) \ 2101*5113495bSYour Name CFG(CFG_DP_RX_RR) \ 2102*5113495bSYour Name CFG(CFG_DP_TSO) \ 2103*5113495bSYour Name CFG(CFG_DP_LRO) \ 2104*5113495bSYour Name CFG(CFG_DP_SG) \ 2105*5113495bSYour Name CFG(CFG_DP_GRO) \ 2106*5113495bSYour Name CFG(CFG_DP_TC_INGRESS_PRIO) \ 2107*5113495bSYour Name CFG(CFG_DP_OL_TX_CSUM) \ 2108*5113495bSYour Name CFG(CFG_DP_OL_RX_CSUM) \ 2109*5113495bSYour Name CFG(CFG_DP_RAWMODE) \ 2110*5113495bSYour Name CFG(CFG_DP_PEER_FLOW_CTRL) \ 2111*5113495bSYour Name CFG(CFG_DP_NAPI) \ 2112*5113495bSYour Name CFG(CFG_DP_TCP_UDP_CKSUM_OFFLOAD) \ 2113*5113495bSYour Name CFG(CFG_DP_NAN_TCP_UDP_CKSUM_OFFLOAD) \ 2114*5113495bSYour Name CFG(CFG_DP_P2P_TCP_UDP_CKSUM_OFFLOAD) \ 2115*5113495bSYour Name CFG(CFG_DP_DEFRAG_TIMEOUT_CHECK) \ 2116*5113495bSYour Name CFG(CFG_DP_WBM_RELEASE_RING) \ 2117*5113495bSYour Name CFG(CFG_DP_TCL_CMD_CREDIT_RING) \ 2118*5113495bSYour Name CFG(CFG_DP_TCL_STATUS_RING) \ 2119*5113495bSYour Name CFG(CFG_DP_REO_REINJECT_RING) \ 2120*5113495bSYour Name CFG(CFG_DP_RX_RELEASE_RING) \ 2121*5113495bSYour Name CFG(CFG_DP_REO_EXCEPTION_RING) \ 2122*5113495bSYour Name CFG(CFG_DP_RX_DESTINATION_RING) \ 2123*5113495bSYour Name CFG(CFG_DP_REO_CMD_RING) \ 2124*5113495bSYour Name CFG(CFG_DP_REO_STATUS_RING) \ 2125*5113495bSYour Name CFG(CFG_DP_RXDMA_BUF_RING) \ 2126*5113495bSYour Name CFG(CFG_DP_RXDMA_REFILL_RING) \ 2127*5113495bSYour Name CFG(CFG_DP_RXDMA_REFILL_LT_DISABLE) \ 2128*5113495bSYour Name CFG(CFG_DP_TX_DESC_LIMIT_0) \ 2129*5113495bSYour Name CFG(CFG_DP_TX_DESC_LIMIT_1) \ 2130*5113495bSYour Name CFG(CFG_DP_TX_DESC_LIMIT_2) \ 2131*5113495bSYour Name CFG(CFG_DP_TX_DEVICE_LIMIT) \ 2132*5113495bSYour Name CFG(CFG_DP_TX_SPL_DEVICE_LIMIT) \ 2133*5113495bSYour Name CFG(CFG_DP_TX_SW_INTERNODE_QUEUE) \ 2134*5113495bSYour Name CFG(CFG_DP_TX_DESC_GLOBAL_COUNT) \ 2135*5113495bSYour Name CFG(CFG_DP_SPCL_TX_DESC_GLOBAL_COUNT) \ 2136*5113495bSYour Name CFG(CFG_DP_RXDMA_MONITOR_BUF_RING) \ 2137*5113495bSYour Name CFG(CFG_DP_RXDMA_MONITOR_DST_RING) \ 2138*5113495bSYour Name CFG(CFG_DP_RXDMA_MONITOR_STATUS_RING) \ 2139*5113495bSYour Name CFG(CFG_DP_RXDMA_MONITOR_DESC_RING) \ 2140*5113495bSYour Name CFG(CFG_DP_RXDMA_ERR_DST_RING) \ 2141*5113495bSYour Name CFG(CFG_DP_PER_PKT_LOGGING) \ 2142*5113495bSYour Name CFG(CFG_DP_TX_FLOW_START_QUEUE_OFFSET) \ 2143*5113495bSYour Name CFG(CFG_DP_TX_FLOW_STOP_QUEUE_TH) \ 2144*5113495bSYour Name CFG(CFG_DP_IPA_UC_TX_BUF_SIZE) \ 2145*5113495bSYour Name CFG(CFG_DP_IPA_UC_TX_PARTITION_BASE) \ 2146*5113495bSYour Name CFG(CFG_DP_IPA_UC_RX_IND_RING_COUNT) \ 2147*5113495bSYour Name CFG(CFG_DP_AP_STA_SECURITY_SEPERATION) \ 2148*5113495bSYour Name CFG(CFG_DP_ENABLE_DATA_STALL_DETECTION) \ 2149*5113495bSYour Name CFG(CFG_DP_RX_SW_DESC_WEIGHT) \ 2150*5113495bSYour Name CFG(CFG_DP_RX_SW_DESC_NUM) \ 2151*5113495bSYour Name CFG(CFG_DP_RX_FLOW_SEARCH_TABLE_SIZE) \ 2152*5113495bSYour Name CFG(CFG_DP_RX_FLOW_TAG_ENABLE) \ 2153*5113495bSYour Name CFG(CFG_DP_RX_FLOW_SEARCH_TABLE_PER_PDEV) \ 2154*5113495bSYour Name CFG(CFG_DP_RX_MON_PROTOCOL_FLOW_TAG_ENABLE) \ 2155*5113495bSYour Name CFG(CFG_DP_RXDMA_MONITOR_RX_DROP_THRESHOLD) \ 2156*5113495bSYour Name CFG(CFG_DP_PKTLOG_BUFFER_SIZE) \ 2157*5113495bSYour Name CFG(CFG_DP_FULL_MON_MODE) \ 2158*5113495bSYour Name CFG(CFG_DP_REO_RINGS_MAP) \ 2159*5113495bSYour Name CFG(CFG_DP_PEER_EXT_STATS) \ 2160*5113495bSYour Name CFG(CFG_DP_PEER_JITTER_STATS) \ 2161*5113495bSYour Name CFG(CFG_DP_PEER_LINK_STATS) \ 2162*5113495bSYour Name CFG(CFG_DP_RX_BUFF_POOL_ENABLE) \ 2163*5113495bSYour Name CFG(CFG_DP_RX_REFILL_BUFF_POOL_ENABLE) \ 2164*5113495bSYour Name CFG(CFG_DP_BUFS_PAGE_FRAG_ALLOCS) \ 2165*5113495bSYour Name CFG(CFG_DP_RX_PENDING_HL_THRESHOLD) \ 2166*5113495bSYour Name CFG(CFG_DP_RX_PENDING_LO_THRESHOLD) \ 2167*5113495bSYour Name CFG(CFG_DP_LEGACY_MODE_CSUM_DISABLE) \ 2168*5113495bSYour Name CFG(CFG_DP_POLL_MODE_ENABLE) \ 2169*5113495bSYour Name CFG(CFG_DP_SWLM_ENABLE) \ 2170*5113495bSYour Name CFG(CFG_DP_TX_PER_PKT_VDEV_ID_CHECK) \ 2171*5113495bSYour Name CFG(CFG_DP_RX_FST_IN_CMEM) \ 2172*5113495bSYour Name CFG(CFG_DP_RX_RADIO_0_DEFAULT_REO) \ 2173*5113495bSYour Name CFG(CFG_DP_RX_RADIO_1_DEFAULT_REO) \ 2174*5113495bSYour Name CFG(CFG_DP_RX_RADIO_2_DEFAULT_REO) \ 2175*5113495bSYour Name CFG(CFG_DP_WOW_CHECK_RX_PENDING) \ 2176*5113495bSYour Name CFG(CFG_DP_HW_CC_ENABLE) \ 2177*5113495bSYour Name CFG(CFG_DP_DELAY_MON_REPLENISH) \ 2178*5113495bSYour Name CFG(CFG_DP_TX_MONITOR_BUF_RING) \ 2179*5113495bSYour Name CFG(CFG_DP_TX_MONITOR_DST_RING) \ 2180*5113495bSYour Name CFG(CFG_DP_MPDU_RETRY_THRESHOLD_1) \ 2181*5113495bSYour Name CFG(CFG_DP_MPDU_RETRY_THRESHOLD_2) \ 2182*5113495bSYour Name CFG_DP_IPA_TX_RING_CFG \ 2183*5113495bSYour Name CFG_DP_PPEDS_CONFIG \ 2184*5113495bSYour Name CFG_DP_IPA_TX_ALT_RING_CFG \ 2185*5113495bSYour Name CFG_DP_MLO_CONFIG \ 2186*5113495bSYour Name CFG_DP_INI_SECTION_PARAMS \ 2187*5113495bSYour Name CFG_DP_VDEV_STATS_HW_OFFLOAD \ 2188*5113495bSYour Name CFG(CFG_DP_TX_CAPT_MAX_MEM_MB) \ 2189*5113495bSYour Name CFG(CFG_DP_NAPI_SCALE_FACTOR) \ 2190*5113495bSYour Name CFG(CFG_DP_HOST_AST_DB_ENABLE) \ 2191*5113495bSYour Name CFG_DP_SAWF_STATS_CONFIG \ 2192*5113495bSYour Name CFG(CFG_DP_HANDLE_INVALID_DECAP_TYPE_DISABLE) \ 2193*5113495bSYour Name CFG(CFG_DP_TXMON_SW_PEER_FILTERING) \ 2194*5113495bSYour Name CFG_TX_PKT_INSPECT_FOR_ILP_CFG \ 2195*5113495bSYour Name CFG(CFG_DP_POINTER_TIMER_THRESHOLD_RX) \ 2196*5113495bSYour Name CFG(CFG_DP_POINTER_NUM_THRESHOLD_RX) \ 2197*5113495bSYour Name CFG_DP_LOCAL_PKT_CAPTURE_CONFIG \ 2198*5113495bSYour Name CFG(CFG_SPECIAL_FRAME_MSK) \ 2199*5113495bSYour Name CFG(CFG_DP_SW2RXDMA_LINK_RING) \ 2200*5113495bSYour Name CFG(CFG_DP_TX_CAPT_RADIO_0_RBM_ID) \ 2201*5113495bSYour Name CFG(CFG_DP_TX_CAPT_RADIO_1_RBM_ID) \ 2202*5113495bSYour Name CFG(CFG_DP_TX_CAPT_RADIO_2_RBM_ID) \ 2203*5113495bSYour Name CFG(CFG_DP_TX_CAPT_RADIO_3_RBM_ID) \ 2204*5113495bSYour Name CFG_DP_UMAC_RESET_BUFFER_WINDOW_CFG \ 2205*5113495bSYour Name CFG(CFG_DP_RX_BUFFER_SIZE) \ 2206*5113495bSYour Name CFG(CFG_DP_STATS_AVG_RATE_FILTER) 2207*5113495bSYour Name #endif /* _CFG_DP_H_ */ 2208