Home
last modified time | relevance | path

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

/system/bt/stack/l2cap/
Dl2c_api.c785 BOOLEAN L2CA_ConfigReq (UINT16 cid, tL2CAP_CFG_INFO *p_cfg) in L2CA_ConfigReq() argument
790 cid, p_cfg->fcr_present, p_cfg->fcr.mode, p_cfg->mtu_present, p_cfg->mtu); in L2CA_ConfigReq()
793 if ((p_ccb = l2cu_find_ccb_by_cid (NULL, cid)) == NULL) in L2CA_ConfigReq()
795 L2CAP_TRACE_WARNING ("L2CAP - no CCB for L2CA_cfg_req, CID: %d", cid); in L2CA_ConfigReq()
835 BOOLEAN L2CA_ConfigRsp (UINT16 cid, tL2CAP_CFG_INFO *p_cfg) in L2CA_ConfigRsp() argument
840cid, p_cfg->result, p_cfg->mtu_present, p_cfg->flush_to_present, p_cfg->fcr_present, p_cfg->fcs_pr… in L2CA_ConfigRsp()
843 if ((p_ccb = l2cu_find_ccb_by_cid (NULL, cid)) == NULL) in L2CA_ConfigRsp()
845 L2CAP_TRACE_WARNING ("L2CAP - no CCB for L2CA_cfg_rsp, CID: %d", cid); in L2CA_ConfigRsp()
878 BOOLEAN L2CA_DisconnectReq (UINT16 cid) in L2CA_DisconnectReq() argument
882 L2CAP_TRACE_API ("L2CA_DisconnectReq() CID: 0x%04x", cid); in L2CA_DisconnectReq()
[all …]
Dl2c_main.c903 UINT8 l2c_data_write (UINT16 cid, BT_HDR *p_data, UINT16 flags) in l2c_data_write() argument
908 if ((p_ccb = l2cu_find_ccb_by_cid (NULL, cid)) == NULL) in l2c_data_write()
910 L2CAP_TRACE_WARNING ("L2CAP - no CCB for L2CA_DataWrite, CID: %d", cid); in l2c_data_write()
926 … L2CAP_TRACE_WARNING ("L2CAP - CID: 0x%04x cannot send message bigger than peer's mtu size", cid); in l2c_data_write()
Dl2c_ucd.c161 static void l2c_ucd_disconnect_ind_cback (UINT16 cid, BOOLEAN result) in l2c_ucd_disconnect_ind_cback() argument
175 static void l2c_ucd_config_ind_cback (UINT16 cid, tL2CAP_CFG_INFO *p_cfg) in l2c_ucd_config_ind_cback() argument
189 static void l2c_ucd_config_cfm_cback (UINT16 cid, tL2CAP_CFG_INFO *p_cfg) in l2c_ucd_config_cfm_cback() argument
Dl2c_ble.c1238 UINT16 cid = fix_cid - L2CAP_FIRST_FIXED_CHNL; in l2cble_set_fixed_channel_tx_data_length() local
1252 if (p_lcb->p_fixed_ccbs[cid] != NULL) in l2cble_set_fixed_channel_tx_data_length()
1257 p_lcb->p_fixed_ccbs[cid]->tx_data_len = tx_mtu; in l2cble_set_fixed_channel_tx_data_length()
Dl2c_int.h580 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);
Dl2c_utils.c1479 tL2C_CCB *l2cu_allocate_ccb (tL2C_LCB *p_lcb, UINT16 cid) in l2cu_allocate_ccb() argument
1484 L2CAP_TRACE_DEBUG ("l2cu_allocate_ccb: cid 0x%04x", cid); in l2cu_allocate_ccb()
1490 if (cid == 0) in l2cu_allocate_ccb()
1499 p_ccb = &l2cb.ccb_pool[cid - L2CAP_BASE_APPL_CID]; in l2cu_allocate_ccb()
1519 … L2CAP_TRACE_ERROR ("l2cu_allocate_ccb: could not find CCB for CID 0x%04x in the free list", cid); in l2cu_allocate_ccb()
1591 if (cid == 0) in l2cu_allocate_ccb()
1595 … L2CAP_TRACE_DEBUG ("l2cu_allocate_ccb: cid 0x%04x config_done:0x%x", cid, p_ccb->config_done); in l2cu_allocate_ccb()
/system/bt/stack/include/
Dl2c_api.h538 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_RATE tx, tL2CAP_CHNL_DATA_RATE rx…
[all …]
/system/bt/stack/gap/
Dgap_conn.c43 static tGAP_CCB *gap_find_ccb_by_cid (UINT16 cid);
132 UINT16 cid; in GAP_ConnOpen() local
269 cid = L2CA_CONNECT_REQ (p_ccb->psm, p_rem_bda, &p_ccb->ertm_info); in GAP_ConnOpen()
270 if (cid != 0) in GAP_ConnOpen()
272 p_ccb->connection_id = cid; in GAP_ConnOpen()
279 cid = L2CA_CONNECT_COC_REQ (p_ccb->psm, p_rem_bda, &p_ccb->local_coc_cfg); in GAP_ConnOpen()
280 if (cid != 0) in GAP_ConnOpen()
282 p_ccb->connection_id = cid; in GAP_ConnOpen()
1110 static tGAP_CCB *gap_find_ccb_by_cid (UINT16 cid) in gap_find_ccb_by_cid() argument
1118 if ((p_ccb->con_state != GAP_CCB_STATE_IDLE) && (p_ccb->connection_id == cid)) in gap_find_ccb_by_cid()
/system/bt/stack/smp/
Dsmp_l2c.c38 static void smp_tx_complete_callback(UINT16 cid, UINT16 num_pkt);
215 static void smp_tx_complete_callback (UINT16 cid, UINT16 num_pkt) in smp_tx_complete_callback() argument
227 if (cid == L2CAP_SMP_CID) in smp_tx_complete_callback()
/system/bt/stack/hid/
Dhidh_conn.c51 static UINT8 find_conn_by_cid (UINT16 cid);
892 UINT16 cid; in hidh_conn_snd_data() local
918 cid = p_hcon->ctrl_cid; in hidh_conn_snd_data()
922 cid = p_hcon->intr_cid; in hidh_conn_snd_data()
995 if ((p_hcon->conn_flags & HID_CONN_FLAGS_CONGESTED) || (!L2CA_DataWrite (cid, p_buf))) in hidh_conn_snd_data()
1069 static UINT8 find_conn_by_cid (UINT16 cid) in find_conn_by_cid() argument
1076 … && ((hh_cb.devices[xx].conn.ctrl_cid == cid) || (hh_cb.devices[xx].conn.intr_cid == cid))) in find_conn_by_cid()
/system/bt/stack/sdp/
Dsdp_main.c552 UINT16 cid; in sdp_conn_originate() local
572 cid = L2CA_ConnectReq (SDP_PSM, p_bd_addr); in sdp_conn_originate()
575 if (cid != 0) in sdp_conn_originate()
577 p_ccb->connection_id = cid; in sdp_conn_originate()
Dsdpint.h272 extern tCONN_CB *sdpu_find_ccb_by_cid (UINT16 cid);
Dsdp_utils.c56 tCONN_CB *sdpu_find_ccb_by_cid (UINT16 cid) in sdpu_find_ccb_by_cid() argument
64 if ((p_ccb->con_state != SDP_STATE_IDLE) && (p_ccb->connection_id == cid)) in sdpu_find_ccb_by_cid()
/system/bt/stack/bnep/
Dbnep_api.c139 UINT16 cid; in BNEP_Connect() local
196 if ((cid = L2CA_ConnectReq (BT_PSM_BNEP, p_bcb->rem_bda)) != 0) in BNEP_Connect()
198 p_bcb->l2cap_cid = cid; in BNEP_Connect()
Dbnep_int.h212 extern tBNEP_CONN *bnepu_find_bcb_by_cid (UINT16 cid);
Dbnep_utils.c57 tBNEP_CONN *bnepu_find_bcb_by_cid (UINT16 cid) in bnepu_find_bcb_by_cid() argument
65 if ((p_bcb->con_state != BNEP_STATE_IDLE) && (p_bcb->l2cap_cid == cid)) in bnepu_find_bcb_by_cid()
/system/bt/stack/gatt/
Dgatt_main.c61 static void gatt_l2cif_congest_cback (UINT16 cid, BOOLEAN congested);