Lines Matching refs:lcid
34 void avct_l2c_connect_ind_cback(const RawAddress& bd_addr, uint16_t lcid,
36 void avct_l2c_connect_cfm_cback(uint16_t lcid, uint16_t result);
37 void avct_l2c_config_cfm_cback(uint16_t lcid, uint16_t result,
39 void avct_l2c_config_ind_cback(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg);
40 void avct_l2c_disconnect_ind_cback(uint16_t lcid, bool ack_needed);
41 void avct_l2c_congestion_ind_cback(uint16_t lcid, bool is_congested);
42 void avct_l2c_data_ind_cback(uint16_t lcid, BT_HDR* p_buf);
43 static void avct_on_l2cap_error(uint16_t lcid, uint16_t result);
92 void avct_l2c_connect_ind_cback(const RawAddress& bd_addr, uint16_t lcid, in avct_l2c_connect_ind_cback() argument
123 lcid, result, p_lcb->ch_state); in avct_l2c_connect_ind_cback()
128 L2CA_DisconnectReq(lcid); in avct_l2c_connect_ind_cback()
134 p_lcb->ch_lcid = lcid; in avct_l2c_connect_ind_cback()
143 static void avct_on_l2cap_error(uint16_t lcid, uint16_t result) { in avct_on_l2cap_error() argument
144 tAVCT_LCB* p_lcb = avct_lcb_by_lcid(lcid); in avct_on_l2cap_error()
149 if (p_lcb->conflict_lcid == lcid) { in avct_on_l2cap_error()
163 L2CA_DisconnectReq(lcid); in avct_on_l2cap_error()
177 void avct_l2c_connect_cfm_cback(uint16_t lcid, uint16_t result) { in avct_l2c_connect_cfm_cback() argument
181 p_lcb = avct_lcb_by_lcid(lcid); in avct_l2c_connect_cfm_cback()
186 lcid, result, p_lcb->ch_state, p_lcb->conflict_lcid); in avct_l2c_connect_cfm_cback()
198 } else if (p_lcb->conflict_lcid == lcid) { in avct_l2c_connect_cfm_cback()
206 L2CA_DisconnectReq(lcid); in avct_l2c_connect_cfm_cback()
224 void avct_l2c_config_cfm_cback(uint16_t lcid, uint16_t initiator, in avct_l2c_config_cfm_cback() argument
226 avct_l2c_config_ind_cback(lcid, p_cfg); in avct_l2c_config_cfm_cback()
231 p_lcb = avct_lcb_by_lcid(lcid); in avct_l2c_config_cfm_cback()
233 AVCT_TRACE_DEBUG("avct_l2c_config_cfm_cback: 0x%x, ch_state: %d,", lcid, in avct_l2c_config_cfm_cback()
254 void avct_l2c_config_ind_cback(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg) { in avct_l2c_config_ind_cback() argument
258 p_lcb = avct_lcb_by_lcid(lcid); in avct_l2c_config_ind_cback()
260 AVCT_TRACE_DEBUG("avct_l2c_config_ind_cback: 0x%x, ch_state: %d", lcid, in avct_l2c_config_ind_cback()
281 void avct_l2c_disconnect_ind_cback(uint16_t lcid, bool ack_needed) { in avct_l2c_disconnect_ind_cback() argument
286 p_lcb = avct_lcb_by_lcid(lcid); in avct_l2c_disconnect_ind_cback()
288 AVCT_TRACE_DEBUG("avct_l2c_disconnect_ind_cback: 0x%x, ch_state: %d", lcid, in avct_l2c_disconnect_ind_cback()
297 void avct_l2c_disconnect(uint16_t lcid, uint16_t result) { in avct_l2c_disconnect() argument
298 L2CA_DisconnectReq(lcid); in avct_l2c_disconnect()
304 p_lcb = avct_lcb_by_lcid(lcid); in avct_l2c_disconnect()
307 "avct_l2c_disconnect_cfm_cback: 0x%x, ch_state: %d, res: %d", lcid, in avct_l2c_disconnect()
330 void avct_l2c_congestion_ind_cback(uint16_t lcid, bool is_congested) { in avct_l2c_congestion_ind_cback() argument
333 AVCT_TRACE_DEBUG("avct_l2c_congestion_ind_cback: 0x%x", lcid); in avct_l2c_congestion_ind_cback()
335 p_lcb = avct_lcb_by_lcid(lcid); in avct_l2c_congestion_ind_cback()
353 void avct_l2c_data_ind_cback(uint16_t lcid, BT_HDR* p_buf) { in avct_l2c_data_ind_cback() argument
356 AVCT_TRACE_DEBUG("avct_l2c_data_ind_cback: 0x%x", lcid); in avct_l2c_data_ind_cback()
358 p_lcb = avct_lcb_by_lcid(lcid); in avct_l2c_data_ind_cback()