/system/bt/stack/l2cap/ |
D | l2c_api.c | 785 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 840 …cid, 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 …]
|
D | l2c_main.c | 903 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()
|
D | l2c_ucd.c | 161 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
|
D | l2c_ble.c | 1238 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()
|
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);
|
D | l2c_utils.c | 1479 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/ |
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_RATE tx, tL2CAP_CHNL_DATA_RATE rx… [all …]
|
/system/bt/stack/gap/ |
D | gap_conn.c | 43 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/ |
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) in smp_tx_complete_callback() argument 227 if (cid == L2CAP_SMP_CID) in smp_tx_complete_callback()
|
/system/bt/stack/hid/ |
D | hidh_conn.c | 51 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/ |
D | sdp_main.c | 552 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()
|
D | sdpint.h | 272 extern tCONN_CB *sdpu_find_ccb_by_cid (UINT16 cid);
|
D | sdp_utils.c | 56 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/ |
D | bnep_api.c | 139 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()
|
D | bnep_int.h | 212 extern tBNEP_CONN *bnepu_find_bcb_by_cid (UINT16 cid);
|
D | bnep_utils.c | 57 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/ |
D | gatt_main.c | 61 static void gatt_l2cif_congest_cback (UINT16 cid, BOOLEAN congested);
|