Lines Matching refs:mdl_id
637 … 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()
828 if (bta_hl_find_mdl_cfg_idx(app_idx,mcl_idx, mdl_id, &mdl_cfg_idx)) in bta_hl_allocate_mdl_id()
842 APPL_TRACE_DEBUG("bta_hl_allocate_mdl OK mdl_id=%d", mdl_id); in bta_hl_allocate_mdl_id()
844 return mdl_id; in bta_hl_allocate_mdl_id()
855 BOOLEAN bta_hl_find_mdl_idx(UINT8 app_idx, UINT8 mcl_idx, UINT16 mdl_id, in bta_hl_find_mdl_idx() argument
865 (mdl_id !=0) && in bta_hl_find_mdl_idx()
866 (p_mcb->mdl[i].mdl_id== mdl_id)) in bta_hl_find_mdl_idx()
878 found, mdl_id, i); in bta_hl_find_mdl_idx()
1325 if (p_dcb->in_use && p_mdl->mdl_id == p_dcb->mdl_id) in bta_hl_find_non_active_mdl_cfg()
1456 tBTA_HL_MDL_ID mdl_id, UINT8 *p_mdl_cfg_idx) in bta_hl_find_mdl_cfg_idx() argument
1468 APPL_TRACE_DEBUG("bta_hl_find_mdl_cfg_idx: mdl_id =%d, p_mdl->mdl_id=%d",mdl_id, in bta_hl_find_mdl_cfg_idx()
1469 p_mdl->mdl_id); in bta_hl_find_mdl_cfg_idx()
1472 (p_mdl->mdl_id == mdl_id)) in bta_hl_find_mdl_cfg_idx()
1655 tBTA_HL_MDL_ID mdl_id) in bta_hl_is_mdl_exsit_in_mcl() argument
1667 if (mdl_id != BTA_HL_DELETE_ALL_MDL_IDS) in bta_hl_is_mdl_exsit_in_mcl()
1669 if (p_mdl->mdl_id == mdl_id) in bta_hl_is_mdl_exsit_in_mcl()
1697 tBTA_HL_MDL_ID mdl_id) in bta_hl_delete_mdl_cfg() argument
1709 if (mdl_id != BTA_HL_DELETE_ALL_MDL_IDS) in bta_hl_delete_mdl_cfg()
1711 if (p_mdl->mdl_id == mdl_id) in bta_hl_delete_mdl_cfg()
1748 BOOLEAN bta_hl_is_mdl_value_valid(tBTA_HL_MDL_ID mdl_id) in bta_hl_is_mdl_value_valid() argument
1752 if (mdl_id != BTA_HL_DELETE_ALL_MDL_IDS) in bta_hl_is_mdl_value_valid()
1754 if (mdl_id != 0) in bta_hl_is_mdl_value_valid()
1756 if (mdl_id > BTA_HL_MAX_MDL_VAL ) in bta_hl_is_mdl_value_valid()
1966 …APPL_TRACE_DEBUG("bta_hl_validate_reconnect_params mdl_id=%d app_idx=%d", p_reconnect->mdl_id, ap… in bta_hl_validate_reconnect_params()
1968 if (bta_hl_find_mdl_cfg_idx(app_idx, mcl_idx, p_reconnect->mdl_id, &mdl_cfg_idx)) in bta_hl_validate_reconnect_params()
2006 if (!bta_hl_find_mdl_idx(app_idx,mcl_idx, p_reconnect->mdl_id, &in_use_mdl_idx)) in bta_hl_validate_reconnect_params()
2012 APPL_TRACE_ERROR("mdl_id=%d is curreltly in use",p_reconnect->mdl_id); in bta_hl_validate_reconnect_params()
2521 tBTA_HL_MDL_ID mdl_id; in bta_hl_save_mdl_cfg() local
2527 mdl_id = p_dcb->mdl_id; in bta_hl_save_mdl_cfg()
2528 if (!bta_hl_find_mdl_cfg_idx(app_idx, mcl_idx, mdl_id, &mdl_cfg_idx)) in bta_hl_save_mdl_cfg()
2547 mdl_cfg.mdl_id = p_dcb->mdl_id; in bta_hl_save_mdl_cfg()
2570 mdl_cfg.mdl_id, mdl_cfg.mtu, mdl_cfg.fcs, mdl_cfg.dch_mode); in bta_hl_save_mdl_cfg()
2759 get_mdl_result = bta_hl_find_mdl_cfg_idx(app_idx, mcl_idx, p_dcb->mdl_id, &mdl_cfg_idx); in bta_hl_validate_chan_cfg()
2803 BOOLEAN bta_hl_is_cong_on(UINT8 app_id, BD_ADDR bd_addr, tBTA_HL_MDL_ID mdl_id) in bta_hl_is_cong_on() argument
2814 if (bta_hl_find_mdl_idx(app_idx, mcl_idx, mdl_id, &mdl_idx )) in bta_hl_is_cong_on()
3220 tBTA_HL_MDL_ID mdl_id, in bta_hl_build_dch_open_cfm() argument
3231 p_evt_data->dch_open_cfm.mdl_id = mdl_id; in bta_hl_build_dch_open_cfm()
3278 tBTA_HL_MDL_ID mdl_id, in bta_hl_build_delete_mdl_cfm() argument
3284 p_evt_data->delete_mdl_cfm.mdl_id = mdl_id; in bta_hl_build_delete_mdl_cfm()