Lines Matching refs:local_cid
91 (*p_ccb->p_rcb->api.pL2CA_ConnectCfm_Cb)(p_ccb->local_cid, L2CAP_CONN_OK); in l2c_csm_indicate_connection_open()
94 p_ccb->p_lcb->remote_bd_addr, p_ccb->local_cid, p_ccb->p_rcb->psm, in l2c_csm_indicate_connection_open()
99 p_ccb->local_cid, p_ccb->connection_initiator, &p_ccb->peer_cfg); in l2c_csm_indicate_connection_open()
178 uint16_t local_cid = p_ccb->local_cid; in l2c_csm_closed() local
183 p_ccb->local_cid, l2c_csm_get_event_name(event)); in l2c_csm_closed()
189 LOG_DEBUG("LCID: 0x%04x st: CLOSED evt: %s", p_ccb->local_cid, in l2c_csm_closed()
195 p_ccb->local_cid); in l2c_csm_closed()
197 (*disconnect_ind)(local_cid, false); in l2c_csm_closed()
218 (*p_ccb->p_rcb->api.pL2CA_Error_Cb)(local_cid, L2CAP_CONN_OTHER_ERROR); in l2c_csm_closed()
251 (*p_ccb->p_rcb->api.pL2CA_Error_Cb)(local_cid, in l2c_csm_closed()
264 (*p_ccb->p_rcb->api.pL2CA_Error_Cb)(local_cid, L2CAP_CONN_OTHER_ERROR); in l2c_csm_closed()
316 (*p_ccb->p_rcb->api.pL2CA_Error_Cb)(local_cid, L2CAP_CONN_OTHER_ERROR); in l2c_csm_closed()
350 uint16_t local_cid = p_ccb->local_cid; in l2c_csm_orig_w4_sec_comp() local
356 p_ccb->local_cid, l2c_csm_get_event_name(event)); in l2c_csm_orig_w4_sec_comp()
361 p_ccb->local_cid); in l2c_csm_orig_w4_sec_comp()
363 (*disconnect_ind)(local_cid, false); in l2c_csm_orig_w4_sec_comp()
391 (*p_ccb->p_rcb->api.pL2CA_Error_Cb)(local_cid, in l2c_csm_orig_w4_sec_comp()
412 (*p_ccb->p_rcb->api.pL2CA_Error_Cb)(local_cid, L2CAP_CONN_OTHER_ERROR); in l2c_csm_orig_w4_sec_comp()
447 LOG_DEBUG("LCID: 0x%04x st: TERM_W4_SEC_COMP evt: %s", p_ccb->local_cid, in l2c_csm_term_w4_sec_comp()
491 p_ccb->local_cid); in l2c_csm_term_w4_sec_comp()
540 l2cu_send_peer_disc_rsp(p_ccb->p_lcb, p_ccb->remote_id, p_ccb->local_cid, in l2c_csm_term_w4_sec_comp()
584 uint16_t local_cid = p_ccb->local_cid; in l2c_csm_w4_l2cap_connect_rsp() local
587 LOG_DEBUG("LCID: 0x%04x st: W4_L2CAP_CON_RSP evt: %s", p_ccb->local_cid, in l2c_csm_w4_l2cap_connect_rsp()
600 p_ccb->local_cid); in l2c_csm_w4_l2cap_connect_rsp()
602 (*disconnect_ind)(local_cid, false); in l2c_csm_w4_l2cap_connect_rsp()
623 p_ccb->local_cid); in l2c_csm_w4_l2cap_connect_rsp()
641 p_ccb->local_cid, L2CAP_CONN_OK); in l2c_csm_w4_l2cap_connect_rsp()
643 (*credit_based_connect_cfm)(p_lcb->remote_bd_addr, p_ccb->local_cid, in l2c_csm_w4_l2cap_connect_rsp()
651 local_cid, p_ci->l2cap_result); in l2c_csm_w4_l2cap_connect_rsp()
652 (*p_ccb->p_rcb->api.pL2CA_Error_Cb)(local_cid, p_ci->l2cap_result); in l2c_csm_w4_l2cap_connect_rsp()
659 << loghex(p_ccb->local_cid) in l2c_csm_w4_l2cap_connect_rsp()
662 (*p_ccb->p_rcb->api.pL2CA_Error_Cb)(local_cid, L2CAP_CONN_OTHER_ERROR); in l2c_csm_w4_l2cap_connect_rsp()
673 (*p_ccb->p_rcb->api.pL2CA_Error_Cb)(p_ccb->local_cid, in l2c_csm_w4_l2cap_connect_rsp()
682 LOG(WARNING) << __func__ << ": lcid= " << loghex(p_ccb->local_cid); in l2c_csm_w4_l2cap_connect_rsp()
684 (*p_ccb->p_rcb->api.pL2CA_Error_Cb)(local_cid, L2CAP_CONN_OTHER_ERROR); in l2c_csm_w4_l2cap_connect_rsp()
710 (*p_ccb->p_rcb->api.pL2CA_Error_Cb)(local_cid, L2CAP_CONN_OTHER_ERROR); in l2c_csm_w4_l2cap_connect_rsp()
742 uint16_t local_cid = p_ccb->local_cid; in l2c_csm_w4_l2ca_connect_rsp() local
744 LOG_DEBUG("LCID: 0x%04x st: W4_L2CA_CON_RSP evt: %s", p_ccb->local_cid, in l2c_csm_w4_l2ca_connect_rsp()
750 p_ccb->local_cid); in l2c_csm_w4_l2ca_connect_rsp()
752 (*disconnect_ind)(local_cid, false); in l2c_csm_w4_l2ca_connect_rsp()
844 p_ccb->local_cid); in l2c_csm_w4_l2ca_connect_rsp()
846 (*disconnect_ind)(local_cid, false); in l2c_csm_w4_l2ca_connect_rsp()
865 LOG_DEBUG("Calling Connect_Ind_Cb(), CID: 0x%04x", p_ccb->local_cid); in l2c_csm_w4_l2ca_connect_rsp()
892 uint16_t local_cid = p_ccb->local_cid; in l2c_csm_config() local
898 LOG_DEBUG("LCID: 0x%04x st: CONFIG evt: %s", p_ccb->local_cid, in l2c_csm_config()
904 p_ccb->local_cid); in l2c_csm_config()
906 (*disconnect_ind)(local_cid, false); in l2c_csm_config()
914 p_ccb->local_cid); in l2c_csm_config()
917 p_lcb->remote_bd_addr, p_ccb->local_cid, false, p_le_cfg); in l2c_csm_config()
923 p_ccb->local_cid, (p_cfg->flags & L2CAP_CFG_FLAGS_MASK_CONT)); in l2c_csm_config()
930 (*p_ccb->p_rcb->api.pL2CA_Error_Cb)(p_ccb->local_cid, in l2c_csm_config()
952 LOG_DEBUG("Calling Config_Rsp_Cb(), CID: 0x%04x", p_ccb->local_cid); in l2c_csm_config()
955 p_lcb->remote_bd_addr, p_ccb->local_cid, true, p_le_cfg); in l2c_csm_config()
976 p_ccb->local_cid); in l2c_csm_config()
978 (*disconnect_ind)(local_cid, false); in l2c_csm_config()
1008 LOG_DEBUG("Calling Config_Rsp_Cb(), CID: 0x%04x", p_ccb->local_cid); in l2c_csm_config()
1022 p_ccb->local_cid, p_cfg->result); in l2c_csm_config()
1024 (*p_ccb->p_rcb->api.pL2CA_Error_Cb)(p_ccb->local_cid, in l2c_csm_config()
1035 p_ccb->local_cid); in l2c_csm_config()
1036 (*p_ccb->p_rcb->api.pL2CA_DisconnectInd_Cb)(p_ccb->local_cid, true); in l2c_csm_config()
1064 p_ccb->local_cid); in l2c_csm_config()
1066 (*disconnect_ind)(local_cid, false); in l2c_csm_config()
1096 LOG_DEBUG("Calling DataInd_Cb(), CID: 0x%04x", p_ccb->local_cid); in l2c_csm_config()
1097 if (p_ccb->local_cid >= L2CAP_FIRST_FIXED_CHNL && in l2c_csm_config()
1098 p_ccb->local_cid <= L2CAP_LAST_FIXED_CHNL) { in l2c_csm_config()
1099 if (p_ccb->local_cid < L2CAP_BASE_APPL_CID) { in l2c_csm_config()
1100 if (l2cb.fixed_reg[p_ccb->local_cid - L2CAP_FIRST_FIXED_CHNL] in l2c_csm_config()
1103 (*l2cb.fixed_reg[p_ccb->local_cid - L2CAP_FIRST_FIXED_CHNL] in l2c_csm_config()
1104 .pL2CA_FixedData_Cb)(p_ccb->local_cid, in l2c_csm_config()
1114 (*p_ccb->p_rcb->api.pL2CA_DataInd_Cb)(p_ccb->local_cid, (BT_HDR*)p_data); in l2c_csm_config()
1130 temp_p_ccb->local_cid, false); in l2c_csm_config()
1142 p_ccb->local_cid); in l2c_csm_config()
1144 (*disconnect_ind)(local_cid, false); in l2c_csm_config()
1165 uint16_t local_cid = p_ccb->local_cid; in l2c_csm_open() local
1173 LOG_DEBUG("LCID: 0x%04x st: OPEN evt: %s", p_ccb->local_cid, in l2c_csm_open()
1179 p_ccb->local_cid); in l2c_csm_open()
1182 (*p_ccb->p_rcb->api.pL2CA_DisconnectInd_Cb)(local_cid, false); in l2c_csm_open()
1190 p_ccb->local_cid); in l2c_csm_open()
1193 p_ccb->p_lcb->remote_bd_addr, p_ccb->local_cid, false, p_le_cfg); in l2c_csm_open()
1213 (*p_ccb->p_rcb->api.pL2CA_ConfigInd_Cb)(p_ccb->local_cid, p_cfg); in l2c_csm_open()
1244 p_ccb->local_cid); in l2c_csm_open()
1245 (*p_ccb->p_rcb->api.pL2CA_DisconnectInd_Cb)(p_ccb->local_cid, true); in l2c_csm_open()
1252 (*p_ccb->p_rcb->api.pL2CA_DataInd_Cb)(p_ccb->local_cid, in l2c_csm_open()
1346 LOG_DEBUG("LCID: 0x%04x st: W4_L2CAP_DISC_RSP evt: %s", p_ccb->local_cid, in l2c_csm_w4_l2cap_disconnect_rsp()
1355 l2cu_send_peer_disc_rsp(p_ccb->p_lcb, p_ccb->remote_id, p_ccb->local_cid, in l2c_csm_w4_l2cap_disconnect_rsp()
1391 uint16_t local_cid = p_ccb->local_cid; in l2c_csm_w4_l2ca_disconnect_rsp() local
1393 LOG_DEBUG("LCID: 0x%04x st: W4_L2CA_DISC_RSP evt: %s", p_ccb->local_cid, in l2c_csm_w4_l2ca_disconnect_rsp()
1399 p_ccb->local_cid); in l2c_csm_w4_l2ca_disconnect_rsp()
1401 (*disconnect_ind)(local_cid, false); in l2c_csm_w4_l2ca_disconnect_rsp()
1405 l2cu_send_peer_disc_rsp(p_ccb->p_lcb, p_ccb->remote_id, p_ccb->local_cid, in l2c_csm_w4_l2ca_disconnect_rsp()
1408 p_ccb->local_cid); in l2c_csm_w4_l2ca_disconnect_rsp()
1410 (*disconnect_ind)(local_cid, false); in l2c_csm_w4_l2ca_disconnect_rsp()
1415 l2cu_send_peer_disc_rsp(p_ccb->p_lcb, p_ccb->remote_id, p_ccb->local_cid, in l2c_csm_w4_l2ca_disconnect_rsp()
1561 p_buf->event = p_ccb->local_cid; in l2c_enqueue_peer_data()
1579 p_ccb, p_ccb->in_use, p_ccb->chnl_state, p_ccb->local_cid, in l2c_enqueue_peer_data()