Lines Matching refs:uint16_t
41 constexpr uint16_t L2CAP_LE_MIN_MTU = 23; // Minimum SDU size
42 constexpr uint16_t L2CAP_LE_MIN_MPS = 23;
43 constexpr uint16_t L2CAP_LE_MAX_MPS = 65533;
44 constexpr uint16_t L2CAP_LE_CREDIT_MAX = 65535;
48 constexpr uint16_t L2CAP_LE_CREDIT_DEFAULT = 0xffff;
52 constexpr uint16_t L2CAP_LE_CREDIT_THRESHOLD = 0x0040;
204 uint16_t rx_sdu_len; /* Length of the SDU being received */
245 uint16_t psm;
246 uint16_t real_psm; /* This may be a dummy RCB for an o/b connection but */
260 uint16_t psm;
282 uint16_t ble_sdu_length; /* Length of unassembled sdu length*/
287 uint16_t local_cid; /* Local CID */
288 uint16_t remote_cid; /* Remote CID */
314 uint16_t buff_quota; /* Buffer quota before sending congestion */
323 uint16_t tx_mps; /* TX MPS adjusted based on current controller */
324 uint16_t max_rx_mtu;
340 uint16_t fixed_chnl_idle_tout; /* Idle timeout to use for the fixed channel */
342 uint16_t tx_data_len;
346 uint16_t remote_credit_count;
390 uint16_t handle; /* The handle used with LM */
402 uint16_t idle_timeout; /* Idle timeout */
405 uint16_t link_flush_tout; /* Flush timeout used */
407 uint16_t link_xmit_quota; /* Num outstanding pkts allowed */
408 uint16_t sent_not_acked; /* Num packets sent but not acked */
420 uint16_t idle_timeout_sv; /* Save current Idle timeout */
426 uint16_t disc_reason;
432 uint16_t tx_data_len; /* tx data length used in data length extension */
446 uint16_t min_interval; /* parameters as requested by peripheral */
447 uint16_t max_interval;
448 uint16_t latency;
449 uint16_t timeout;
450 uint16_t min_ce_len;
451 uint16_t max_ce_len;
466 uint16_t controller_xmit_window; /* Total ACL window for all links */
468 uint16_t round_robin_quota; /* Round-robin link quota */
469 uint16_t round_robin_unacked; /* Round-robin unacked */
484 uint16_t num_lm_acl_bufs; /* # of ACL buffers on controller */
485 uint16_t idle_timeout; /* Idle timeout */
491 uint16_t num_links_active; /* Number of links active */
494 uint16_t non_flushable_pbf; /* L2CAP_PKT_START_NON_FLUSHABLE if controller
509 uint16_t num_ble_links_active; /* Number of LE links active */
510 uint16_t controller_le_xmit_window; /* Total ACL window for all links */
512 uint16_t num_lm_ble_bufs; /* # of ACL buffers on controller */
513 uint16_t ble_round_robin_quota; /* Round-robin link quota */
514 uint16_t ble_round_robin_unacked; /* Round-robin unacked */
521 uint16_t high_pri_min_xmit_quota; /* Minimum number of ACL credit for high
525 uint16_t dyn_psm;
527 uint16_t le_dyn_psm; /* Next LE dynamic PSM value to try to assign */
539 uint16_t psm; /* PSM of the connection */
540 uint16_t l2cap_result; /* L2CAP result */
541 uint16_t l2cap_status; /* L2CAP status */
542 uint16_t remote_cid; /* Remote CID */
550 uint16_t local_cid;
551 uint16_t num_sdu;
582 extern uint8_t l2c_data_write(uint16_t cid, BT_HDR* p_data, uint16_t flag);
592 extern bool l2cu_start_post_bond_timer(uint16_t handle);
596 extern tL2C_LCB* l2cu_find_lcb_by_handle(uint16_t handle);
608 extern tL2C_CCB* l2cu_allocate_ccb(tL2C_LCB* p_lcb, uint16_t cid);
610 extern tL2C_CCB* l2cu_find_ccb_by_cid(tL2C_LCB* p_lcb, uint16_t local_cid);
612 uint16_t remote_cid);
616 extern void l2cu_send_peer_cmd_reject(tL2C_LCB* p_lcb, uint16_t reason,
617 uint8_t rem_id, uint16_t p1, uint16_t p2);
619 extern void l2cu_send_peer_connect_rsp(tL2C_CCB* p_ccb, uint16_t result,
620 uint16_t status);
624 uint16_t data_len, uint16_t rej_len);
627 uint16_t local_cid, uint16_t remote_cid);
629 uint16_t data_len);
631 uint8_t* p_data, uint16_t data_len);
633 uint16_t info_type);
634 extern void l2cu_reject_connection(tL2C_LCB* p_lcb, uint16_t remote_cid,
635 uint8_t rem_id, uint16_t result);
636 extern void l2cu_send_peer_info_req(tL2C_LCB* p_lcb, uint16_t info_type);
647 extern void l2cu_send_peer_ble_par_req(tL2C_LCB* p_lcb, uint16_t min_int,
648 uint16_t max_int, uint16_t latency,
649 uint16_t timeout);
650 extern void l2cu_send_peer_ble_par_rsp(tL2C_LCB* p_lcb, uint16_t reason,
653 uint16_t result);
655 uint16_t result);
658 uint16_t credit_value);
661 extern bool l2cu_initialize_fixed_ccb(tL2C_LCB* p_lcb, uint16_t fixed_cid,
671 uint16_t data_len);
673 uint16_t data_len);
676 extern tL2C_RCB* l2cu_allocate_rcb(uint16_t psm);
677 extern tL2C_RCB* l2cu_find_rcb_by_psm(uint16_t psm);
680 extern tL2C_RCB* l2cu_allocate_ble_rcb(uint16_t psm);
681 extern tL2C_RCB* l2cu_find_ble_rcb_by_psm(uint16_t psm);
707 extern bool l2c_link_hci_conn_comp(uint8_t status, uint16_t handle,
709 extern bool l2c_link_hci_disc_comp(uint16_t handle, uint8_t reason);
710 extern bool l2c_link_hci_qos_violation(uint16_t handle);
718 uint8_t* p, uint16_t evt_len);
719 extern void l2c_link_processs_num_bufs(uint16_t num_lm_acl_bufs);
720 extern uint8_t l2c_link_pkts_rcvd(uint16_t* num_pkts, uint16_t* handles);
731 extern void l2c_link_processs_ble_num_bufs(uint16_t num_lm_acl_bufs);
748 extern void l2c_csm_execute(tL2C_CCB* p_ccb, uint16_t event, void* p_data);
759 extern void l2c_fcr_send_S_frame(tL2C_CCB* p_ccb, uint16_t function_code,
760 uint16_t pf_bit);
761 extern BT_HDR* l2c_fcr_clone_buf(BT_HDR* p_buf, uint16_t new_offset,
762 uint16_t no_of_bytes);
765 uint16_t max_packet_length);
788 uint16_t pkt_len);
789 extern void l2cble_conn_comp(uint16_t handle, uint8_t role,
791 uint16_t conn_interval, uint16_t conn_latency,
792 uint16_t conn_timeout);
795 extern void l2cble_process_conn_update_evt(uint16_t handle, uint8_t status,
796 uint16_t interval, uint16_t latency,
797 uint16_t timeout);
800 extern void l2cble_credit_based_conn_res(tL2C_CCB* p_ccb, uint16_t result);
803 uint16_t credit_value);
805 uint16_t psm,
811 extern void l2cble_process_rc_param_request_evt(uint16_t handle,
812 uint16_t int_min,
813 uint16_t int_max,
814 uint16_t latency,
815 uint16_t timeout);
820 const RawAddress& remote_bda, uint16_t fix_cid, uint16_t tx_mtu);
821 extern void l2cble_process_data_length_change_event(uint16_t handle,
822 uint16_t tx_data_len,
823 uint16_t rx_data_len);