Lines Matching refs:tL2C_CCB
379 } tL2C_CCB; typedef
385 tL2C_CCB* p_first_ccb; /* The first channel in this queue */
386 tL2C_CCB* p_last_ccb; /* The last channel in this queue */
406 tL2C_CCB* p_serve_ccb; /* current serving ccb within priority group */
407 tL2C_CCB* p_first_ccb; /* first ccb of priority group */
442 tL2C_CCB* p_pending_ccb; /* ccb of waiting channel during link disconnect */
499 tL2C_CCB* p_fixed_ccbs[L2CAP_NUM_FIXED_CHNLS];
548 const tL2C_CCB* cur = ccb_queue.p_first_ccb; in number_of_active_dynamic_channels()
580 tL2C_CCB ccb_pool[MAX_L2CAP_CHANNELS]; /* Channel Control Block pool */
583 tL2C_CCB* p_free_ccb_first; /* Pointer to first free CCB */
584 tL2C_CCB* p_free_ccb_last; /* Pointer to last free CCB */
646 typedef void(tL2C_FCR_MGMT_EVT_HDLR)(uint8_t, tL2C_CCB*);
683 extern void l2cu_enqueue_ccb(tL2C_CCB* p_ccb);
684 extern void l2cu_dequeue_ccb(tL2C_CCB* p_ccb);
685 extern void l2cu_change_pri_ccb(tL2C_CCB* p_ccb, tL2CAP_CHNL_PRIORITY priority);
687 extern tL2C_CCB* l2cu_allocate_ccb(tL2C_LCB* p_lcb, uint16_t cid);
688 extern void l2cu_release_ccb(tL2C_CCB* p_ccb);
689 extern tL2C_CCB* l2cu_find_ccb_by_cid(tL2C_LCB* p_lcb, uint16_t local_cid);
690 extern tL2C_CCB* l2cu_find_ccb_by_remote_cid(tL2C_LCB* p_lcb,
696 extern void l2cu_send_peer_connect_req(tL2C_CCB* p_ccb);
697 extern void l2cu_send_peer_connect_rsp(tL2C_CCB* p_ccb, uint16_t result,
699 extern void l2cu_send_peer_config_req(tL2C_CCB* p_ccb, tL2CAP_CFG_INFO* p_cfg);
700 extern void l2cu_send_peer_config_rsp(tL2C_CCB* p_ccb, tL2CAP_CFG_INFO* p_cfg);
701 extern void l2cu_send_peer_config_rej(tL2C_CCB* p_ccb, uint8_t* p_data,
703 extern void l2cu_send_peer_disc_req(tL2C_CCB* p_ccb);
713 extern void l2cu_set_acl_hci_header(BT_HDR* p_buf, tL2C_CCB* p_ccb);
714 extern void l2cu_check_channel_congestion(tL2C_CCB* p_ccb);
715 extern void l2cu_disconnect_chnl(tL2C_CCB* p_ccb);
722 extern void l2cu_reject_ble_connection(tL2C_CCB* p_ccb, uint8_t rem_id,
729 extern void l2cu_send_peer_ble_credit_based_conn_res(tL2C_CCB* p_ccb,
732 tL2C_CCB* p_ccb, std::vector<uint16_t>& accepted_lcids, uint16_t result);
734 extern void l2cu_send_peer_ble_credit_based_conn_req(tL2C_CCB* p_ccb);
735 extern void l2cu_send_peer_credit_based_conn_req(tL2C_CCB* p_ccb);
739 extern void l2cu_send_credit_based_reconfig_req(tL2C_CCB* p_ccb,
742 extern void l2cu_send_peer_ble_flow_control_credit(tL2C_CCB* p_ccb,
744 extern void l2cu_send_peer_ble_credit_based_disconn_req(tL2C_CCB* p_ccb);
749 extern bool l2cu_is_ccb_active(tL2C_CCB* p_ccb);
762 extern uint8_t l2cu_process_peer_cfg_req(tL2C_CCB* p_ccb,
764 extern void l2cu_process_peer_cfg_rsp(tL2C_CCB* p_ccb, tL2CAP_CFG_INFO* p_cfg);
765 extern void l2cu_process_our_cfg_req(tL2C_CCB* p_ccb, tL2CAP_CFG_INFO* p_cfg);
766 extern void l2cu_process_our_cfg_rsp(tL2C_CCB* p_ccb, tL2CAP_CFG_INFO* p_cfg);
774 extern void l2cu_adjust_out_mps(tL2C_CCB* p_ccb);
799 extern void l2c_csm_execute(tL2C_CCB* p_ccb, tL2CEVT event, void* p_data);
801 extern void l2c_enqueue_peer_data(tL2C_CCB* p_ccb, BT_HDR* p_buf);
806 extern void l2c_fcr_cleanup(tL2C_CCB* p_ccb);
807 extern void l2c_fcr_proc_pdu(tL2C_CCB* p_ccb, BT_HDR* p_buf);
808 extern void l2c_fcr_proc_tout(tL2C_CCB* p_ccb);
809 extern void l2c_fcr_proc_ack_tout(tL2C_CCB* p_ccb);
810 extern void l2c_fcr_send_S_frame(tL2C_CCB* p_ccb, uint16_t function_code,
814 extern bool l2c_fcr_is_flow_controlled(tL2C_CCB* p_ccb);
815 extern BT_HDR* l2c_fcr_get_next_xmit_sdu_seg(tL2C_CCB* p_ccb,
817 extern void l2c_fcr_start_timer(tL2C_CCB* p_ccb);
818 extern void l2c_lcc_proc_pdu(tL2C_CCB* p_ccb, BT_HDR* p_buf);
819 extern BT_HDR* l2c_lcc_get_next_xmit_sdu_seg(tL2C_CCB* p_ccb,
823 extern uint8_t l2c_fcr_chk_chan_modes(tL2C_CCB* p_ccb);
825 extern void l2c_fcr_adj_our_rsp_options(tL2C_CCB* p_ccb,
827 extern bool l2c_fcr_renegotiate_chan(tL2C_CCB* p_ccb, tL2CAP_CFG_INFO* p_cfg);
828 extern uint8_t l2c_fcr_process_peer_cfg_req(tL2C_CCB* p_ccb,
830 extern void l2c_fcr_adj_monitor_retran_timeout(tL2C_CCB* p_ccb);
831 extern void l2c_fcr_stop_timer(tL2C_CCB* p_ccb);
841 extern void l2cble_credit_based_conn_req(tL2C_CCB* p_ccb);
842 extern void l2cble_credit_based_conn_res(tL2C_CCB* p_ccb, uint16_t result);
843 extern void l2cble_send_peer_disc_req(tL2C_CCB* p_ccb);
844 extern void l2cble_send_flow_control_credit(tL2C_CCB* p_ccb,