Lines Matching refs:uint16_t
47 constexpr uint16_t L2CAP_CREDIT_BASED_MIN_MTU = 64;
48 constexpr uint16_t L2CAP_CREDIT_BASED_MIN_MPS = 64;
139 typedef enum : uint16_t {
241 uint16_t rx_sdu_len; /* Length of the SDU being received */
256 uint16_t psm;
257 uint16_t real_psm; /* This may be a dummy RCB for an o/b connection but */
262 uint16_t my_mtu;
263 uint16_t required_remote_mtu;
275 uint16_t psm;
297 uint16_t ble_sdu_length; /* Length of unassembled sdu length*/
302 uint16_t local_cid; /* Local CID */
303 uint16_t remote_cid; /* Remote CID */
314 uint16_t remote_config_rsp_result; /* The config rsp result from remote */
329 uint16_t buff_quota; /* Buffer quota before sending congestion */
338 uint16_t tx_mps; /* TX MPS adjusted based on current controller */
339 uint16_t max_rx_mtu;
347 uint16_t fixed_chnl_idle_tout; /* Idle timeout to use for the fixed channel */
348 uint16_t tx_data_len;
352 uint16_t remote_credit_count;
432 uint16_t handle_; /* The handle used with LM */
433 friend void l2cu_set_lcb_handle(struct t_l2c_linkcb& p_lcb, uint16_t handle);
434 void SetHandle(uint16_t handle) { handle_ = handle; } in SetHandle()
437 uint16_t Handle() const { return handle_; } in Handle()
459 uint16_t idle_timeout; /* Idle timeout */
467 uint16_t link_xmit_quota; /* Num outstanding pkts allowed */
470 uint16_t sent_not_acked; /* Num packets sent but not acked */
471 void update_outstanding_packets(uint16_t packets_acked) { in update_outstanding_packets()
514 uint16_t tx_data_len; /* tx data length used in data length extension */
521 uint16_t min_interval; /* parameters as requested by peripheral */
522 uint16_t max_interval;
523 uint16_t latency;
524 uint16_t timeout;
525 uint16_t min_ce_len;
526 uint16_t max_ce_len;
540 uint16_t pending_ecoc_connection_cids[L2CAP_CREDIT_BASED_MAX_CIDS];
543 uint16_t pending_lead_cid;
544 uint16_t pending_l2cap_result;
561 uint16_t controller_xmit_window; /* Total ACL window for all links */
563 uint16_t round_robin_quota; /* Round-robin link quota */
564 uint16_t round_robin_unacked; /* Round-robin unacked */
568 void update_outstanding_classic_packets(uint16_t num_packets_acked) { in update_outstanding_classic_packets()
587 uint16_t num_lm_acl_bufs; /* # of ACL buffers on controller */
588 uint16_t idle_timeout; /* Idle timeout */
594 uint16_t num_used_lcbs; /* Number of active link control blocks */
596 uint16_t non_flushable_pbf; /* L2CAP_PKT_START_NON_FLUSHABLE if controller
607 uint16_t num_ble_links_active; /* Number of LE links active */
608 uint16_t controller_le_xmit_window; /* Total ACL window for all links */
610 uint16_t num_lm_ble_bufs; /* # of ACL buffers on controller */
611 uint16_t ble_round_robin_quota; /* Round-robin link quota */
612 uint16_t ble_round_robin_unacked; /* Round-robin unacked */
616 void update_outstanding_le_packets(uint16_t num_packets_acked) { in update_outstanding_le_packets()
626 uint16_t le_dyn_psm; /* Next LE dynamic PSM value to try to assign */
638 uint16_t psm; /* PSM of the connection */
639 uint16_t l2cap_result; /* L2CAP result */
640 uint16_t l2cap_status; /* L2CAP status */
641 uint16_t remote_cid; /* Remote CID */
642 std::vector<uint16_t> lcids; /* Used when credit based is used*/
643 uint16_t peer_mtu; /* Peer MTU */
669 extern uint8_t l2c_data_write(uint16_t cid, BT_HDR* p_data, uint16_t flag);
677 extern tL2C_LCB* l2cu_find_lcb_by_handle(uint16_t handle);
687 extern tL2C_CCB* l2cu_allocate_ccb(tL2C_LCB* p_lcb, uint16_t cid);
689 extern tL2C_CCB* l2cu_find_ccb_by_cid(tL2C_LCB* p_lcb, uint16_t local_cid);
691 uint16_t remote_cid);
694 extern void l2cu_send_peer_cmd_reject(tL2C_LCB* p_lcb, uint16_t reason,
695 uint8_t rem_id, uint16_t p1, uint16_t p2);
697 extern void l2cu_send_peer_connect_rsp(tL2C_CCB* p_ccb, uint16_t result,
698 uint16_t status);
702 uint16_t data_len, uint16_t rej_len);
705 uint16_t local_cid, uint16_t remote_cid);
707 uint8_t* p_data, uint16_t data_len);
709 uint16_t info_type);
710 extern void l2cu_reject_connection(tL2C_LCB* p_lcb, uint16_t remote_cid,
711 uint8_t rem_id, uint16_t result);
712 extern void l2cu_send_peer_info_req(tL2C_LCB* p_lcb, uint16_t info_type);
717 extern void l2cu_send_peer_ble_par_req(tL2C_LCB* p_lcb, uint16_t min_int,
718 uint16_t max_int, uint16_t latency,
719 uint16_t timeout);
720 extern void l2cu_send_peer_ble_par_rsp(tL2C_LCB* p_lcb, uint16_t reason,
723 uint16_t result);
726 uint16_t result);
728 uint16_t result);
730 uint16_t result);
732 tL2C_CCB* p_ccb, std::vector<uint16_t>& accepted_lcids, uint16_t result);
738 uint16_t result);
743 uint16_t credit_value);
746 extern bool l2cu_initialize_fixed_ccb(tL2C_LCB* p_lcb, uint16_t fixed_cid);
755 extern tL2C_RCB* l2cu_allocate_rcb(uint16_t psm);
756 extern tL2C_RCB* l2cu_find_rcb_by_psm(uint16_t psm);
759 extern tL2C_RCB* l2cu_allocate_ble_rcb(uint16_t psm);
760 extern tL2C_RCB* l2cu_find_ble_rcb_by_psm(uint16_t psm);
781 extern void l2c_link_check_send_pkts(tL2C_LCB* p_lcb, uint16_t local_cid,
810 extern void l2c_fcr_send_S_frame(tL2C_CCB* p_ccb, uint16_t function_code,
811 uint16_t pf_bit);
812 extern BT_HDR* l2c_fcr_clone_buf(BT_HDR* p_buf, uint16_t new_offset,
813 uint16_t no_of_bytes);
816 uint16_t max_packet_length);
838 uint16_t pkt_len);
842 extern void l2cble_credit_based_conn_res(tL2C_CCB* p_ccb, uint16_t result);
845 uint16_t credit_value);
847 uint16_t psm,