|
@@ -1215,7 +1215,7 @@ int ipa3_eth_connect(
|
|
id = (pipe->dir == IPA_ETH_PIPE_DIR_TX) ? 1 : 0;
|
|
id = (pipe->dir == IPA_ETH_PIPE_DIR_TX) ? 1 : 0;
|
|
|
|
|
|
/* start uC gsi dbg stats monitor */
|
|
/* start uC gsi dbg stats monitor */
|
|
- if (ipa3_ctx->ipa_hw_type >= IPA_HW_v4_5) {
|
|
|
|
|
|
+ if (ipa3_ctx->ipa_hw_type >= IPA_HW_v4_5 && ipa3_ctx->ipa_hw_type != IPA_HW_v5_2) {
|
|
ipa3_ctx->gsi_info[prot].ch_id_info[id].ch_id
|
|
ipa3_ctx->gsi_info[prot].ch_id_info[id].ch_id
|
|
= ep->gsi_chan_hdl;
|
|
= ep->gsi_chan_hdl;
|
|
ipa3_ctx->gsi_info[prot].ch_id_info[id].dir
|
|
ipa3_ctx->gsi_info[prot].ch_id_info[id].dir
|
|
@@ -1267,7 +1267,7 @@ int ipa3_eth_connect(
|
|
|
|
|
|
config_uc_fail:
|
|
config_uc_fail:
|
|
/* stop uC gsi dbg stats monitor */
|
|
/* stop uC gsi dbg stats monitor */
|
|
- if (ipa3_ctx->ipa_hw_type >= IPA_HW_v4_5) {
|
|
|
|
|
|
+ if (ipa3_ctx->ipa_hw_type >= IPA_HW_v4_5 && ipa3_ctx->ipa_hw_type != IPA_HW_v5_2) {
|
|
ipa3_ctx->gsi_info[prot].ch_id_info[id].ch_id
|
|
ipa3_ctx->gsi_info[prot].ch_id_info[id].ch_id
|
|
= 0xff;
|
|
= 0xff;
|
|
ipa3_ctx->gsi_info[prot].ch_id_info[id].dir
|
|
ipa3_ctx->gsi_info[prot].ch_id_info[id].dir
|
|
@@ -1327,7 +1327,7 @@ int ipa3_eth_disconnect(
|
|
|
|
|
|
id = (pipe->dir == IPA_ETH_PIPE_DIR_TX) ? 1 : 0;
|
|
id = (pipe->dir == IPA_ETH_PIPE_DIR_TX) ? 1 : 0;
|
|
/* stop uC gsi dbg stats monitor */
|
|
/* stop uC gsi dbg stats monitor */
|
|
- if (ipa3_ctx->ipa_hw_type >= IPA_HW_v4_5) {
|
|
|
|
|
|
+ if (ipa3_ctx->ipa_hw_type >= IPA_HW_v4_5 && ipa3_ctx->ipa_hw_type != IPA_HW_v5_2) {
|
|
ipa3_ctx->gsi_info[prot].ch_id_info[id].ch_id
|
|
ipa3_ctx->gsi_info[prot].ch_id_info[id].ch_id
|
|
= 0xff;
|
|
= 0xff;
|
|
ipa3_ctx->gsi_info[prot].ch_id_info[id].dir
|
|
ipa3_ctx->gsi_info[prot].ch_id_info[id].dir
|
|
@@ -1377,7 +1377,7 @@ int ipa3_eth_disconnect(
|
|
memset(ep, 0, sizeof(struct ipa3_ep_context));
|
|
memset(ep, 0, sizeof(struct ipa3_ep_context));
|
|
IPADBG("client (ep: %d) disconnected\n", ep_idx);
|
|
IPADBG("client (ep: %d) disconnected\n", ep_idx);
|
|
|
|
|
|
- if (ipa3_ctx->ipa_hw_type >= IPA_HW_v4_5)
|
|
|
|
|
|
+ if (ipa3_ctx->ipa_hw_type >= IPA_HW_v4_5 && ipa3_ctx->ipa_hw_type != IPA_HW_v5_2)
|
|
ipa3_uc_debug_stats_dealloc(prot);
|
|
ipa3_uc_debug_stats_dealloc(prot);
|
|
if (IPA_CLIENT_IS_PROD(client_type))
|
|
if (IPA_CLIENT_IS_PROD(client_type))
|
|
ipa3_delete_dflt_flt_rules(ep_idx);
|
|
ipa3_delete_dflt_flt_rules(ep_idx);
|