qcacmn: Setup RXDMA to software Ring for WMAC1
Setup RxDMA to software ring of both MACs, required for DBS MCC case. Change-Id: I1a094c1fafe39a2a41e8867c82c1236c4b9b6593 CRs-Fixed: 2135851
This commit is contained in:

کامیت شده توسط
snandini

والد
a301c8343d
کامیت
e23acaf21e
@@ -34,6 +34,7 @@
|
||||
|
||||
#ifdef CONFIG_MCL
|
||||
#define WLAN_CFG_PER_PDEV_RX_RING 0
|
||||
#define WLAN_CFG_PER_PDEV_LMAC_RING 0
|
||||
#define NUM_RXDMA_RINGS_PER_PDEV 2
|
||||
#define WLAN_LRO_ENABLE 1
|
||||
#ifdef IPA_OFFLOAD
|
||||
@@ -61,6 +62,7 @@
|
||||
|
||||
#ifdef CONFIG_WIN
|
||||
#define WLAN_CFG_PER_PDEV_RX_RING 0
|
||||
#define WLAN_CFG_PER_PDEV_LMAC_RING 1
|
||||
#define NUM_RXDMA_RINGS_PER_PDEV 1
|
||||
#define WLAN_LRO_ENABLE 0
|
||||
|
||||
@@ -302,6 +304,7 @@ struct wlan_cfg_dp_soc_ctxt *wlan_cfg_soc_attach()
|
||||
wlan_cfg_ctx->per_pdev_tx_ring = WLAN_CFG_PER_PDEV_TX_RING;
|
||||
wlan_cfg_ctx->num_tcl_data_rings = WLAN_CFG_NUM_TCL_DATA_RINGS;
|
||||
wlan_cfg_ctx->per_pdev_rx_ring = WLAN_CFG_PER_PDEV_RX_RING;
|
||||
wlan_cfg_ctx->per_pdev_lmac_ring = WLAN_CFG_PER_PDEV_LMAC_RING;
|
||||
wlan_cfg_ctx->num_reo_dest_rings = WLAN_CFG_NUM_REO_DEST_RING;
|
||||
wlan_cfg_ctx->num_tx_desc_pool = MAX_TXDESC_POOLS;
|
||||
wlan_cfg_ctx->num_tx_ext_desc_pool = WLAN_CFG_NUM_TXEXT_DESC_POOL;
|
||||
@@ -536,6 +539,11 @@ int wlan_cfg_per_pdev_tx_ring(struct wlan_cfg_dp_soc_ctxt *cfg)
|
||||
return cfg->per_pdev_tx_ring;
|
||||
}
|
||||
|
||||
int wlan_cfg_per_pdev_lmac_ring(struct wlan_cfg_dp_soc_ctxt *cfg)
|
||||
{
|
||||
return cfg->per_pdev_lmac_ring;
|
||||
}
|
||||
|
||||
int wlan_cfg_num_tcl_data_rings(struct wlan_cfg_dp_soc_ctxt *cfg)
|
||||
{
|
||||
return cfg->num_tcl_data_rings;
|
||||
|
مرجع در شماره جدید
Block a user