Lines Matching refs:mdep_cfg_idx
555 BOOLEAN btif_hl_is_reconnect_possible(UINT8 app_idx, UINT8 mcl_idx, int mdep_cfg_idx, in btif_hl_is_reconnect_possible() argument
568 …UINT16 data_type = p_acb->sup_feature.mdep[mdep_cfg_idx].mdep_cfg.data_cfg[0].data_t… in btif_hl_is_reconnect_possible()
573 __FUNCTION__, app_idx, mcl_idx, mdep_cfg_idx ); in btif_hl_is_reconnect_possible()
676 int mdep_cfg_idx, in btif_hl_dch_open() argument
706 p_pcb->mdep_cfg_idx = mdep_cfg_idx; in btif_hl_dch_open()
717 … if (!btif_hl_is_reconnect_possible(app_idx, mcl_idx, mdep_cfg_idx, p_dch_open_api, &mdl_id )) in btif_hl_dch_open()
812 int mdep_cfg_idx, in btif_hl_cch_open() argument
822 __FUNCTION__, app_id, ctrl_psm, mdep_cfg_idx, op); in btif_hl_cch_open()
852 p_pcb->mdep_cfg_idx = mdep_cfg_idx; in btif_hl_cch_open()
2109 p_acb->delete_mdl.mdep_cfg_idx, BTHL_CONN_STATE_DESTROYED, 0); in btif_hl_send_destroyed_cb()
2113 &bd_addr, p_acb->delete_mdl.mdep_cfg_idx, in btif_hl_send_destroyed_cb()
2135 p_scb->mdep_cfg_idx, BTHL_CONN_STATE_DISCONNECTING, p_scb->socket_id[0]); in btif_hl_send_disconnecting_cb()
2138 &bd_addr, p_scb->mdep_cfg_idx, in btif_hl_send_disconnecting_cb()
2161 p_pcb->mdep_cfg_idx, BTHL_CONN_STATE_CONNECTING, 0); in btif_hl_send_setup_connecting_cb()
2165 &bd_addr, p_pcb->mdep_cfg_idx, in btif_hl_send_setup_connecting_cb()
2193 p_pcb->mdep_cfg_idx, BTHL_CONN_STATE_CONNECTING, 0); in btif_hl_send_setup_disconnected_cb()
2196 &bd_addr, p_pcb->mdep_cfg_idx, in btif_hl_send_setup_disconnected_cb()
2200 p_pcb->mdep_cfg_idx, BTHL_CONN_STATE_DISCONNECTED, 0); in btif_hl_send_setup_disconnected_cb()
2203 &bd_addr, p_pcb->mdep_cfg_idx, in btif_hl_send_setup_disconnected_cb()
2209 p_pcb->mdep_cfg_idx, BTHL_CONN_STATE_DISCONNECTED, 0); in btif_hl_send_setup_disconnected_cb()
2212 &bd_addr, p_pcb->mdep_cfg_idx, in btif_hl_send_setup_disconnected_cb()
2413 dch_open.local_mdep_id = p_acb->sup_feature.mdep[p_pcb->mdep_cfg_idx].mdep_id; in btif_hl_proc_pending_op()
2415 … p_acb->sup_feature.mdep[p_pcb->mdep_cfg_idx].mdep_cfg.mdep_role, in btif_hl_proc_pending_op()
2416 …p_acb->sup_feature.mdep[p_pcb->mdep_cfg_idx].mdep_cfg.data_cfg[0].data_type, &dch_open.peer_mdep_i… in btif_hl_proc_pending_op()
2418 dch_open.local_cfg = p_acb->channel_type[p_pcb->mdep_cfg_idx]; in btif_hl_proc_pending_op()
2419 … if ((p_acb->sup_feature.mdep[p_pcb->mdep_cfg_idx].mdep_cfg.mdep_role == BTA_HL_MDEP_ROLE_SOURCE) in btif_hl_proc_pending_op()
2428 … if (!btif_hl_is_reconnect_possible(app_idx, mcl_idx, p_pcb->mdep_cfg_idx, &dch_open, &mdl_id )) in btif_hl_proc_pending_op()
2576 UINT8 orig_app_idx, mcl_idx, mdep_cfg_idx; in btif_hl_proc_create_ind() local
2592 … if (btif_hl_find_mdep_cfg_idx(orig_app_idx, p_data->dch_create_ind.local_mdep_id, &mdep_cfg_idx)) in btif_hl_proc_create_ind()
2594 p_mdep = &(p_acb->sup_feature.mdep[mdep_cfg_idx]); in btif_hl_proc_create_ind()
2603 rsp_cfg = p_acb->channel_type[mdep_cfg_idx]; in btif_hl_proc_create_ind()
2658 UINT8 orig_app_idx, mcl_idx, mdl_idx, mdep_cfg_idx; in btif_hl_proc_dch_open_ind() local
2672 … if (btif_hl_find_mdep_cfg_idx(orig_app_idx, p_data->dch_open_ind.local_mdep_id, &mdep_cfg_idx)) in btif_hl_proc_dch_open_ind()
2676 p_dcb->local_mdep_cfg_idx = mdep_cfg_idx; in btif_hl_proc_dch_open_ind()
2733 UINT8 app_idx, mcl_idx, mdl_idx, mdep_cfg_idx; in btif_hl_proc_dch_open_cfm() local
2750 … if (btif_hl_find_mdep_cfg_idx(app_idx, p_data->dch_open_cfm.local_mdep_id, &mdep_cfg_idx)) in btif_hl_proc_dch_open_cfm()
2754 p_dcb->local_mdep_cfg_idx = mdep_cfg_idx; in btif_hl_proc_dch_open_cfm()
2806 UINT8 app_idx, mcl_idx, mdl_idx, mdep_cfg_idx; in btif_hl_proc_dch_reconnect_cfm() local
2822 … if (btif_hl_find_mdep_cfg_idx(app_idx, p_data->dch_reconnect_cfm.local_mdep_id, &mdep_cfg_idx)) in btif_hl_proc_dch_reconnect_cfm()
2826 p_dcb->local_mdep_cfg_idx = mdep_cfg_idx; in btif_hl_proc_dch_reconnect_cfm()
2880 UINT8 app_idx, mcl_idx, mdl_idx, mdep_cfg_idx; in btif_hl_proc_dch_reconnect_ind() local
2898 … if (btif_hl_find_mdep_cfg_idx(app_idx, p_data->dch_reconnect_ind.local_mdep_id, &mdep_cfg_idx)) in btif_hl_proc_dch_reconnect_ind()
2902 p_dcb->local_mdep_cfg_idx = mdep_cfg_idx; in btif_hl_proc_dch_reconnect_ind()
3889 p_pcb->mdep_cfg_idx = mdep_cfg_index; in connect_channel()
3936 UINT8 app_idx, mcl_idx, mdl_cfg_idx, mdep_cfg_idx = 0; in destroy_channel() local
3962 p_acb->delete_mdl.mdep_cfg_idx = p_mdl->extra.mdep_cfg_idx; in destroy_channel()
3981 mdep_cfg_idx = p_mdl->extra.mdep_cfg_idx; in destroy_channel()
3983 …b->filter.elem[0].data_type = p_acb->sup_feature.mdep[mdep_cfg_idx].mdep_cfg.data_cfg[mdep_cfg_idx… in destroy_channel()
3984 … if (p_acb->sup_feature.mdep[mdep_cfg_idx].mdep_cfg.mdep_role == BTA_HL_MDEP_ROLE_SINK) in destroy_channel()
3989 mdep_cfg_idx, in destroy_channel()
4218 p_mdl->extra.mdep_cfg_idx = p_mcb->pcb.mdep_cfg_idx; in btif_hl_save_mdl_cfg()
4219 …p_mdl->extra.data_type = p_acb->sup_feature.mdep[p_mcb->pcb.mdep_cfg_idx].mdep_cfg.data_cfg[0].dat… in btif_hl_save_mdl_cfg()
4222 … p_acb->sup_feature.mdep[p_mcb->pcb.mdep_cfg_idx].mdep_cfg.mdep_role, in btif_hl_save_mdl_cfg()
4223 … p_acb->sup_feature.mdep[p_mcb->pcb.mdep_cfg_idx].mdep_cfg.data_cfg[0].data_type, in btif_hl_save_mdl_cfg()
4481 p_scb->mdep_cfg_idx = p_dcb->local_mdep_cfg_idx; in btif_hl_create_socket()
4574 evt_param.chan_cb.mdep_cfg_index = (int ) p_scb->mdep_cfg_idx; in btif_hl_close_socket()