Lines Matching refs:mdl_idx
70 extern BOOLEAN btif_hl_create_socket(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx);
71 extern void btif_hl_release_socket(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx);
570 UINT8 mdl_idx; in btif_hl_is_reconnect_possible() local
609 !btif_hl_find_mdl_idx(app_idx, mcl_idx,p_mdl->base.mdl_id, &mdl_idx)) in btif_hl_is_reconnect_possible()
2125 void btif_hl_send_disconnecting_cb(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx){ in btif_hl_send_disconnecting_cb() argument
2126 btif_hl_mdl_cb_t *p_dcb = BTIF_HL_GET_MDL_CB_PTR( app_idx, mcl_idx, mdl_idx); in btif_hl_send_disconnecting_cb()
2658 UINT8 orig_app_idx, mcl_idx, mdl_idx, mdep_cfg_idx; in btif_hl_proc_dch_open_ind() local
2668 if (btif_hl_find_avail_mdl_idx(orig_app_idx, mcl_idx, &mdl_idx)) in btif_hl_proc_dch_open_ind()
2670 p_dcb = BTIF_HL_GET_MDL_CB_PTR(orig_app_idx, mcl_idx, mdl_idx); in btif_hl_proc_dch_open_ind()
2687 orig_app_idx, mcl_idx, mdl_idx, p_dcb->channel_id ); in btif_hl_proc_dch_open_ind()
2688 if (!btif_hl_create_socket(orig_app_idx, mcl_idx, mdl_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
2746 if (btif_hl_find_avail_mdl_idx(app_idx, mcl_idx, &mdl_idx)) in btif_hl_proc_dch_open_cfm()
2748 p_dcb = BTIF_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in btif_hl_proc_dch_open_cfm()
2762 BTIF_TRACE_DEBUG("app_idx=%d mcl_idx=%d mdl_idx=%d", app_idx, mcl_idx, mdl_idx ); in btif_hl_proc_dch_open_cfm()
2764 if (btif_hl_create_socket(app_idx, mcl_idx, mdl_idx)) in btif_hl_proc_dch_open_cfm()
2768 app_idx, mcl_idx, mdl_idx, p_dcb->channel_id); 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
2818 if (btif_hl_find_avail_mdl_idx(app_idx, mcl_idx, &mdl_idx)) in btif_hl_proc_dch_reconnect_cfm()
2820 p_dcb = BTIF_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in btif_hl_proc_dch_reconnect_cfm()
2834 BTIF_TRACE_DEBUG("app_idx=%d mcl_idx=%d mdl_idx=%d", app_idx, mcl_idx, mdl_idx ); in btif_hl_proc_dch_reconnect_cfm()
2836 if (btif_hl_create_socket(app_idx, mcl_idx, mdl_idx)) in btif_hl_proc_dch_reconnect_cfm()
2840 app_idx, mcl_idx, mdl_idx, p_dcb->channel_id); 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
2894 if (btif_hl_find_avail_mdl_idx(app_idx, mcl_idx, &mdl_idx)) in btif_hl_proc_dch_reconnect_ind()
2896 p_dcb =BTIF_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in btif_hl_proc_dch_reconnect_ind()
2912 app_idx, mcl_idx, mdl_idx, p_dcb->channel_id ); in btif_hl_proc_dch_reconnect_ind()
2913 if (!btif_hl_create_socket(app_idx, mcl_idx, mdl_idx)) in btif_hl_proc_dch_reconnect_ind()
2953 UINT8 app_idx, mcl_idx, mdl_idx; in btif_hl_proc_dch_close_ind() local
2957 &app_idx, &mcl_idx, &mdl_idx )) in btif_hl_proc_dch_close_ind()
2959 p_dcb = BTIF_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in btif_hl_proc_dch_close_ind()
2960 btif_hl_release_socket(app_idx,mcl_idx, mdl_idx); in btif_hl_proc_dch_close_ind()
2966 BTIF_TRACE_DEBUG("remote DCH close success mdl_idx=%d", mdl_idx); in btif_hl_proc_dch_close_ind()
2984 UINT8 app_idx, mcl_idx, mdl_idx; in btif_hl_proc_dch_close_cfm() local
2988 &app_idx, &mcl_idx, &mdl_idx )) in btif_hl_proc_dch_close_cfm()
2990 p_dcb = BTIF_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in btif_hl_proc_dch_close_cfm()
2991 btif_hl_release_socket(app_idx,mcl_idx,mdl_idx); in btif_hl_proc_dch_close_cfm()
2996 BTIF_TRACE_DEBUG(" local DCH close success mdl_idx=%d", mdl_idx); in btif_hl_proc_dch_close_cfm()
3077 UINT8 app_idx,mcl_idx, mdl_idx; in btif_hl_proc_send_data_cfm() local
3083 &app_idx, &mcl_idx, &mdl_idx )) in btif_hl_proc_send_data_cfm()
3085 p_dcb = BTIF_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in btif_hl_proc_send_data_cfm()
3106 UINT8 app_idx, mcl_idx, mdl_idx; in btif_hl_proc_dch_cong_ind() local
3110 … (btif_hl_find_mdl_idx_using_handle(p_data->dch_cong_ind.mdl_handle, &app_idx, &mcl_idx, &mdl_idx)) in btif_hl_proc_dch_cong_ind()
3112 p_dcb =BTIF_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in btif_hl_proc_dch_cong_ind()
4440 void btif_hl_release_socket(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx){ in btif_hl_release_socket() argument
4442 btif_hl_mdl_cb_t *p_dcb = BTIF_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in btif_hl_release_socket()
4445 BTIF_TRACE_DEBUG("app_idx=%d mcl_idx=%d mdl_idx=%d", app_idx, mcl_idx, mdl_idx ); in btif_hl_release_socket()
4464 BOOLEAN btif_hl_create_socket(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx){ in btif_hl_create_socket() argument
4466 btif_hl_mdl_cb_t *p_dcb = BTIF_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in btif_hl_create_socket()
4479 p_scb->mdl_idx = mdl_idx; in btif_hl_create_socket()
4526 p_dcb = BTIF_HL_GET_MDL_CB_PTR(p_scb->app_idx, p_scb->mcl_idx, p_scb->mdl_idx); in btif_hl_add_socket_to_set()
4562 p_scb->app_idx, p_scb->mcl_idx, p_scb->mdl_idx); in btif_hl_close_socket()
4594 p_scb->mcl_idx, p_scb->mdl_idx); in btif_hl_close_socket()
4596 p_scb->app_idx, p_scb->mcl_idx, p_scb->mdl_idx, p_dcb->in_use); in btif_hl_close_socket()
4650 p_scb->mcl_idx, p_scb->mdl_idx); in btif_hl_select_monitor_callback()