Lines Matching defs:mdep_cfg_idx
636 BOOLEAN btif_hl_is_reconnect_possible(UINT8 app_idx, UINT8 mcl_idx, int mdep_cfg_idx,
649 UINT16 data_type = p_acb->sup_feature.mdep[mdep_cfg_idx].mdep_cfg.data_cfg[0].data_type;
654 BTIF_TRACE_DEBUG4("%s app_idx=%d mcl_idx=%d mdep_cfg_idx=%d",
655 __FUNCTION__, app_idx, mcl_idx, mdep_cfg_idx );
758 int mdep_cfg_idx,
788 p_pcb->mdep_cfg_idx = mdep_cfg_idx;
799 if (!btif_hl_is_reconnect_possible(app_idx, mcl_idx, mdep_cfg_idx, p_dch_open_api, &mdl_id ))
894 int mdep_cfg_idx,
903 BTIF_TRACE_DEBUG5("%s app_id=%d ctrl_psm=%d mdep_cfg_idx=%d op=%d",
904 __FUNCTION__, app_id, ctrl_psm, mdep_cfg_idx, op);
933 p_pcb->mdep_cfg_idx = mdep_cfg_idx;
2262 BTIF_TRACE_DEBUG4("call channel state callback channel_id=0x%08x mdep_cfg_idx=%d, state=%d fd=%d",p_acb->delete_mdl.channel_id,
2263 p_acb->delete_mdl.mdep_cfg_idx, BTHL_CONN_STATE_DESTROYED, 0);
2267 &bd_addr, p_acb->delete_mdl.mdep_cfg_idx,
2288 BTIF_TRACE_DEBUG4("call channel state callback channel_id=0x%08x mdep_cfg_idx=%d, state=%d fd=%d",p_scb->channel_id,
2289 p_scb->mdep_cfg_idx, BTHL_CONN_STATE_DISCONNECTING, p_scb->socket_id[0]);
2292 &bd_addr, p_scb->mdep_cfg_idx,
2314 BTIF_TRACE_DEBUG4("call channel state callback channel_id=0x%08x mdep_cfg_idx=%d state=%d fd=%d",p_pcb->channel_id,
2315 p_pcb->mdep_cfg_idx, BTHL_CONN_STATE_CONNECTING, 0);
2319 &bd_addr, p_pcb->mdep_cfg_idx,
2346 BTIF_TRACE_DEBUG4("call channel state callback channel_id=0x%08x mdep_cfg_idx=%d state=%d fd=%d",p_pcb->channel_id,
2347 p_pcb->mdep_cfg_idx, BTHL_CONN_STATE_CONNECTING, 0);
2350 &bd_addr, p_pcb->mdep_cfg_idx,
2353 BTIF_TRACE_DEBUG4("call channel state callback channel_id=0x%08x mdep_cfg_idx=%d state=%d fd=%d",p_pcb->channel_id,
2354 p_pcb->mdep_cfg_idx, BTHL_CONN_STATE_DISCONNECTED, 0);
2357 &bd_addr, p_pcb->mdep_cfg_idx,
2362 BTIF_TRACE_DEBUG4("call channel state callback channel_id=0x%08x mdep_cfg_idx=%d state=%d fd=%d",p_pcb->channel_id,
2363 p_pcb->mdep_cfg_idx, BTHL_CONN_STATE_DISCONNECTED, 0);
2366 &bd_addr, p_pcb->mdep_cfg_idx,
2567 dch_open.local_mdep_id = p_acb->sup_feature.mdep[p_pcb->mdep_cfg_idx].mdep_id;
2569 p_acb->sup_feature.mdep[p_pcb->mdep_cfg_idx].mdep_cfg.mdep_role,
2570 p_acb->sup_feature.mdep[p_pcb->mdep_cfg_idx].mdep_cfg.data_cfg[0].data_type, &dch_open.peer_mdep_id ))
2572 dch_open.local_cfg = p_acb->channel_type[p_pcb->mdep_cfg_idx];
2573 if ((p_acb->sup_feature.mdep[p_pcb->mdep_cfg_idx].mdep_cfg.mdep_role == BTA_HL_MDEP_ROLE_SOURCE)
2582 if (!btif_hl_is_reconnect_possible(app_idx, mcl_idx, p_pcb->mdep_cfg_idx, &dch_open, &mdl_id ))
2738 UINT8 app_idx, orig_app_idx, mcl_idx, mdep_cfg_idx;
2754 if (btif_hl_find_mdep_cfg_idx(orig_app_idx, p_data->dch_create_ind.local_mdep_id, &mdep_cfg_idx))
2756 p_mdep = &(p_acb->sup_feature.mdep[mdep_cfg_idx]);
2765 rsp_cfg = p_acb->channel_type[mdep_cfg_idx];
2822 UINT8 app_idx,orig_app_idx, mcl_idx, mdl_idx, mdep_cfg_idx;
2840 mdep_cfg_idx))
2844 p_dcb->local_mdep_cfg_idx = mdep_cfg_idx;
2903 UINT8 app_idx, mcl_idx, mdl_idx, mdep_cfg_idx;
2922 if (btif_hl_find_mdep_cfg_idx(app_idx, p_data->dch_open_cfm.local_mdep_id, &mdep_cfg_idx))
2926 p_dcb->local_mdep_cfg_idx = mdep_cfg_idx;
2980 UINT8 app_idx, mcl_idx, mdl_idx, mdep_cfg_idx;
2998 if (btif_hl_find_mdep_cfg_idx(app_idx, p_data->dch_reconnect_cfm.local_mdep_id, &mdep_cfg_idx))
3002 p_dcb->local_mdep_cfg_idx = mdep_cfg_idx;
3057 UINT8 app_idx, mcl_idx, mdl_idx, mdep_cfg_idx, dc_cfg;
3076 if (btif_hl_find_mdep_cfg_idx(app_idx, p_data->dch_reconnect_ind.local_mdep_id, &mdep_cfg_idx))
3080 p_dcb->local_mdep_cfg_idx = mdep_cfg_idx;
4079 p_pcb->mdep_cfg_idx = mdep_cfg_index;
4126 UINT8 app_idx, mcl_idx, mdl_idx, mdl_cfg_idx, app_id, mdep_cfg_idx;
4154 p_acb->delete_mdl.mdep_cfg_idx = p_mdl->extra.mdep_cfg_idx;
4173 mdep_cfg_idx = p_mdl->extra.mdep_cfg_idx;
4175 p_acb->filter.elem[0].data_type = p_acb->sup_feature.mdep[mdep_cfg_idx].mdep_cfg.data_cfg[mdep_cfg_idx].data_type;
4176 if (p_acb->sup_feature.mdep[mdep_cfg_idx].mdep_cfg.mdep_role == BTA_HL_MDEP_ROLE_SINK)
4181 mdep_cfg_idx,
4413 p_mdl->extra.mdep_cfg_idx = p_mcb->pcb.mdep_cfg_idx;
4414 p_mdl->extra.data_type = p_acb->sup_feature.mdep[p_mcb->pcb.mdep_cfg_idx].mdep_cfg.data_cfg[0].data_type;
4417 p_acb->sup_feature.mdep[p_mcb->pcb.mdep_cfg_idx].mdep_cfg.mdep_role,
4418 p_acb->sup_feature.mdep[p_mcb->pcb.mdep_cfg_idx].mdep_cfg.data_cfg[0].data_type,
4736 p_scb->mdep_cfg_idx = p_dcb->local_mdep_cfg_idx;
4850 evt_param.chan_cb.mdep_cfg_index = (int ) p_scb->mdep_cfg_idx;