Lines Matching refs:lcid

41 void avdt_l2c_connect_ind_cback(const RawAddress& bd_addr, uint16_t lcid,
43 void avdt_l2c_connect_cfm_cback(uint16_t lcid, uint16_t result);
44 void avdt_l2c_config_cfm_cback(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg);
45 void avdt_l2c_config_ind_cback(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg);
46 void avdt_l2c_disconnect_ind_cback(uint16_t lcid, bool ack_needed);
47 void avdt_l2c_disconnect_cfm_cback(uint16_t lcid, uint16_t result);
48 void avdt_l2c_congestion_ind_cback(uint16_t lcid, bool is_congested);
49 void avdt_l2c_data_ind_cback(uint16_t lcid, BT_HDR* p_buf);
91 L2CA_ConnectRsp(*bd_addr, p_tbl->id, p_tbl->lcid, L2CAP_CONN_OK, in avdt_sec_check_complete_term()
95 avdtp_cb.ad.lcid_tbl[p_tbl->lcid - L2CAP_BASE_APPL_CID] = in avdt_sec_check_complete_term()
97 avdtp_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][p_tbl->tcid].lcid = p_tbl->lcid; in avdt_sec_check_complete_term()
108 L2CA_ConfigReq(p_tbl->lcid, &cfg); in avdt_sec_check_complete_term()
110 L2CA_ConnectRsp(*bd_addr, p_tbl->id, p_tbl->lcid, L2CAP_CONN_SECURITY_BLOCK, in avdt_sec_check_complete_term()
149 L2CA_ConfigReq(p_tbl->lcid, &cfg); in avdt_sec_check_complete_orig()
151 L2CA_DisconnectReq(p_tbl->lcid); in avdt_sec_check_complete_orig()
165 void avdt_l2c_connect_ind_cback(const RawAddress& bd_addr, uint16_t lcid, in avdt_l2c_connect_ind_cback() argument
193 p_tbl->lcid = lcid; in avdt_l2c_connect_ind_cback()
212 L2CA_ConnectRsp(p_ccb->peer_addr, p_tbl->id, lcid, L2CAP_CONN_PENDING, in avdt_l2c_connect_ind_cback()
248 L2CA_ConnectRsp(bd_addr, id, lcid, result, 0); in avdt_l2c_connect_ind_cback()
253 avdtp_cb.ad.lcid_tbl[lcid - L2CAP_BASE_APPL_CID] = in avdt_l2c_connect_ind_cback()
255 avdtp_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][p_tbl->tcid].lcid = lcid; in avdt_l2c_connect_ind_cback()
266 L2CA_ConfigReq(lcid, &cfg); in avdt_l2c_connect_ind_cback()
280 void avdt_l2c_connect_cfm_cback(uint16_t lcid, uint16_t result) { in avdt_l2c_connect_cfm_cback() argument
285 AVDT_TRACE_DEBUG("avdt_l2c_connect_cfm_cback lcid: %d, result: %d", lcid, in avdt_l2c_connect_cfm_cback()
288 p_tbl = avdt_ad_tc_tbl_by_lcid(lcid); in avdt_l2c_connect_cfm_cback()
304 L2CA_ConfigReq(lcid, &cfg); in avdt_l2c_connect_cfm_cback()
312 p_tbl->lcid = lcid; in avdt_l2c_connect_cfm_cback()
353 void avdt_l2c_config_cfm_cback(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg) { in avdt_l2c_config_cfm_cback() argument
356 AVDT_TRACE_DEBUG("%s: lcid: %d", __func__, lcid); in avdt_l2c_config_cfm_cback()
359 p_tbl = avdt_ad_tc_tbl_by_lcid(lcid); in avdt_l2c_config_cfm_cback()
361 p_tbl->lcid = lcid; in avdt_l2c_config_cfm_cback()
378 L2CA_DisconnectReq(lcid); in avdt_l2c_config_cfm_cback()
394 void avdt_l2c_config_ind_cback(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg) { in avdt_l2c_config_ind_cback() argument
397 AVDT_TRACE_DEBUG("%s: lcid: %d", __func__, lcid); in avdt_l2c_config_ind_cback()
400 p_tbl = avdt_ad_tc_tbl_by_lcid(lcid); in avdt_l2c_config_ind_cback()
409 lcid); in avdt_l2c_config_ind_cback()
414 L2CA_ConfigRsp(lcid, p_cfg); in avdt_l2c_config_ind_cback()
439 void avdt_l2c_disconnect_ind_cback(uint16_t lcid, bool ack_needed) { in avdt_l2c_disconnect_ind_cback() argument
443 lcid, ack_needed); in avdt_l2c_disconnect_ind_cback()
445 p_tbl = avdt_ad_tc_tbl_by_lcid(lcid); in avdt_l2c_disconnect_ind_cback()
449 L2CA_DisconnectRsp(lcid); in avdt_l2c_disconnect_ind_cback()
466 void avdt_l2c_disconnect_cfm_cback(uint16_t lcid, uint16_t result) { in avdt_l2c_disconnect_cfm_cback() argument
469 AVDT_TRACE_DEBUG("avdt_l2c_disconnect_cfm_cback lcid: %d, result: %d", lcid, in avdt_l2c_disconnect_cfm_cback()
472 p_tbl = avdt_ad_tc_tbl_by_lcid(lcid); in avdt_l2c_disconnect_cfm_cback()
488 void avdt_l2c_congestion_ind_cback(uint16_t lcid, bool is_congested) { in avdt_l2c_congestion_ind_cback() argument
492 p_tbl = avdt_ad_tc_tbl_by_lcid(lcid); in avdt_l2c_congestion_ind_cback()
508 void avdt_l2c_data_ind_cback(uint16_t lcid, BT_HDR* p_buf) { in avdt_l2c_data_ind_cback() argument
512 p_tbl = avdt_ad_tc_tbl_by_lcid(lcid); in avdt_l2c_data_ind_cback()