Searched refs:cid (Results 1 - 17 of 17) sorted by relevance

/system/bt/stack/include/
H A Dl2c_api.h454 extern BOOLEAN L2CA_ConfigReq (UINT16 cid, tL2CAP_CFG_INFO *p_cfg);
466 extern BOOLEAN L2CA_ConfigRsp (UINT16 cid, tL2CAP_CFG_INFO *p_cfg);
477 extern BOOLEAN L2CA_DisconnectReq (UINT16 cid);
489 extern BOOLEAN L2CA_DisconnectRsp (UINT16 cid);
502 extern UINT8 L2CA_DataWrite (UINT16 cid, BT_HDR *p_data);
548 extern BOOLEAN L2CA_SetIdleTimeout (UINT16 cid, UINT16 timeout,
655 extern BOOLEAN L2CA_FlowControl (UINT16 cid, BOOLEAN data_enabled);
666 extern BOOLEAN L2CA_SendTestSFrame (UINT16 cid, UINT8 sup_type,
678 extern BOOLEAN L2CA_SetTxPriority (UINT16 cid, tL2CAP_CHNL_PRIORITY priority);
703 extern BOOLEAN L2CA_SetChnlDataRate (UINT16 cid, tL2CAP_CHNL_DATA_RAT
[all...]
/system/bt/stack/l2cap/
H A Dl2c_api.c490 BOOLEAN L2CA_ConfigReq (UINT16 cid, tL2CAP_CFG_INFO *p_cfg) argument
496 cid, p_cfg->fcr_present, p_cfg->fcr.mode, p_cfg->mtu_present, p_cfg->mtu);
499 if ((p_ccb = l2cu_find_ccb_by_cid (NULL, cid)) == NULL)
501 L2CAP_TRACE_WARNING ("L2CAP - no CCB for L2CA_cfg_req, CID: %d", cid);
542 BOOLEAN L2CA_ConfigRsp (UINT16 cid, tL2CAP_CFG_INFO *p_cfg) argument
548 cid, p_cfg->result, p_cfg->mtu_present, p_cfg->flush_to_present, p_cfg->fcr_present, p_cfg->fcs_present);
551 if ((p_ccb = l2cu_find_ccb_by_cid (NULL, cid)) == NULL)
553 L2CAP_TRACE_WARNING ("L2CAP - no CCB for L2CA_cfg_rsp, CID: %d", cid);
587 BOOLEAN L2CA_DisconnectReq (UINT16 cid) argument
592 L2CAP_TRACE_API ("L2CA_DisconnectReq() CID: 0x%04x", cid);
616 L2CA_DisconnectRsp(UINT16 cid) argument
788 L2CA_SetIdleTimeout(UINT16 cid, UINT16 timeout, BOOLEAN is_global) argument
1020 L2CA_FlowControl(UINT16 cid, BOOLEAN data_enabled) argument
1064 L2CA_SendTestSFrame(UINT16 cid, UINT8 sup_type, UINT8 back_track) argument
1097 L2CA_SetTxPriority(UINT16 cid, tL2CAP_CHNL_PRIORITY priority) argument
1125 L2CA_SetChnlDataRate(UINT16 cid, tL2CAP_CHNL_DATA_RATE tx, tL2CAP_CHNL_DATA_RATE rx) argument
1812 L2CA_DataWrite(UINT16 cid, BT_HDR *p_data) argument
1828 L2CA_SetChnlFlushability(UINT16 cid, BOOLEAN is_flushable) argument
1865 L2CA_DataWriteEx(UINT16 cid, BT_HDR *p_data, UINT16 flags) argument
[all...]
H A Dl2c_ucd.c158 static void l2c_ucd_disconnect_ind_cback (UINT16 cid, BOOLEAN result) argument
172 static void l2c_ucd_config_ind_cback (UINT16 cid, tL2CAP_CFG_INFO *p_cfg) argument
186 static void l2c_ucd_config_cfm_cback (UINT16 cid, tL2CAP_CFG_INFO *p_cfg) argument
H A Dl2c_main.c156 " cid:%d opcode:%d cur count:%d", handle, p_msg->layer_specific,
166 L2CAP_TRACE_ERROR ("L2CAP - rcvd ACL for unknown handle:%d ls:%d cid:%d"
593 /* updated spec says send command reject on invalid cid */
961 UINT8 l2c_data_write (UINT16 cid, BT_HDR *p_data, UINT16 flags) argument
966 if ((p_ccb = l2cu_find_ccb_by_cid (NULL, cid)) == NULL)
968 L2CAP_TRACE_WARNING ("L2CAP - no CCB for L2CA_DataWrite, CID: %d", cid);
977 L2CAP_TRACE_WARNING ("L2CAP - CID: 0x%04x cannot send message bigger than peer's mtu size", cid);
H A Dl2c_int.h551 extern UINT8 l2c_data_write (UINT16 cid, BT_HDR *p_data, UINT16 flag);
572 extern tL2C_CCB *l2cu_allocate_ccb (tL2C_LCB *p_lcb, UINT16 cid);
H A Dl2c_ble.c1057 UINT16 cid = fix_cid - L2CAP_FIRST_FIXED_CHNL; local
1071 if (p_lcb->p_fixed_ccbs[cid] != NULL)
1076 p_lcb->p_fixed_ccbs[cid]->tx_data_len = tx_mtu;
H A Dl2c_utils.c1469 tL2C_CCB *l2cu_allocate_ccb (tL2C_LCB *p_lcb, UINT16 cid) argument
1474 L2CAP_TRACE_DEBUG ("l2cu_allocate_ccb: cid 0x%04x", cid);
1480 if (cid == 0)
1489 p_ccb = &l2cb.ccb_pool[cid - L2CAP_BASE_APPL_CID];
1509 L2CAP_TRACE_ERROR ("l2cu_allocate_ccb: could not find CCB for CID 0x%04x in the free list", cid);
1586 if (cid == 0)
1590 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/smp/
H A Dsmp_l2c.c36 static void smp_tx_complete_callback(UINT16 cid, UINT16 num_pkt);
212 static void smp_tx_complete_callback (UINT16 cid, UINT16 num_pkt) argument
224 if (cid == L2CAP_SMP_CID)
/system/bt/stack/sdp/
H A Dsdp_main.c546 UINT16 cid; local
566 cid = L2CA_ConnectReq (SDP_PSM, p_bd_addr);
569 if (cid != 0)
571 p_ccb->connection_id = cid;
H A Dsdpint.h273 extern tCONN_CB *sdpu_find_ccb_by_cid (UINT16 cid);
H A Dsdp_utils.c56 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 Dhidh_conn.c46 static UINT8 find_conn_by_cid (UINT16 cid);
874 UINT16 cid; local
902 cid = p_hcon->ctrl_cid;
906 cid = p_hcon->intr_cid;
981 if ((p_hcon->conn_flags & HID_CONN_FLAGS_CONGESTED) || (!L2CA_DataWrite (cid, p_buf)))
1055 static UINT8 find_conn_by_cid (UINT16 cid) argument
1062 && ((hh_cb.devices[xx].conn.ctrl_cid == cid) || (hh_cb.devices[xx].conn.intr_cid == cid)))
/system/bt/stack/bnep/
H A Dbnep_api.c139 UINT16 cid; local
196 if ((cid = L2CA_ConnectReq (BT_PSM_BNEP, p_bcb->rem_bda)) != 0)
198 p_bcb->l2cap_cid = cid;
H A Dbnep_int.h213 extern tBNEP_CONN *bnepu_find_bcb_by_cid (UINT16 cid);
H A Dbnep_utils.c55 tBNEP_CONN *bnepu_find_bcb_by_cid (UINT16 cid) argument
63 if ((p_bcb->con_state != BNEP_STATE_IDLE) && (p_bcb->l2cap_cid == cid))
/system/bt/stack/gap/
H A Dgap_conn.c41 static tGAP_CCB *gap_find_ccb_by_cid (UINT16 cid);
129 UINT16 cid; local
238 if (p_rem_bda && ((cid = L2CA_CONNECT_REQ (p_ccb->psm, p_rem_bda, &p_ccb->ertm_info, &bt_uuid)) != 0))
240 p_ccb->connection_id = cid;
1091 static tGAP_CCB *gap_find_ccb_by_cid (UINT16 cid) argument
1099 if ((p_ccb->con_state != GAP_CCB_STATE_IDLE) && (p_ccb->connection_id == cid))
/system/bt/stack/gatt/
H A Dgatt_main.c61 static void gatt_l2cif_congest_cback (UINT16 cid, BOOLEAN congested);
591 GATT_TRACE_ERROR("Connection indication cid = %d", lcid);

Completed in 178 milliseconds