Lines Matching refs:mdl_idx
51 UINT8 mdl_idx, UINT16 status);
83 void bta_hl_dch_mca_cong_change(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_mca_cong_change() argument
88 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_mca_cong_change()
117 void bta_hl_dch_echo_test(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_echo_test() argument
122 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_echo_test()
147 void bta_hl_dch_sdp_init(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_sdp_init() argument
151 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_sdp_init()
158 p_mcb->sdp_mdl_idx = mdl_idx; in bta_hl_dch_sdp_init()
169 if (bta_hl_init_sdp(p_mcb->sdp_oper, app_idx, mcl_idx, mdl_idx) != BTA_HL_STATUS_OK) in bta_hl_dch_sdp_init()
173 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_SDP_FAIL_EVT, p_data); in bta_hl_dch_sdp_init()
179 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_SDP_FAIL_EVT, p_data); in bta_hl_dch_sdp_init()
193 void bta_hl_dch_close_echo_test(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_close_echo_test() argument
196 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_close_echo_test()
218 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_CMPL_EVT, p_data); in bta_hl_dch_close_echo_test()
232 void bta_hl_dch_mca_rcv_data(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_mca_rcv_data() argument
237 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_mca_rcv_data()
252 … bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_ECHO_TEST_EVT, p_data); in bta_hl_dch_mca_rcv_data()
298 void bta_hl_dch_ci_put_echo_data(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_ci_put_echo_data() argument
301 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_ci_put_echo_data()
312 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_ECHO_TEST_EVT, p_data); in bta_hl_dch_ci_put_echo_data()
327 void bta_hl_dch_ci_get_echo_data(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_ci_get_echo_data() argument
330 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_ci_get_echo_data()
345 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_OPEN_EVT, p_data); in bta_hl_dch_ci_get_echo_data()
349 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_CMPL_EVT, p_data); in bta_hl_dch_ci_get_echo_data()
354 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_CMPL_EVT, p_data); in bta_hl_dch_ci_get_echo_data()
369 void bta_hl_dch_ci_put_rx_data(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_ci_put_rx_data() argument
374 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_ci_put_rx_data()
392 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_EVT, p_data); in bta_hl_dch_ci_put_rx_data()
410 void bta_hl_dch_ci_get_tx_data(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_ci_get_tx_data() argument
415 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_ci_get_tx_data()
471 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_EVT, p_data); in bta_hl_dch_ci_get_tx_data()
485 void bta_hl_dch_send_data(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_send_data() argument
490 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_send_data()
541 void bta_hl_dch_close_cmpl(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_close_cmpl() argument
546 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_close_cmpl()
706 bta_hl_clean_mdl_cb(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_close_cmpl()
734 void bta_hl_dch_mca_close_ind(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_mca_close_ind() argument
737 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_mca_close_ind()
760 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_CMPL_EVT, p_data); in bta_hl_dch_mca_close_ind()
777 void bta_hl_dch_mca_close_cfm(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_mca_close_cfm() argument
780 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_mca_close_cfm()
800 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_CMPL_EVT, p_data); in bta_hl_dch_mca_close_cfm()
824 void bta_hl_dch_mca_close(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_mca_close() argument
829 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_mca_close()
875 void bta_hl_dch_mca_open_ind(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_mca_open_ind() argument
880 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_mca_open_ind()
932 bta_hl_save_mdl_cfg(app_idx, mcl_idx,mdl_idx); in bta_hl_dch_mca_open_ind()
945 if (bta_hl_validate_chan_cfg(app_idx, mcl_idx, mdl_idx)) in bta_hl_dch_mca_open_ind()
947 bta_hl_save_mdl_cfg(app_idx, mcl_idx,mdl_idx); in bta_hl_dch_mca_open_ind()
982 void bta_hl_dch_mca_open_cfm(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_mca_open_cfm() argument
987 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_mca_open_cfm()
1047 bta_hl_save_mdl_cfg(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_mca_open_cfm()
1056 … bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_ECHO_TEST_EVT, p_data); in bta_hl_dch_mca_open_cfm()
1067 if (bta_hl_validate_chan_cfg(app_idx, mcl_idx, mdl_idx)) in bta_hl_dch_mca_open_cfm()
1069 bta_hl_save_mdl_cfg(app_idx, mcl_idx,mdl_idx); in bta_hl_dch_mca_open_cfm()
1103 void bta_hl_dch_mca_abort_ind(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_mca_abort_ind() argument
1106 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_mca_abort_ind()
1114 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_CMPL_EVT, p_data); in bta_hl_dch_mca_abort_ind()
1126 void bta_hl_dch_mca_abort_cfm(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_mca_abort_cfm() argument
1131 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_mca_abort_cfm()
1153 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_CMPL_EVT, p_data); in bta_hl_dch_mca_abort_cfm()
1171 void bta_hl_dch_mca_abort(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_mca_abort() argument
1176 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_mca_abort()
1182 (p_mcb->sdp_mdl_idx == mdl_idx) ) in bta_hl_dch_mca_abort()
1232 void bta_hl_dch_mca_reconnect_ind(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_mca_reconnect_ind() argument
1236 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_mca_reconnect_ind()
1269 bta_hl_set_dch_chan_cfg(app_idx, mcl_idx, mdl_idx, p_data); in bta_hl_dch_mca_reconnect_ind()
1293 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_CMPL_EVT, p_data); in bta_hl_dch_mca_reconnect_ind()
1306 void bta_hl_dch_mca_reconnect_cfm(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_mca_reconnect_cfm() argument
1310 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_mca_reconnect_cfm()
1320 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_ABORT_EVT, p_data); in bta_hl_dch_mca_reconnect_cfm()
1330 bta_hl_set_dch_chan_cfg(app_idx, mcl_idx, mdl_idx, p_data); in bta_hl_dch_mca_reconnect_cfm()
1336 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_CMPL_EVT, p_data); in bta_hl_dch_mca_reconnect_cfm()
1341 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_CMPL_EVT, p_data); in bta_hl_dch_mca_reconnect_cfm()
1355 void bta_hl_dch_mca_reconnect(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_mca_reconnect() argument
1359 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_mca_reconnect()
1375 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_CMPL_EVT, p_data); in bta_hl_dch_mca_reconnect()
1380 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_CMPL_EVT, p_data); in bta_hl_dch_mca_reconnect()
1394 void bta_hl_dch_create_rsp(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_create_rsp() argument
1398 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_create_rsp()
1412 bta_hl_set_dch_chan_cfg(app_idx, mcl_idx, mdl_idx, p_data); in bta_hl_dch_create_rsp()
1426 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_CMPL_EVT, p_data); in bta_hl_dch_create_rsp()
1439 void bta_hl_dch_mca_create_ind(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_mca_create_ind() argument
1444 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_mca_create_ind()
1475 bta_hl_set_dch_chan_cfg(app_idx, mcl_idx, mdl_idx, p_data); in bta_hl_dch_mca_create_ind()
1523 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_CMPL_EVT, p_data); in bta_hl_dch_mca_create_ind()
1545 void bta_hl_dch_mca_create_cfm(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_mca_create_cfm() argument
1549 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_mca_create_cfm()
1559 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_ABORT_EVT, p_data); in bta_hl_dch_mca_create_cfm()
1567 if (bta_hl_validate_cfg(app_idx, mcl_idx, mdl_idx, p_create_cfm->cfg )) in bta_hl_dch_mca_create_cfm()
1569 bta_hl_set_dch_chan_cfg(app_idx, mcl_idx, mdl_idx, p_data); in bta_hl_dch_mca_create_cfm()
1576 … bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_CMPL_EVT, p_data); in bta_hl_dch_mca_create_cfm()
1589 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_CMPL_EVT, p_data); in bta_hl_dch_mca_create_cfm()
1595 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_CMPL_EVT, p_data); in bta_hl_dch_mca_create_cfm()
1609 void bta_hl_dch_mca_create(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_mca_create() argument
1613 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_dch_mca_create()
1622 bta_hl_validate_peer_cfg(app_idx, mcl_idx, mdl_idx, in bta_hl_dch_mca_create()
1638 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_CMPL_EVT, p_data); in bta_hl_dch_mca_create()
1644 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_CMPL_EVT, p_data); in bta_hl_dch_mca_create()
1657 void bta_hl_dch_sdp_fail(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx, in bta_hl_dch_sdp_fail() argument
1664 bta_hl_dch_sm_execute(app_idx, mcl_idx, mdl_idx, BTA_HL_DCH_CLOSE_CMPL_EVT, p_data); in bta_hl_dch_sdp_fail()
1682 UINT8 mdl_idx, UINT16 status) in bta_hl_sdp_cback() argument
1701 status, sdp_oper, app_idx, mcl_idx, mdl_idx); in bta_hl_sdp_cback()
1705 service_uuid = bta_hl_get_service_uuids(sdp_oper, app_idx, mcl_idx, mdl_idx); in bta_hl_sdp_cback()
1905 p_dch_buf->mdl_idx = mdl_idx; in bta_hl_sdp_cback()
1906 p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_sdp_cback()
1944 bta_hl_cb.scb[0].mdl_idx, in bta_hl_sdp_cback0()
1965 bta_hl_cb.scb[1].mdl_idx, in bta_hl_sdp_cback1()
1984 bta_hl_cb.scb[2].mdl_idx, in bta_hl_sdp_cback2()
2003 bta_hl_cb.scb[3].mdl_idx, in bta_hl_sdp_cback3()
2024 bta_hl_cb.scb[4].mdl_idx, in bta_hl_sdp_cback4()
2045 bta_hl_cb.scb[5].mdl_idx, in bta_hl_sdp_cback5()
2064 bta_hl_cb.scb[6].mdl_idx, in bta_hl_sdp_cback6()
2105 UINT8 mdl_idx, in bta_hl_allocate_spd_cback() argument
2121 bta_hl_cb.scb[i].mdl_idx = mdl_idx; in bta_hl_allocate_spd_cback()
2139 bta_hl_cb.scb[i].mdl_idx ); in bta_hl_allocate_spd_cback()
2156 UINT8 mdl_idx) in bta_hl_init_sdp() argument
2166 sdp_oper, app_idx, mcl_idx, mdl_idx); in bta_hl_init_sdp()
2168 …if ((p_cb->sdp_cback = bta_hl_allocate_spd_cback(sdp_oper, app_idx, mcl_idx, mdl_idx, &sdp_cback_i… in bta_hl_init_sdp()
2618 UINT8 app_idx, mcl_idx, mdl_idx; in bta_hl_mcap_data_cback() local
2619 if (bta_hl_find_mdl_idx_using_handle ((tBTA_HL_MDL_HANDLE)mdl, &app_idx, &mcl_idx, &mdl_idx)) in bta_hl_mcap_data_cback()
2626 p_msg->mdl_idx = mdl_idx; in bta_hl_mcap_data_cback()