ipa3: Support wdi3 over gsi on msmnile APQ target

Define producer & consumer pipe configuration for wlan on APQ
platform with 4_1 IPA HW. Cleanup uc load notification 
handler during disconnect.

Change-Id: I6c394d81787d77f3c9869c55cce926573d7e27f0
Signed-off-by: Akshay Pandit <pandit@codeaurora.org>
tirimbino
Akshay Pandit 5 years ago
parent 4687d601ea
commit 313724d952
  1. 2
      drivers/platform/msm/ipa/ipa_clients/ipa_wdi3.c
  2. 12
      drivers/platform/msm/ipa/ipa_v3/ipa_utils.c

@ -143,6 +143,8 @@ int ipa_wdi_cleanup(void)
struct ipa_wdi_intf_info *entry;
struct ipa_wdi_intf_info *next;
ipa_uc_dereg_rdyCB();
/* clear interface list */
list_for_each_entry_safe(entry, next,
&ipa_wdi_ctx->head_intf_list, link) {

@ -2005,6 +2005,12 @@ static const struct ipa_ep_configuration ipa3_ep_mapping
IPA_DPS_HPS_REP_SEQ_TYPE_2PKT_PROC_PASS_NO_DEC_UCP_DMAP,
QMB_MASTER_SELECT_DDR,
{ 9, 0, 8, 16, IPA_EE_UC } },
[IPA_4_1_APQ][IPA_CLIENT_WLAN2_PROD] = {
true, IPA_v4_0_GROUP_UL_DL,
true,
IPA_DPS_HPS_REP_SEQ_TYPE_2PKT_PROC_PASS_NO_DEC_UCP_DMAP,
QMB_MASTER_SELECT_DDR,
{ 7, 9, 8, 16, IPA_EE_AP } },
/* Only for test purpose */
[IPA_4_1_APQ][IPA_CLIENT_TEST_PROD] = {
true, IPA_v4_0_GROUP_UL_DL,
@ -2061,6 +2067,12 @@ static const struct ipa_ep_configuration ipa3_ep_mapping
IPA_DPS_HPS_SEQ_TYPE_INVALID,
QMB_MASTER_SELECT_DDR,
{ 22, 1, 9, 9, IPA_EE_UC } },
[IPA_4_1_APQ][IPA_CLIENT_WLAN2_CONS] = {
true, IPA_v4_0_GROUP_UL_DL,
false,
IPA_DPS_HPS_SEQ_TYPE_INVALID,
QMB_MASTER_SELECT_DDR,
{ 17, 1, 8, 13, IPA_EE_AP } },
/* Only for test purpose */
/* MBIM aggregation test pipes should have the same QMB as USB_CONS */
[IPA_4_1_APQ][IPA_CLIENT_TEST_CONS] = {

Loading…
Cancel
Save