Lines Matching refs:tL2C_CCB
347 } tL2C_CCB; typedef
353 tL2C_CCB* p_first_ccb; /* The first channel in this queue */
354 tL2C_CCB* p_last_ccb; /* The last channel in this queue */
374 tL2C_CCB* p_serve_ccb; /* current serving ccb within priority group */
375 tL2C_CCB* p_first_ccb; /* first ccb of priority group */
394 tL2C_CCB* p_pending_ccb; /* ccb of waiting channel during link disconnect */
425 tL2C_CCB* p_fixed_ccbs[L2CAP_NUM_FIXED_CHNLS];
475 tL2C_CCB ccb_pool[MAX_L2CAP_CHANNELS]; /* Channel Control Block pool */
478 tL2C_CCB* p_free_ccb_first; /* Pointer to first free CCB */
479 tL2C_CCB* p_free_ccb_last; /* Pointer to last free CCB */
545 typedef void(tL2C_FCR_MGMT_EVT_HDLR)(uint8_t, tL2C_CCB*);
604 extern void l2cu_enqueue_ccb(tL2C_CCB* p_ccb);
605 extern void l2cu_dequeue_ccb(tL2C_CCB* p_ccb);
606 extern void l2cu_change_pri_ccb(tL2C_CCB* p_ccb, tL2CAP_CHNL_PRIORITY priority);
608 extern tL2C_CCB* l2cu_allocate_ccb(tL2C_LCB* p_lcb, uint16_t cid);
609 extern void l2cu_release_ccb(tL2C_CCB* p_ccb);
610 extern tL2C_CCB* l2cu_find_ccb_by_cid(tL2C_LCB* p_lcb, uint16_t local_cid);
611 extern tL2C_CCB* l2cu_find_ccb_by_remote_cid(tL2C_LCB* p_lcb,
618 extern void l2cu_send_peer_connect_req(tL2C_CCB* p_ccb);
619 extern void l2cu_send_peer_connect_rsp(tL2C_CCB* p_ccb, uint16_t result,
621 extern void l2cu_send_peer_config_req(tL2C_CCB* p_ccb, tL2CAP_CFG_INFO* p_cfg);
622 extern void l2cu_send_peer_config_rsp(tL2C_CCB* p_ccb, tL2CAP_CFG_INFO* p_cfg);
623 extern void l2cu_send_peer_config_rej(tL2C_CCB* p_ccb, uint8_t* p_data,
625 extern void l2cu_send_peer_disc_req(tL2C_CCB* p_ccb);
637 extern void l2cu_set_acl_hci_header(BT_HDR* p_buf, tL2C_CCB* p_ccb);
638 extern void l2cu_check_channel_congestion(tL2C_CCB* p_ccb);
639 extern void l2cu_disconnect_chnl(tL2C_CCB* p_ccb);
654 extern void l2cu_send_peer_ble_credit_based_conn_res(tL2C_CCB* p_ccb,
656 extern void l2cu_send_peer_ble_credit_based_conn_req(tL2C_CCB* p_ccb);
657 extern void l2cu_send_peer_ble_flow_control_credit(tL2C_CCB* p_ccb,
659 extern void l2cu_send_peer_ble_credit_based_disconn_req(tL2C_CCB* p_ccb);
665 extern bool l2cu_is_ccb_active(tL2C_CCB* p_ccb);
674 extern void l2cu_send_feature_req(tL2C_CCB* p_ccb);
683 extern uint8_t l2cu_process_peer_cfg_req(tL2C_CCB* p_ccb,
685 extern void l2cu_process_peer_cfg_rsp(tL2C_CCB* p_ccb, tL2CAP_CFG_INFO* p_cfg);
686 extern void l2cu_process_our_cfg_req(tL2C_CCB* p_ccb, tL2CAP_CFG_INFO* p_cfg);
687 extern void l2cu_process_our_cfg_rsp(tL2C_CCB* p_ccb, tL2CAP_CFG_INFO* p_cfg);
701 extern void l2cu_adjust_out_mps(tL2C_CCB* p_ccb);
713 extern void l2c_link_check_send_pkts(tL2C_LCB* p_lcb, tL2C_CCB* p_ccb,
748 extern void l2c_csm_execute(tL2C_CCB* p_ccb, uint16_t event, void* p_data);
750 extern void l2c_enqueue_peer_data(tL2C_CCB* p_ccb, BT_HDR* p_buf);
755 extern void l2c_fcr_cleanup(tL2C_CCB* p_ccb);
756 extern void l2c_fcr_proc_pdu(tL2C_CCB* p_ccb, BT_HDR* p_buf);
757 extern void l2c_fcr_proc_tout(tL2C_CCB* p_ccb);
758 extern void l2c_fcr_proc_ack_tout(tL2C_CCB* p_ccb);
759 extern void l2c_fcr_send_S_frame(tL2C_CCB* p_ccb, uint16_t function_code,
763 extern bool l2c_fcr_is_flow_controlled(tL2C_CCB* p_ccb);
764 extern BT_HDR* l2c_fcr_get_next_xmit_sdu_seg(tL2C_CCB* p_ccb,
766 extern void l2c_fcr_start_timer(tL2C_CCB* p_ccb);
767 extern void l2c_lcc_proc_pdu(tL2C_CCB* p_ccb, BT_HDR* p_buf);
768 extern BT_HDR* l2c_lcc_get_next_xmit_sdu_seg(tL2C_CCB* p_ccb,
772 extern uint8_t l2c_fcr_chk_chan_modes(tL2C_CCB* p_ccb);
773 extern bool l2c_fcr_adj_our_req_options(tL2C_CCB* p_ccb,
775 extern void l2c_fcr_adj_our_rsp_options(tL2C_CCB* p_ccb,
777 extern bool l2c_fcr_renegotiate_chan(tL2C_CCB* p_ccb, tL2CAP_CFG_INFO* p_cfg);
778 extern uint8_t l2c_fcr_process_peer_cfg_req(tL2C_CCB* p_ccb,
780 extern void l2c_fcr_adj_monitor_retran_timeout(tL2C_CCB* p_ccb);
781 extern void l2c_fcr_stop_timer(tL2C_CCB* p_ccb);
799 extern void l2cble_credit_based_conn_req(tL2C_CCB* p_ccb);
800 extern void l2cble_credit_based_conn_res(tL2C_CCB* p_ccb, uint16_t result);
801 extern void l2cble_send_peer_disc_req(tL2C_CCB* p_ccb);
802 extern void l2cble_send_flow_control_credit(tL2C_CCB* p_ccb,