/system/bt/stack/l2cap/ |
H A D | l2c_api.c | 785 BOOLEAN L2CA_ConfigReq (UINT16 cid, tL2CAP_CFG_INFO *p_cfg) argument 790 cid, p_cfg->fcr_present, p_cfg->fcr.mode, p_cfg->mtu_present, p_cfg->mtu); 793 if ((p_ccb = l2cu_find_ccb_by_cid (NULL, cid)) == NULL) 795 L2CAP_TRACE_WARNING ("L2CAP - no CCB for L2CA_cfg_req, CID: %d", cid); 835 BOOLEAN L2CA_ConfigRsp (UINT16 cid, tL2CAP_CFG_INFO *p_cfg) argument 840 cid, p_cfg->result, p_cfg->mtu_present, p_cfg->flush_to_present, p_cfg->fcr_present, p_cfg->fcs_present); 843 if ((p_ccb = l2cu_find_ccb_by_cid (NULL, cid)) == NULL) 845 L2CAP_TRACE_WARNING ("L2CAP - no CCB for L2CA_cfg_rsp, CID: %d", cid); 878 BOOLEAN L2CA_DisconnectReq (UINT16 cid) argument 882 L2CAP_TRACE_API ("L2CA_DisconnectReq() CID: 0x%04x", cid); 906 L2CA_DisconnectRsp(UINT16 cid) argument 1080 L2CA_SetIdleTimeout(UINT16 cid, UINT16 timeout, BOOLEAN is_global) argument 1311 L2CA_FlowControl(UINT16 cid, BOOLEAN data_enabled) argument 1355 L2CA_SendTestSFrame(UINT16 cid, UINT8 sup_type, UINT8 back_track) argument 1387 L2CA_SetTxPriority(UINT16 cid, tL2CAP_CHNL_PRIORITY priority) argument 1415 L2CA_SetChnlDataRate(UINT16 cid, tL2CAP_CHNL_DATA_RATE tx, tL2CAP_CHNL_DATA_RATE rx) argument 2133 L2CA_DataWrite(UINT16 cid, BT_HDR *p_data) argument 2149 L2CA_SetChnlFlushability(UINT16 cid, BOOLEAN is_flushable) argument 2186 L2CA_DataWriteEx(UINT16 cid, BT_HDR *p_data, UINT16 flags) argument [all...] |
H A D | l2c_ucd.c | 161 static void l2c_ucd_disconnect_ind_cback (UINT16 cid, BOOLEAN result) argument 175 static void l2c_ucd_config_ind_cback (UINT16 cid, tL2CAP_CFG_INFO *p_cfg) argument 189 static void l2c_ucd_config_cfm_cback (UINT16 cid, tL2CAP_CFG_INFO *p_cfg) argument
|
H A D | l2c_main.c | 102 " cid:%d opcode:%d cur count:%d", handle, p_msg->layer_specific, 116 L2CAP_TRACE_ERROR ("L2CAP - rcvd ACL for unknown handle:%d ls:%d cid:%d" 543 /* updated spec says send command reject on invalid cid */ 902 UINT8 l2c_data_write (UINT16 cid, BT_HDR *p_data, UINT16 flags) argument 907 if ((p_ccb = l2cu_find_ccb_by_cid (NULL, cid)) == NULL) 909 L2CAP_TRACE_WARNING ("L2CAP - no CCB for L2CA_DataWrite, CID: %d", cid); 925 L2CAP_TRACE_WARNING ("L2CAP - CID: 0x%04x cannot send message bigger than peer's mtu size", cid);
|
H A D | l2c_int.h | 580 extern UINT8 l2c_data_write (UINT16 cid, BT_HDR *p_data, UINT16 flag); 601 extern tL2C_CCB *l2cu_allocate_ccb (tL2C_LCB *p_lcb, UINT16 cid);
|
H A D | l2c_ble.c | 1259 UINT16 cid = fix_cid - L2CAP_FIRST_FIXED_CHNL; local 1273 if (p_lcb->p_fixed_ccbs[cid] != NULL) 1278 p_lcb->p_fixed_ccbs[cid]->tx_data_len = tx_mtu;
|
H A D | l2c_utils.c | 1479 tL2C_CCB *l2cu_allocate_ccb (tL2C_LCB *p_lcb, UINT16 cid) argument 1484 L2CAP_TRACE_DEBUG ("l2cu_allocate_ccb: cid 0x%04x", cid); 1490 if (cid == 0) 1499 p_ccb = &l2cb.ccb_pool[cid - L2CAP_BASE_APPL_CID]; 1519 L2CAP_TRACE_ERROR ("l2cu_allocate_ccb: could not find CCB for CID 0x%04x in the free list", cid); 1591 if (cid == 0) 1595 L2CAP_TRACE_DEBUG ("l2cu_allocate_ccb: cid 0x%04x config_done:0x%x", cid, p_ccb->config_done); 1680 L2CAP_TRACE_DEBUG ("l2cu_release_ccb: cid [all...] |
/system/bt/stack/include/ |
H A D | l2c_api.h | 538 extern BOOLEAN L2CA_ConfigReq (UINT16 cid, tL2CAP_CFG_INFO *p_cfg); 550 extern BOOLEAN L2CA_ConfigRsp (UINT16 cid, tL2CAP_CFG_INFO *p_cfg); 561 extern BOOLEAN L2CA_DisconnectReq (UINT16 cid); 573 extern BOOLEAN L2CA_DisconnectRsp (UINT16 cid); 586 extern UINT8 L2CA_DataWrite (UINT16 cid, BT_HDR *p_data); 632 extern BOOLEAN L2CA_SetIdleTimeout (UINT16 cid, UINT16 timeout, 739 extern BOOLEAN L2CA_FlowControl (UINT16 cid, BOOLEAN data_enabled); 750 extern BOOLEAN L2CA_SendTestSFrame (UINT16 cid, UINT8 sup_type, 762 extern BOOLEAN L2CA_SetTxPriority (UINT16 cid, tL2CAP_CHNL_PRIORITY priority); 787 extern BOOLEAN L2CA_SetChnlDataRate (UINT16 cid, tL2CAP_CHNL_DATA_RAT [all...] |
/system/bt/stack/smp/ |
H A D | smp_l2c.c | 38 static void smp_tx_complete_callback(UINT16 cid, UINT16 num_pkt); 215 static void smp_tx_complete_callback (UINT16 cid, UINT16 num_pkt) argument 227 if (cid == L2CAP_SMP_CID)
|
/system/bt/stack/gap/ |
H A D | gap_conn.c | 43 static tGAP_CCB *gap_find_ccb_by_cid (UINT16 cid); 132 UINT16 cid; local 269 cid = L2CA_CONNECT_REQ (p_ccb->psm, p_rem_bda, &p_ccb->ertm_info); 270 if (cid != 0) 272 p_ccb->connection_id = cid; 279 cid = L2CA_CONNECT_COC_REQ (p_ccb->psm, p_rem_bda, &p_ccb->local_coc_cfg); 280 if (cid != 0) 282 p_ccb->connection_id = cid; 1110 static tGAP_CCB *gap_find_ccb_by_cid (UINT16 cid) argument 1118 if ((p_ccb->con_state != GAP_CCB_STATE_IDLE) && (p_ccb->connection_id == cid)) [all...] |
/system/bt/stack/sdp/ |
H A D | sdp_main.c | 552 UINT16 cid; local 572 cid = L2CA_ConnectReq (SDP_PSM, p_bd_addr); 575 if (cid != 0) 577 p_ccb->connection_id = cid;
|
H A D | sdpint.h | 272 extern tCONN_CB *sdpu_find_ccb_by_cid (UINT16 cid);
|
H A D | sdp_utils.c | 56 tCONN_CB *sdpu_find_ccb_by_cid (UINT16 cid) argument 64 if ((p_ccb->con_state != SDP_STATE_IDLE) && (p_ccb->connection_id == cid))
|
/system/bt/stack/hid/ |
H A D | hidh_conn.c | 51 static UINT8 find_conn_by_cid (UINT16 cid); 892 UINT16 cid; local 918 cid = p_hcon->ctrl_cid; 922 cid = p_hcon->intr_cid; 995 if ((p_hcon->conn_flags & HID_CONN_FLAGS_CONGESTED) || (!L2CA_DataWrite (cid, p_buf))) 1069 static UINT8 find_conn_by_cid (UINT16 cid) argument 1076 && ((hh_cb.devices[xx].conn.ctrl_cid == cid) || (hh_cb.devices[xx].conn.intr_cid == cid)))
|
/system/bt/stack/bnep/ |
H A D | bnep_api.c | 139 UINT16 cid; local 196 if ((cid = L2CA_ConnectReq (BT_PSM_BNEP, p_bcb->rem_bda)) != 0) 198 p_bcb->l2cap_cid = cid;
|
H A D | bnep_int.h | 212 extern tBNEP_CONN *bnepu_find_bcb_by_cid (UINT16 cid);
|
H A D | bnep_utils.c | 57 tBNEP_CONN *bnepu_find_bcb_by_cid (UINT16 cid) argument 65 if ((p_bcb->con_state != BNEP_STATE_IDLE) && (p_bcb->l2cap_cid == cid))
|
/system/bt/stack/gatt/ |
H A D | gatt_main.c | 61 static void gatt_l2cif_congest_cback (UINT16 cid, BOOLEAN congested); 622 GATT_TRACE_ERROR("Connection indication cid = %d", lcid);
|