Home
last modified time | relevance | path

Searched refs:mdl_id (Results 1 – 16 of 16) sorted by relevance

/system/bt/stack/mcap/
Dmca_api.c424 UINT16 mdl_id, UINT8 peer_dep_id, in MCA_CreateMdl() argument
432 …MCA_TRACE_API ("MCA_CreateMdl: %d dep=%d mdl_id=%d peer_dep_id=%d", mcl, dep, mdl_id, peer_dep_id); in MCA_CreateMdl()
441 if ((peer_dep_id > MCA_MAX_MDEP_ID) || (!MCA_IS_VALID_MDL_ID(mdl_id))) in MCA_CreateMdl()
443 MCA_TRACE_ERROR ("bad peer dep id:%d or bad mdl id: %d ", peer_dep_id, mdl_id); in MCA_CreateMdl()
447 if (mca_ccb_uses_mdl_id(p_ccb, mdl_id)) in MCA_CreateMdl()
449 MCA_TRACE_ERROR ("mdl id: %d is used in the control link", mdl_id); in MCA_CreateMdl()
459 p_dcb->mdl_id = mdl_id; in MCA_CreateMdl()
469 p_evt_data->mdl_id = mdl_id; in MCA_CreateMdl()
502 UINT16 mdl_id, UINT8 cfg, UINT8 rsp_code, in MCA_CreateMdlRsp() argument
510 …MCA_TRACE_API ("MCA_CreateMdlRsp: %d dep=%d mdl_id=%d cfg=%d rsp_code=%d", mcl, dep, mdl_id, cfg, … in MCA_CreateMdlRsp()
[all …]
Dmca_cact.c111 p_msg->mdl_id = p_dcb->mdl_id; in mca_ccb_snd_req()
130 UINT16_TO_BE_STREAM (p, p_msg->mdl_id); in mca_ccb_snd_req()
178 UINT16_TO_BE_STREAM (p, p_msg->mdl_id); in mca_ccb_snd_rsp()
276 BE_STREAM_TO_UINT16 (evt_data.hdr.mdl_id, p); in mca_ccb_hdl_req()
279 MCA_TRACE_DEBUG ("received mdl id: %d ", evt_data.hdr.mdl_id); in mca_ccb_hdl_req()
341 evt_data.hdr.mdl_id = 0; in mca_ccb_hdl_req()
355 if (MCA_IS_VALID_MDL_ID(evt_data.hdr.mdl_id) || in mca_ccb_hdl_req()
356 … ((evt_data.hdr.mdl_id == MCA_ALL_MDL_ID) && (evt_data.hdr.op_code == MCA_OP_MDL_DELETE_REQ))) in mca_ccb_hdl_req()
371 else if (mca_ccb_uses_mdl_id(p_ccb, evt_data.hdr.mdl_id)) in mca_ccb_hdl_req()
374 mca_dcb_close_by_mdl_id(p_ccb, evt_data.hdr.mdl_id); in mca_ccb_hdl_req()
[all …]
Dmca_dsm.c269 evt_data.close_cfm.mdl_id = p_dcb->mdl_id; in mca_dcb_dealloc()
323 void mca_dcb_close_by_mdl_id(tMCA_CCB*p_ccb, UINT16 mdl_id) in mca_dcb_close_by_mdl_id() argument
328 MCA_TRACE_DEBUG("mca_dcb_close_by_mdl_id mdl_id=%d", mdl_id); in mca_dcb_close_by_mdl_id()
335 if (p_dcb->mdl_id == mdl_id) in mca_dcb_close_by_mdl_id()
340 else if (mdl_id == MCA_ALL_MDL_ID) in mca_dcb_close_by_mdl_id()
Dmca_dact.c48 evt_data.cong_chg.mdl_id = p_dcb->mdl_id; in mca_dcb_report_cong()
73 evt_data.open_cfm.mdl_id = p_dcb->mdl_id; in mca_dcb_tc_open()
Dmca_int.h46 UINT16 mdl_id; /* the MDL ID associated with this request/response */ member
112 UINT16 mdl_id; /* the MDL ID associated with this request/response */ member
245 UINT16 mdl_id; /* the MDL ID for this data channel */ member
271 extern BOOLEAN mca_ccb_uses_mdl_id(tMCA_CCB *p_ccb, UINT16 mdl_id);
292 extern void mca_dcb_close_by_mdl_id(tMCA_CCB*p_ccb, UINT16 mdl_id);
Dmca_csm.c367 BOOLEAN mca_ccb_uses_mdl_id(tMCA_CCB *p_ccb, UINT16 mdl_id) in mca_ccb_uses_mdl_id() argument
377 if (p_dcb->state != MCA_DCB_NULL_ST && p_dcb->mdl_id == mdl_id) in mca_ccb_uses_mdl_id()
/system/bt/stack/include/
Dmca_api.h129 UINT16 mdl_id; /* The associated MDL ID */ member
135 UINT16 mdl_id; /* The associated MDL ID */ member
142 UINT16 mdl_id; /* The associated MDL ID */ member
150 UINT16 mdl_id; /* The associated MDL ID */ member
170 UINT16 mdl_id; /* The associated MDL ID */ member
177 UINT16 mdl_id; /* The associated MDL ID */ member
184 UINT16 mdl_id; /* N/A - This is a place holder */ member
359 UINT16 mdl_id, UINT8 peer_dep_id,
377 UINT16 mdl_id, UINT8 cfg, UINT8 rsp_code,
407 UINT16 mdl_id, const tMCA_CHNL_CFG *p_chnl_cfg);
[all …]
/system/bt/bta/hl/
Dbta_hl_utils.c637 … bta_hl_find_mdl_idx( app_idx, mcl_idx, p_msg->mca_evt.mca_data.create_cfm.mdl_id, &mdl_idx)) in bta_hl_find_dch_cb_indexes()
654 … bta_hl_find_mdl_idx( app_idx, mcl_idx, p_msg->mca_evt.mca_data.open_cfm.mdl_id, &mdl_idx)) in bta_hl_find_dch_cb_indexes()
662 … bta_hl_find_mdl_idx( app_idx, mcl_idx, p_msg->mca_evt.mca_data.open_ind.mdl_id, &mdl_idx)) in bta_hl_find_dch_cb_indexes()
721 … bta_hl_find_mdl_idx( app_idx, mcl_idx, p_msg->mca_evt.mca_data.reconnect_cfm.mdl_id, &mdl_idx)) in bta_hl_find_dch_cb_indexes()
730 bta_hl_find_mdl_idx( app_idx, mcl_idx,p_msg->api_dch_create_rsp.mdl_id, &mdl_idx)) in bta_hl_find_dch_cb_indexes()
737 … bta_hl_find_mdl_idx( app_idx, mcl_idx,p_msg->mca_evt.mca_data.abort_ind.mdl_id, &mdl_idx)) in bta_hl_find_dch_cb_indexes()
744 … bta_hl_find_mdl_idx( app_idx, mcl_idx, p_msg->mca_evt.mca_data.abort_cfm.mdl_id, &mdl_idx)) in bta_hl_find_dch_cb_indexes()
799 UINT16 mdl_id=0; in bta_hl_allocate_mdl_id() local
807 mdl_id = ((mdl_id+1) & 0xFEFF); in bta_hl_allocate_mdl_id()
813 (p_mcb->mdl[i].mdl_id == mdl_id) ) in bta_hl_allocate_mdl_id()
[all …]
Dbta_hl_api.c359 p_buf->mdl_id = p_recon_param->mdl_id; in BTA_HlDchReconnect()
456 tBTA_HL_MDL_ID mdl_id ) in BTA_HlDeleteMdl() argument
464 p_buf->mdl_id = mdl_id; in BTA_HlDeleteMdl()
551 p_buf->mdl_id = p_rsp_param->mdl_id; in BTA_HlDchCreateRsp()
Dbta_hl_int.h311 tBTA_HL_MDL_ID mdl_id; member
324 tBTA_HL_MDL_ID mdl_id; member
400 tBTA_HL_MDL_ID mdl_id; member
452 UINT16 mdl_id; member
738 extern BOOLEAN bta_hl_find_mdl_idx(UINT8 app_idx, UINT8 mcl_idx, UINT16 mdl_id,
759 tBTA_HL_MDL_ID mdl_id, UINT8 *p_mdl_cfg_idx);
764 tBTA_HL_MDL_ID mdl_id);
766 tBTA_HL_MDL_ID mdl_id);
767 extern BOOLEAN bta_hl_is_mdl_value_valid(tBTA_HL_MDL_ID mdl_id);
796 extern BOOLEAN bta_hl_is_cong_on(UINT8 app_id, BD_ADDR bd_addr, tBTA_HL_MDL_ID mdl_id);
[all …]
Dbta_hl_main.c1019 … p_dcb->mdl_id = bta_hl_allocate_mdl_id(app_idx,mcl_idx,mdl_idx); in bta_hl_api_dch_open()
1220 p_dcb->mdl_id = p_data->api_dch_reconnect.mdl_id; in bta_hl_api_dch_reconnect()
1298 0,p_data->api_dch_reconnect.mdl_id,0,0,0, status); in bta_hl_api_dch_reconnect()
1358 … p_dcb->mdl_id = bta_hl_allocate_mdl_id(app_idx,mcl_idx,mdl_idx); in bta_hl_api_dch_echo_test()
1645 if (bta_hl_is_mdl_value_valid(p_data->api_delete_mdl.mdl_id)) in bta_hl_api_delete_mdl()
1650 p_data->api_delete_mdl.mdl_id)) in bta_hl_api_delete_mdl()
1655 p_mcb->delete_mdl.mdl_id = p_data->api_delete_mdl.mdl_id; in bta_hl_api_delete_mdl()
1659 p_data->api_delete_mdl.mdl_id)!= MCA_SUCCESS) in bta_hl_api_delete_mdl()
1699 p_data->api_delete_mdl.mdl_id, in bta_hl_api_delete_mdl()
1744 p_delete_cfm->mdl_id)) in bta_hl_mca_delete_mdl_cfm()
[all …]
Dbta_hl_act.c94 p_cong_chg->mdl_id, in bta_hl_dch_mca_cong_change()
902 evt_data.dch_open_ind.mdl_id = p_dcb->mdl_id; in bta_hl_dch_mca_open_ind()
1026 p_dcb->mdl_id, dch_mode, in bta_hl_dch_mca_open_cfm()
1244 APPL_TRACE_DEBUG("bta_hl_dch_mca_reconnect_ind mdl_id=%d", p_reconnect_ind->mdl_id); in bta_hl_dch_mca_reconnect_ind()
1247 if (bta_hl_find_mdl_cfg_idx(app_idx, mcl_idx, p_reconnect_ind->mdl_id, &mdl_cfg_idx)) in bta_hl_dch_mca_reconnect_ind()
1249 if (!bta_hl_find_mdl_idx(app_idx,mcl_idx,p_reconnect_ind->mdl_id, &in_use_mdl_idx) ) in bta_hl_dch_mca_reconnect_ind()
1262 p_dcb->mdl_id = p_reconnect_ind->mdl_id; in bta_hl_dch_mca_reconnect_ind()
1288 p_dcb->mdl_id, in bta_hl_dch_mca_reconnect_ind()
1372 p_dcb->mdl_id, in bta_hl_dch_mca_reconnect()
1421 p_dcb->mdl_id, in bta_hl_dch_create_rsp()
[all …]
/system/bt/bta/include/
Dbta_hl_api.h265 tBTA_HL_MDL_ID mdl_id; member
273 tBTA_HL_MDL_ID mdl_id; member
332 tBTA_HL_MDL_ID mdl_id; member
352 tBTA_HL_MDL_ID mdl_id; member
493 tBTA_HL_MDL_ID mdl_id; /* MCAP data link ID for this member
506 tBTA_HL_MDL_ID mdl_id; /* MCAP data link ID for this member
521 tBTA_HL_MDL_ID mdl_id; /* MCAP data link ID for this member
557 tBTA_HL_MDL_ID mdl_id; member
565 tBTA_HL_MDL_ID mdl_id; member
838 tBTA_HL_MDL_ID mdl_id );
/system/bt/btif/src/
Dbtif_hl.c383 static BOOLEAN btif_hl_find_mdl_idx(UINT8 app_idx, UINT8 mcl_idx, UINT16 mdl_id, in btif_hl_find_mdl_idx() argument
393 (mdl_id !=0) && in btif_hl_find_mdl_idx()
394 (p_mcb->mdl[i].mdl_id== mdl_id)) in btif_hl_find_mdl_idx()
403 __FUNCTION__,found, mdl_id, i); in btif_hl_find_mdl_idx()
709 p_mdl->base.mdl_id && in btif_hl_is_reconnect_possible()
710 !btif_hl_find_mdl_idx(app_idx, mcl_idx,p_mdl->base.mdl_id, &mdl_idx)) in btif_hl_is_reconnect_possible()
713 i, p_mdl->base.active, p_mdl->base.mdl_id,p_mdl->base.dch_mode); in btif_hl_is_reconnect_possible()
719 *p_mdl_id = p_mdl->base.mdl_id; in btif_hl_is_reconnect_possible()
720 … BTIF_TRACE_DEBUG("reconnect is possible dch_mode=%d mdl_id=%d", dch_mode, p_mdl->base.mdl_id ); in btif_hl_is_reconnect_possible()
744 *p_mdl_id = p_mdl1->base.mdl_id; in btif_hl_is_reconnect_possible()
[all …]
/system/bt/btif/co/
Dbta_hl_co.c225 p_mdl_cfg->mdl_id, in bta_hl_co_save_mdl()
296 … i, p->mdl_id, p->dch_mode, p->local_mdep_role, p->local_mdep_role, p->mtu); in bta_hl_co_load_mdl_config()
/system/bt/btif/include/
Dbtif_hl.h163 UINT16 mdl_id; member
221 UINT16 mdl_id; member