Home
last modified time | relevance | path

Searched refs:tL2C_CCB (Results 1 – 17 of 17) sorted by relevance

/packages/modules/Bluetooth/system/stack/l2cap/
Dl2c_int.h383 } tL2C_CCB; typedef
389 tL2C_CCB* p_first_ccb; /* The first channel in this queue */
390 tL2C_CCB* p_last_ccb; /* The last channel in this queue */
408 tL2C_CCB* p_serve_ccb; /* current serving ccb within priority group */
409 tL2C_CCB* p_first_ccb; /* first ccb of priority group */
451 tL2C_CCB* p_pending_ccb; /* ccb of waiting channel during link disconnect */
519 tL2C_CCB* p_fixed_ccbs[L2CAP_NUM_FIXED_CHNLS];
581 const tL2C_CCB* cur = ccb_queue.p_first_ccb; in number_of_active_dynamic_channels()
613 tL2C_CCB ccb_pool[MAX_L2CAP_CHANNELS]; /* Channel Control Block pool */
616 tL2C_CCB* p_free_ccb_first; /* Pointer to first free CCB */
[all …]
Dl2c_csm.cc48 static void l2c_csm_closed(tL2C_CCB* p_ccb, tL2CEVT event, void* p_data);
49 static void l2c_csm_orig_w4_sec_comp(tL2C_CCB* p_ccb, tL2CEVT event,
51 static void l2c_csm_term_w4_sec_comp(tL2C_CCB* p_ccb, tL2CEVT event,
53 static void l2c_csm_w4_l2cap_connect_rsp(tL2C_CCB* p_ccb, tL2CEVT event,
55 static void l2c_csm_w4_l2ca_connect_rsp(tL2C_CCB* p_ccb, tL2CEVT event,
57 static void l2c_csm_config(tL2C_CCB* p_ccb, tL2CEVT event, void* p_data);
58 static void l2c_csm_open(tL2C_CCB* p_ccb, tL2CEVT event, void* p_data);
59 static void l2c_csm_w4_l2cap_disconnect_rsp(tL2C_CCB* p_ccb, tL2CEVT event,
61 static void l2c_csm_w4_l2ca_disconnect_rsp(tL2C_CCB* p_ccb, tL2CEVT event,
67 static void l2c_csm_send_connect_rsp(tL2C_CCB* p_ccb) { in l2c_csm_send_connect_rsp()
[all …]
Dl2c_fcr.cc87 static bool process_reqseq(tL2C_CCB* p_ccb, uint16_t ctrl_word);
88 static void process_s_frame(tL2C_CCB* p_ccb, BT_HDR* p_buf, uint16_t ctrl_word);
89 static void process_i_frame(tL2C_CCB* p_ccb, BT_HDR* p_buf, uint16_t ctrl_word,
91 static bool retransmit_i_frames(tL2C_CCB* p_ccb, uint8_t tx_seq);
92 static void prepare_I_frame(tL2C_CCB* p_ccb, BT_HDR* p_buf,
94 static bool do_sar_reassembly(tL2C_CCB* p_ccb, BT_HDR* p_buf,
162 void l2c_fcr_start_timer(tL2C_CCB* p_ccb) { in l2c_fcr_start_timer()
189 void l2c_fcr_stop_timer(tL2C_CCB* p_ccb) { in l2c_fcr_stop_timer()
204 void l2c_fcr_cleanup(tL2C_CCB* p_ccb) { in l2c_fcr_cleanup()
264 bool l2c_fcr_is_flow_controlled(tL2C_CCB* p_ccb) { in l2c_fcr_is_flow_controlled()
[all …]
Dl2c_main.cc113 tL2C_CCB* p_ccb = NULL; in l2c_rcv_acl_data()
337 tL2C_CCB* p_ccb = l2cu_find_ccb_by_cid(p_lcb, lcid); in process_l2cap_cmd()
356 for (tL2C_CCB* p_ccb = p_lcb->ccb_queue.p_first_ccb; p_ccb; in process_l2cap_cmd()
384 tL2C_CCB* p_ccb = l2cu_allocate_ccb(p_lcb, 0); in process_l2cap_cmd()
418 tL2C_CCB* p_ccb = l2cu_find_ccb_by_cid(p_lcb, lcid); in process_l2cap_cmd()
579 tL2C_CCB* p_ccb = l2cu_find_ccb_by_cid(p_lcb, lcid); in process_l2cap_cmd()
693 tL2C_CCB* p_ccb = l2cu_find_ccb_by_cid(p_lcb, lcid); in process_l2cap_cmd()
719 tL2C_CCB* p_ccb = l2cu_find_ccb_by_cid(p_lcb, lcid); in process_l2cap_cmd()
740 tL2C_CCB* p_ccb = l2cu_find_ccb_by_cid(p_lcb, lcid); in process_l2cap_cmd()
809 for (tL2C_CCB* p_ccb = p_lcb->ccb_queue.p_first_ccb; p_ccb; in process_l2cap_cmd()
[all …]
Dl2c_utils.cc47 tL2C_CCB* l2cu_get_next_channel_in_rr(tL2C_LCB* p_lcb); // TODO Move
153 tL2C_CCB* p_ccb; in l2cu_release_lcb()
403 void l2cu_send_peer_connect_req(tL2C_CCB* p_ccb) { in l2cu_send_peer_connect_req()
439 void l2cu_send_peer_connect_rsp(tL2C_CCB* p_ccb, uint16_t result, in l2cu_send_peer_connect_rsp()
513 void l2cu_send_credit_based_reconfig_req(tL2C_CCB* p_ccb, in l2cu_send_credit_based_reconfig_req()
519 tL2C_CCB* p_ccb_temp; in l2cu_send_credit_based_reconfig_req()
566 void l2cu_send_peer_config_req(tL2C_CCB* p_ccb, tL2CAP_CFG_INFO* p_cfg) { in l2cu_send_peer_config_req()
667 void l2cu_send_peer_config_rsp(tL2C_CCB* p_ccb, tL2CAP_CFG_INFO* p_cfg) { in l2cu_send_peer_config_rsp()
757 void l2cu_send_peer_config_rej(tL2C_CCB* p_ccb, uint8_t* p_data, in l2cu_send_peer_config_rej()
874 void l2cu_send_peer_disc_req(tL2C_CCB* p_ccb) { in l2cu_send_peer_disc_req()
[all …]
Dl2c_link.cc147 tL2C_CCB* p_ccb; in l2c_link_hci_conn_comp()
229 tL2C_CCB* pn = p_ccb->p_next_ccb; in l2c_link_hci_conn_comp()
276 tL2C_CCB* p_ccb; in l2c_link_sec_comp2()
277 tL2C_CCB* p_next_ccb; in l2c_link_sec_comp2()
372 tL2C_CCB* p_ccb; in l2c_link_hci_disc_comp()
393 tL2C_CCB* pn = p_ccb->p_next_ccb; in l2c_link_hci_disc_comp()
485 tL2C_CCB* p_ccb; in l2c_link_timeout()
503 tL2C_CCB* pn = p_ccb->p_next_ccb; in l2c_link_timeout()
576 tL2C_CCB* p_ccb; in l2c_info_resp_timer_timeout()
754 tL2C_CCB* p_ccb = l2cb.ccb_pool + xx; in l2c_link_adjust_chnl_allocation()
[all …]
Dl2c_api.cc202 tL2C_CCB* p_ccb; in L2CA_Deregister()
369 tL2C_CCB* p_ccb = l2cu_allocate_ccb(p_lcb, 0); in L2CA_ConnectReq()
508 tL2C_CCB* p_ccb = p_lcb->ccb_queue.p_first_ccb; in L2CA_DeregisterLECoc()
578 tL2C_CCB* p_ccb = l2cu_allocate_ccb(p_lcb, 0); in L2CA_ConnectLECocReq()
652 tL2C_CCB* p_ccb = l2cu_find_ccb_by_cid(NULL, lcid); in L2CA_GetPeerLECocConfig()
683 tL2C_CCB* p_ccb = l2cu_find_ccb_by_cid(p_lcb, lcid); in L2CA_GetPeerLECocCredit()
730 tL2C_CCB* p_ccb = l2cu_find_ccb_by_cid(p_lcb, p_lcb->pending_lead_cid); in L2CA_ConnectCreditBasedRsp()
733 tL2C_CCB* temp_p_ccb = l2cu_find_ccb_by_cid(p_lcb, cid); in L2CA_ConnectCreditBasedRsp()
831 tL2C_CCB* p_ccb_primary; in L2CA_ConnectCreditBasedReq()
841 tL2C_CCB* p_ccb = l2cu_allocate_ccb(p_lcb, 0); in L2CA_ConnectCreditBasedReq()
[all …]
Dl2c_ble.cc234 for (tL2C_CCB* p_ccb = p_lcb->ccb_queue.p_first_ccb; p_ccb; in l2cble_notify_le_connection()
460 tL2C_CCB* temp_p_ccb = NULL; in l2cble_handle_connect_rsp_neg()
489 tL2C_CCB *p_ccb = NULL, *temp_p_ccb = NULL; in l2cble_process_sig_cmd()
1462 void l2cble_credit_based_conn_req(tL2C_CCB* p_ccb) { in l2cble_credit_based_conn_req()
1488 void l2cble_credit_based_conn_res(tL2C_CCB* p_ccb, uint16_t result) { in l2cble_credit_based_conn_res()
1510 void l2cble_send_flow_control_credit(tL2C_CCB* p_ccb, uint16_t credit_value) { in l2cble_send_flow_control_credit()
1532 void l2cble_send_peer_disc_req(tL2C_CCB* p_ccb) { in l2cble_send_peer_disc_req()
/packages/modules/Bluetooth/system/test/mock/
Dmock_stack_l2cap_utils.cc56 bool l2cu_is_ccb_active(tL2C_CCB* p_ccb) { in l2cu_is_ccb_active()
73 tL2C_CCB* l2cu_allocate_ccb(tL2C_LCB* p_lcb, uint16_t cid) { in l2cu_allocate_ccb()
77 tL2C_CCB* l2cu_find_ccb_by_cid(tL2C_LCB* p_lcb, uint16_t local_cid) { in l2cu_find_ccb_by_cid()
81 tL2C_CCB* l2cu_find_ccb_by_remote_cid(tL2C_LCB* p_lcb, uint16_t remote_cid) { in l2cu_find_ccb_by_remote_cid()
123 uint8_t l2cu_process_peer_cfg_req(tL2C_CCB* p_ccb, tL2CAP_CFG_INFO* p_cfg) { in l2cu_process_peer_cfg_req()
128 void l2cu_adjust_out_mps(tL2C_CCB* p_ccb) { inc_func_call_count(__func__); } in l2cu_adjust_out_mps()
129 void l2cu_change_pri_ccb(tL2C_CCB* p_ccb, tL2CAP_CHNL_PRIORITY priority) { in l2cu_change_pri_ccb()
132 void l2cu_check_channel_congestion(tL2C_CCB* p_ccb) { in l2cu_check_channel_congestion()
139 void l2cu_dequeue_ccb(tL2C_CCB* p_ccb) { inc_func_call_count(__func__); } in l2cu_dequeue_ccb()
141 void l2cu_disconnect_chnl(tL2C_CCB* p_ccb) { inc_func_call_count(__func__); } in l2cu_disconnect_chnl()
[all …]
Dmock_stack_l2cap_ble.h242 std::function<void(tL2C_CCB* p_ccb)> body{[](tL2C_CCB* p_ccb) {}};
243 void operator()(tL2C_CCB* p_ccb) { body(p_ccb); }; in operator()
250 std::function<void(tL2C_CCB* p_ccb, uint16_t result)> body{
251 [](tL2C_CCB* p_ccb, uint16_t result) {}};
252 void operator()(tL2C_CCB* p_ccb, uint16_t result) { body(p_ccb, result); }; in operator()
259 std::function<void(tL2C_CCB* p_ccb, uint16_t credit_value)> body{
260 [](tL2C_CCB* p_ccb, uint16_t credit_value) {}};
261 void operator()(tL2C_CCB* p_ccb, uint16_t credit_value) { in operator()
270 std::function<void(tL2C_CCB* p_ccb)> body{[](tL2C_CCB* p_ccb) {}};
271 void operator()(tL2C_CCB* p_ccb) { body(p_ccb); }; in operator()
Dmock_stack_l2cap_ble.cc164 void l2cble_credit_based_conn_req(tL2C_CCB* p_ccb) { in l2cble_credit_based_conn_req()
168 void l2cble_credit_based_conn_res(tL2C_CCB* p_ccb, uint16_t result) { in l2cble_credit_based_conn_res()
172 void l2cble_send_flow_control_credit(tL2C_CCB* p_ccb, uint16_t credit_value) { in l2cble_send_flow_control_credit()
177 void l2cble_send_peer_disc_req(tL2C_CCB* p_ccb) { in l2cble_send_peer_disc_req()
Dmock_stack_l2cap_link.cc45 tL2C_CCB* l2cu_get_next_channel_in_rr(tL2C_LCB* p_lcb) { in l2cu_get_next_channel_in_rr()
/packages/modules/Bluetooth/system/stack/rfcomm/
Drfc_port_fsm.cc233 tL2C_CCB* p_ccb = in rfc_port_sm_sabme_wait_ua()
242 tL2C_CCB* ccb; in rfc_port_sm_sabme_wait_ua()
372 tL2C_CCB* p_ccb = in rfc_port_sm_term_wait_sec_check()
381 tL2C_CCB* ccb; in rfc_port_sm_term_wait_sec_check()
Dport_rfc.cc1011 tL2C_CCB* ccb; in port_rfc_closed()
/packages/modules/Bluetooth/system/stack/test/common/
Dmock_l2cap_layer.cc31 tL2C_CCB* l2cu_find_ccb_by_cid(tL2C_LCB* p_lcb, uint16_t local_cid) { in l2cu_find_ccb_by_cid()
/packages/modules/Bluetooth/system/stack/test/
Dstack_l2cap_test.cc89 tL2C_CCB ccb_ = {
/packages/modules/Bluetooth/system/main/shim/
Dacl.cc1224 const tL2C_CCB* ccb = lcb.ccb_queue.p_first_ccb; in DumpsysL2cap()