Lines Matching full:uint16
342 BT_HDR *l2cu_build_header (tL2C_LCB *p_lcb, UINT16 len, UINT8 cmd, UINT8 id)
423 void l2cu_send_peer_cmd_reject (tL2C_LCB *p_lcb, UINT16 reason, UINT8 rem_id,
424 UINT16 p1, UINT16 p2)
426 UINT16 param_len;
438 if ((p_buf = l2cu_build_header (p_lcb, (UINT16) (L2CAP_CMD_REJECT_LEN + param_len), L2CAP_CMD_REJECT, rem_id)) == NULL )
507 void l2cu_send_peer_connect_rsp (tL2C_CCB *p_ccb, UINT16 result, UINT16 status)
550 void l2cu_reject_connection (tL2C_LCB *p_lcb, UINT16 remote_cid, UINT8 rem_id, UINT16 result)
584 UINT16 cfg_len=0;
606 if ((p_buf = l2cu_build_header (p_ccb->p_lcb, (UINT16) (L2CAP_CONFIG_REQ_LEN + cfg_len),
691 UINT16 cfg_len = 0;
706 if ((p_buf = l2cu_build_header (p_ccb->p_lcb, (UINT16)(L2CAP_CONFIG_RSP_LEN + cfg_len),
781 void l2cu_send_peer_config_rej (tL2C_CCB *p_ccb, UINT8 *p_data, UINT16 data_len, UINT16 rej_len)
784 UINT16 len, cfg_len, buf_space, len1;
889 len = (UINT16) (p - p_hci_len - 2);
963 void l2cu_send_peer_disc_rsp (tL2C_LCB *p_lcb, UINT8 remote_id, UINT16 local_cid,
964 UINT16 remote_cid)
995 void l2cu_send_peer_echo_req (tL2C_LCB *p_lcb, UINT8 *p_data, UINT16 data_len)
1003 if ((p_buf = l2cu_build_header(p_lcb, (UINT16) (L2CAP_ECHO_REQ_LEN + data_len), L2CAP_CMD_ECHO_REQ, p_lcb->id)) == NULL)
1030 void l2cu_send_peer_echo_rsp (tL2C_LCB *p_lcb, UINT8 id, UINT8 *p_data, UINT16 data_len)
1034 UINT16 maxlen;
1053 btu_cb.hcit_acl_data_size : (UINT16)GKI_get_pool_bufsize(L2CAP_CMD_POOL_ID);
1054 maxlen -= (UINT16)(BT_HDR_SIZE + HCI_DATA_PREAMBLE_SIZE + L2CAP_PKT_OVERHEAD +
1060 if ((p_buf = l2cu_build_header (p_lcb, (UINT16)(L2CAP_ECHO_RSP_LEN + data_len), L2CAP_CMD_ECHO_RSP, id)) == NULL)
1086 void l2cu_send_peer_info_req (tL2C_LCB *p_lcb, UINT16 info_type)
1125 void l2cu_send_peer_info_rsp (tL2C_LCB *p_lcb, UINT8 remote_id, UINT16 info_type)
1129 UINT16 len = L2CAP_INFO_RSP_LEN;
1462 tL2C_CCB *l2cu_allocate_ccb (tL2C_LCB *p_lcb, UINT16 cid)
1513 p_ccb->local_cid = L2CAP_BASE_APPL_CID + (UINT16)(p_ccb - l2cb.ccb_pool);
1615 BOOLEAN l2cu_start_post_bond_timer (UINT16 handle)
1617 UINT16 timeout;
1752 tL2C_CCB *l2cu_find_ccb_by_remote_cid (tL2C_LCB *p_lcb, UINT16 remote_cid)
1782 tL2C_RCB *l2cu_allocate_rcb (UINT16 psm)
1785 UINT16 xx;
1831 UINT16 local_cid = p_ccb->local_cid;
1863 tL2C_RCB *l2cu_find_rcb_by_psm (UINT16 psm)
1866 UINT16 xx;
2071 UINT16 hci_flush_to;
2201 extern UINT16 tcs_wug_get_clk_offset( BD_ADDR addr ) ;
2329 UINT16 clock_offset;
2331 UINT16 num_acl = BTM_GetNumAclLinks();
2366 clock_offset = (UINT16)(p_inq_info->results.clock_offset);
2418 UINT16 i;
2450 UINT16 i;
2643 UINT16 packet_size;
2686 BOOLEAN l2cu_initialize_fixed_ccb (tL2C_LCB *p_lcb, UINT16 fixed_cid, tL2CAP_FCR_OPTS *p_fcr)
2752 UINT16 timeout = p_lcb->idle_timeout;
2926 void l2cu_send_peer_ble_par_req (tL2C_LCB *p_lcb, UINT16 min_int, UINT16 max_int, UINT16 latency, UINT16 timeout)
2962 void l2cu_send_peer_ble_par_rsp (tL2C_LCB *p_lcb, UINT16 reason, UINT8 rem_id)
2998 tL2C_LCB *l2cu_find_lcb_by_handle (UINT16 handle)
3026 tL2C_CCB *l2cu_find_ccb_by_cid (tL2C_LCB *p_lcb, UINT16 local_cid)
3411 UINT16 q_count = p_ccb->xmit_hold_q.count;