Home
last modified time | relevance | path

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

/system/bt/stack/mcap/
Dmca_api.c422 UINT16 mdl_id, UINT8 peer_dep_id, in MCA_CreateMdl() argument
429 …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()
438 if ((peer_dep_id > MCA_MAX_MDEP_ID) || (!MCA_IS_VALID_MDL_ID(mdl_id))) in MCA_CreateMdl()
440 MCA_TRACE_ERROR ("bad peer dep id:%d or bad mdl id: %d ", peer_dep_id, mdl_id); in MCA_CreateMdl()
444 if (mca_ccb_uses_mdl_id(p_ccb, mdl_id)) in MCA_CreateMdl()
446 MCA_TRACE_ERROR ("mdl id: %d is used in the control link", mdl_id); in MCA_CreateMdl()
456 p_dcb->mdl_id = mdl_id; in MCA_CreateMdl()
464 p_evt_data->mdl_id = mdl_id; in MCA_CreateMdl()
497 UINT16 mdl_id, UINT8 cfg, UINT8 rsp_code, in MCA_CreateMdlRsp() argument
505 …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.c112 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()
176 UINT16_TO_BE_STREAM (p, p_msg->mdl_id); in mca_ccb_snd_rsp()
272 BE_STREAM_TO_UINT16 (evt_data.hdr.mdl_id, p); in mca_ccb_hdl_req()
275 MCA_TRACE_DEBUG ("received mdl id: %d ", evt_data.hdr.mdl_id); in mca_ccb_hdl_req()
337 evt_data.hdr.mdl_id = 0; in mca_ccb_hdl_req()
351 if (MCA_IS_VALID_MDL_ID(evt_data.hdr.mdl_id) || in mca_ccb_hdl_req()
352 … ((evt_data.hdr.mdl_id == MCA_ALL_MDL_ID) && (evt_data.hdr.op_code == MCA_OP_MDL_DELETE_REQ))) in mca_ccb_hdl_req()
367 else if (mca_ccb_uses_mdl_id(p_ccb, evt_data.hdr.mdl_id)) in mca_ccb_hdl_req()
370 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.h47 UINT16 mdl_id; /* the MDL ID associated with this request/response */ member
113 UINT16 mdl_id; /* the MDL ID associated with this request/response */ member
246 UINT16 mdl_id; /* the MDL ID for this data channel */ member
272 extern BOOLEAN mca_ccb_uses_mdl_id(tMCA_CCB *p_ccb, UINT16 mdl_id);
293 extern void mca_dcb_close_by_mdl_id(tMCA_CCB*p_ccb, UINT16 mdl_id);
Dmca_csm.c365 BOOLEAN mca_ccb_uses_mdl_id(tMCA_CCB *p_ccb, UINT16 mdl_id) in mca_ccb_uses_mdl_id() argument
375 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.c601 … 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()
618 … 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()
626 … 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()
685 … 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()
694 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()
701 … 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()
708 … 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()
763 UINT16 mdl_id=0; in bta_hl_allocate_mdl_id() local
771 mdl_id = ((mdl_id+1) & 0xFEFF); in bta_hl_allocate_mdl_id()
777 (p_mcb->mdl[i].mdl_id == mdl_id) ) in bta_hl_allocate_mdl_id()
[all …]
Dbta_hl_api.c313 p_buf->mdl_id = p_recon_param->mdl_id; in BTA_HlDchReconnect()
406 tBTA_HL_MDL_ID mdl_id ) in BTA_HlDeleteMdl() argument
413 p_buf->mdl_id = mdl_id; in BTA_HlDeleteMdl()
495 p_buf->mdl_id = p_rsp_param->mdl_id; in BTA_HlDchCreateRsp()
Dbta_hl_int.h308 tBTA_HL_MDL_ID mdl_id; member
321 tBTA_HL_MDL_ID mdl_id; member
397 tBTA_HL_MDL_ID mdl_id; member
449 UINT16 mdl_id; member
735 extern BOOLEAN bta_hl_find_mdl_idx(UINT8 app_idx, UINT8 mcl_idx, UINT16 mdl_id,
756 tBTA_HL_MDL_ID mdl_id, UINT8 *p_mdl_cfg_idx);
761 tBTA_HL_MDL_ID mdl_id);
763 tBTA_HL_MDL_ID mdl_id);
764 extern BOOLEAN bta_hl_is_mdl_value_valid(tBTA_HL_MDL_ID mdl_id);
793 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()
1359 … p_dcb->mdl_id = bta_hl_allocate_mdl_id(app_idx,mcl_idx,mdl_idx); in bta_hl_api_dch_echo_test()
1629 if (bta_hl_is_mdl_value_valid(p_data->api_delete_mdl.mdl_id)) in bta_hl_api_delete_mdl()
1634 p_data->api_delete_mdl.mdl_id)) in bta_hl_api_delete_mdl()
1639 p_mcb->delete_mdl.mdl_id = p_data->api_delete_mdl.mdl_id; in bta_hl_api_delete_mdl()
1643 p_data->api_delete_mdl.mdl_id)!= MCA_SUCCESS) in bta_hl_api_delete_mdl()
1683 p_data->api_delete_mdl.mdl_id, in bta_hl_api_delete_mdl()
1728 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.h264 tBTA_HL_MDL_ID mdl_id; member
272 tBTA_HL_MDL_ID mdl_id; member
331 tBTA_HL_MDL_ID mdl_id; member
351 tBTA_HL_MDL_ID mdl_id; member
492 tBTA_HL_MDL_ID mdl_id; /* MCAP data link ID for this member
505 tBTA_HL_MDL_ID mdl_id; /* MCAP data link ID for this member
520 tBTA_HL_MDL_ID mdl_id; /* MCAP data link ID for this member
556 tBTA_HL_MDL_ID mdl_id; member
564 tBTA_HL_MDL_ID mdl_id; member
837 tBTA_HL_MDL_ID mdl_id );
/system/bt/btif/src/
Dbtif_hl.c333 static BOOLEAN btif_hl_find_mdl_idx(UINT8 app_idx, UINT8 mcl_idx, UINT16 mdl_id, in btif_hl_find_mdl_idx() argument
343 (mdl_id !=0) && in btif_hl_find_mdl_idx()
344 (p_mcb->mdl[i].mdl_id== mdl_id)) in btif_hl_find_mdl_idx()
353 __FUNCTION__,found, mdl_id, i); in btif_hl_find_mdl_idx()
608 p_mdl->base.mdl_id && in btif_hl_is_reconnect_possible()
609 !btif_hl_find_mdl_idx(app_idx, mcl_idx,p_mdl->base.mdl_id, &mdl_idx)) in btif_hl_is_reconnect_possible()
612 i, p_mdl->base.active, p_mdl->base.mdl_id,p_mdl->base.dch_mode); in btif_hl_is_reconnect_possible()
618 *p_mdl_id = p_mdl->base.mdl_id; in btif_hl_is_reconnect_possible()
619 … 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()
643 *p_mdl_id = p_mdl1->base.mdl_id; in btif_hl_is_reconnect_possible()
[all …]
/system/bt/btif/include/
Dbtif_hl.h167 UINT16 mdl_id; member
224 UINT16 mdl_id; member
/system/bt/btif/co/
Dbta_hl_co.c224 p_mdl_cfg->mdl_id, in bta_hl_co_save_mdl()
295 … i, p->mdl_id, p->dch_mode, p->local_mdep_role, p->local_mdep_role, p->mtu); in bta_hl_co_load_mdl_config()