qcacmn: Fix REO ring routing for opt wifi dp

Set REO dest index 4 to REO2SW4.

Change-Id: Ida169d49ee195e2aaf1c13eeaafbbd487430f846
CRs-Fixed: 3403314
This commit is contained in:
Namita Nair
2023-02-10 11:32:00 -08:00
committed by Madan Koyyalamudi
parent 845ef54e78
commit 33189ca042
2 changed files with 18 additions and 0 deletions

View File

@@ -1689,6 +1689,7 @@ int dp_ipa_ring_resource_setup(struct dp_soc *soc,
ix0_map[6] = REO_REMAP_FW; ix0_map[6] = REO_REMAP_FW;
ix0_map[7] = REO_REMAP_FW; ix0_map[7] = REO_REMAP_FW;
dp_ipa_opt_dp_ixo_remap(ix0_map);
ix0 = hal_gen_reo_remap_val(soc->hal_soc, HAL_REO_REMAP_REG_IX0, ix0 = hal_gen_reo_remap_val(soc->hal_soc, HAL_REO_REMAP_REG_IX0,
ix0_map); ix0_map);

View File

@@ -522,6 +522,23 @@ dp_ipa_ast_notify_cb(qdf_ipa_wdi_conn_in_params_t *pipe_in,
} }
#endif #endif
#ifdef IPA_OPT_WIFI_DP
static inline void dp_ipa_opt_dp_ixo_remap(uint8_t *ix0_map)
{
ix0_map[0] = REO_REMAP_SW1;
ix0_map[1] = REO_REMAP_SW1;
ix0_map[2] = REO_REMAP_SW2;
ix0_map[3] = REO_REMAP_SW3;
ix0_map[4] = REO_REMAP_SW4;
ix0_map[5] = REO_REMAP_RELEASE;
ix0_map[6] = REO_REMAP_FW;
ix0_map[7] = REO_REMAP_FW;
}
#else
static inline void dp_ipa_opt_dp_ixo_remap(uint8_t *ix0_map)
{
}
#endif
#ifdef QCA_ENHANCED_STATS_SUPPORT #ifdef QCA_ENHANCED_STATS_SUPPORT
/** /**
* dp_ipa_txrx_get_peer_stats - fetch peer stats * dp_ipa_txrx_get_peer_stats - fetch peer stats