Home
last modified time | relevance | path

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

/system/bt/stack/l2cap/
Dl2c_int.h379 } 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 */
[all …]
Dl2c_csm.cc41 static void l2c_csm_closed(tL2C_CCB* p_ccb, tL2CEVT event, void* p_data);
42 static void l2c_csm_orig_w4_sec_comp(tL2C_CCB* p_ccb, tL2CEVT event,
44 static void l2c_csm_term_w4_sec_comp(tL2C_CCB* p_ccb, tL2CEVT event,
46 static void l2c_csm_w4_l2cap_connect_rsp(tL2C_CCB* p_ccb, tL2CEVT event,
48 static void l2c_csm_w4_l2ca_connect_rsp(tL2C_CCB* p_ccb, tL2CEVT event,
50 static void l2c_csm_config(tL2C_CCB* p_ccb, tL2CEVT event, void* p_data);
51 static void l2c_csm_open(tL2C_CCB* p_ccb, tL2CEVT event, void* p_data);
52 static void l2c_csm_w4_l2cap_disconnect_rsp(tL2C_CCB* p_ccb, tL2CEVT event,
54 static void l2c_csm_w4_l2ca_disconnect_rsp(tL2C_CCB* p_ccb, tL2CEVT event,
60 static void l2c_csm_send_connect_rsp(tL2C_CCB* p_ccb) { in l2c_csm_send_connect_rsp()
[all …]
Dl2c_utils.cc45 tL2C_CCB* l2cu_get_next_channel_in_rr(tL2C_LCB* p_lcb); // TODO Move
150 tL2C_CCB* p_ccb; in l2cu_release_lcb()
400 void l2cu_send_peer_connect_req(tL2C_CCB* p_ccb) { in l2cu_send_peer_connect_req()
436 void l2cu_send_peer_connect_rsp(tL2C_CCB* p_ccb, uint16_t result, in l2cu_send_peer_connect_rsp()
510 void l2cu_send_credit_based_reconfig_req(tL2C_CCB* p_ccb, in l2cu_send_credit_based_reconfig_req()
516 tL2C_CCB* p_ccb_temp; in l2cu_send_credit_based_reconfig_req()
563 void l2cu_send_peer_config_req(tL2C_CCB* p_ccb, tL2CAP_CFG_INFO* p_cfg) { in l2cu_send_peer_config_req()
664 void l2cu_send_peer_config_rsp(tL2C_CCB* p_ccb, tL2CAP_CFG_INFO* p_cfg) { in l2cu_send_peer_config_rsp()
754 void l2cu_send_peer_config_rej(tL2C_CCB* p_ccb, uint8_t* p_data, in l2cu_send_peer_config_rej()
871 void l2cu_send_peer_disc_req(tL2C_CCB* p_ccb) { in l2cu_send_peer_disc_req()
[all …]
Dl2c_fcr.cc89 static bool process_reqseq(tL2C_CCB* p_ccb, uint16_t ctrl_word);
90 static void process_s_frame(tL2C_CCB* p_ccb, BT_HDR* p_buf, uint16_t ctrl_word);
91 static void process_i_frame(tL2C_CCB* p_ccb, BT_HDR* p_buf, uint16_t ctrl_word,
93 static bool retransmit_i_frames(tL2C_CCB* p_ccb, uint8_t tx_seq);
94 static void prepare_I_frame(tL2C_CCB* p_ccb, BT_HDR* p_buf,
96 static bool do_sar_reassembly(tL2C_CCB* p_ccb, BT_HDR* p_buf,
164 void l2c_fcr_start_timer(tL2C_CCB* p_ccb) { in l2c_fcr_start_timer()
191 void l2c_fcr_stop_timer(tL2C_CCB* p_ccb) { in l2c_fcr_stop_timer()
206 void l2c_fcr_cleanup(tL2C_CCB* p_ccb) { in l2c_fcr_cleanup()
266 bool l2c_fcr_is_flow_controlled(tL2C_CCB* p_ccb) { in l2c_fcr_is_flow_controlled()
[all …]
Dl2c_main.cc149 tL2C_CCB* p_ccb = NULL; in l2c_rcv_acl_data()
357 tL2C_CCB* p_ccb = l2cu_find_ccb_by_cid(p_lcb, lcid); in process_l2cap_cmd()
376 for (tL2C_CCB* p_ccb = p_lcb->ccb_queue.p_first_ccb; p_ccb; in process_l2cap_cmd()
404 tL2C_CCB* p_ccb = l2cu_allocate_ccb(p_lcb, 0); in process_l2cap_cmd()
438 tL2C_CCB* p_ccb = l2cu_find_ccb_by_cid(p_lcb, lcid); in process_l2cap_cmd()
610 tL2C_CCB* p_ccb = l2cu_find_ccb_by_cid(p_lcb, lcid); in process_l2cap_cmd()
724 tL2C_CCB* p_ccb = l2cu_find_ccb_by_cid(p_lcb, lcid); in process_l2cap_cmd()
750 tL2C_CCB* p_ccb = l2cu_find_ccb_by_cid(p_lcb, lcid); in process_l2cap_cmd()
771 tL2C_CCB* p_ccb = l2cu_find_ccb_by_cid(p_lcb, lcid); in process_l2cap_cmd()
841 for (tL2C_CCB* p_ccb = p_lcb->ccb_queue.p_first_ccb; p_ccb; in process_l2cap_cmd()
[all …]
Dl2c_api.cc164 tL2C_CCB* p_ccb; in L2CA_Deregister()
331 tL2C_CCB* p_ccb = l2cu_allocate_ccb(p_lcb, 0); in L2CA_ConnectReq()
470 tL2C_CCB* p_ccb = p_lcb->ccb_queue.p_first_ccb; in L2CA_DeregisterLECoc()
540 tL2C_CCB* p_ccb = l2cu_allocate_ccb(p_lcb, 0); in L2CA_ConnectLECocReq()
605 tL2C_CCB* p_ccb = l2cu_find_ccb_by_cid(NULL, lcid); in L2CA_GetPeerLECocConfig()
655 tL2C_CCB* p_ccb = l2cu_find_ccb_by_cid(p_lcb, p_lcb->pending_lead_cid); in L2CA_ConnectCreditBasedRsp()
658 tL2C_CCB* temp_p_ccb = l2cu_find_ccb_by_cid(p_lcb, cid); in L2CA_ConnectCreditBasedRsp()
750 tL2C_CCB* p_ccb_primary; in L2CA_ConnectCreditBasedReq()
754 tL2C_CCB* p_ccb = l2cu_allocate_ccb(p_lcb, 0); in L2CA_ConnectCreditBasedReq()
815 tL2C_CCB* p_ccb; in L2CA_ReconfigCreditBasedConnsReq()
[all …]
Dl2c_link.cc145 tL2C_CCB* p_ccb; in l2c_link_hci_conn_comp()
230 tL2C_CCB* pn = p_ccb->p_next_ccb; in l2c_link_hci_conn_comp()
277 tL2C_CCB* p_ccb; in l2c_link_sec_comp2()
278 tL2C_CCB* p_next_ccb; in l2c_link_sec_comp2()
343 tL2C_CCB* p_ccb; in l2c_link_hci_disc_comp()
362 tL2C_CCB* pn = p_ccb->p_next_ccb; in l2c_link_hci_disc_comp()
462 tL2C_CCB* p_ccb; in l2c_link_timeout()
480 tL2C_CCB* pn = p_ccb->p_next_ccb; in l2c_link_timeout()
549 tL2C_CCB* p_ccb; in l2c_info_resp_timer_timeout()
727 tL2C_CCB* p_ccb = l2cb.ccb_pool + xx; in l2c_link_adjust_chnl_allocation()
[all …]
Dl2c_ble.cc202 for (tL2C_CCB* p_ccb = p_lcb->ccb_queue.p_first_ccb; p_ccb; in l2cble_notify_le_connection()
421 tL2C_CCB *p_ccb = NULL, *temp_p_ccb = NULL; in l2cble_process_sig_cmd()
1313 void l2cble_credit_based_conn_req(tL2C_CCB* p_ccb) { in l2cble_credit_based_conn_req()
1339 void l2cble_credit_based_conn_res(tL2C_CCB* p_ccb, uint16_t result) { in l2cble_credit_based_conn_res()
1361 void l2cble_send_flow_control_credit(tL2C_CCB* p_ccb, uint16_t credit_value) { in l2cble_send_flow_control_credit()
1383 void l2cble_send_peer_disc_req(tL2C_CCB* p_ccb) { in l2cble_send_peer_disc_req()
/system/bt/test/mock/
Dmock_stack_l2cap_utils.cc57 bool l2cu_is_ccb_active(tL2C_CCB* p_ccb) { in l2cu_is_ccb_active()
74 tL2C_CCB* l2cu_allocate_ccb(tL2C_LCB* p_lcb, uint16_t cid) { in l2cu_allocate_ccb()
78 tL2C_CCB* l2cu_find_ccb_by_cid(tL2C_LCB* p_lcb, uint16_t local_cid) { in l2cu_find_ccb_by_cid()
82 tL2C_CCB* l2cu_find_ccb_by_remote_cid(tL2C_LCB* p_lcb, uint16_t remote_cid) { in l2cu_find_ccb_by_remote_cid()
124 uint8_t l2cu_process_peer_cfg_req(tL2C_CCB* p_ccb, tL2CAP_CFG_INFO* p_cfg) { in l2cu_process_peer_cfg_req()
129 void l2cu_adjust_out_mps(tL2C_CCB* p_ccb) { in l2cu_adjust_out_mps()
132 void l2cu_change_pri_ccb(tL2C_CCB* p_ccb, tL2CAP_CHNL_PRIORITY priority) { in l2cu_change_pri_ccb()
135 void l2cu_check_channel_congestion(tL2C_CCB* p_ccb) { in l2cu_check_channel_congestion()
144 void l2cu_dequeue_ccb(tL2C_CCB* p_ccb) { mock_function_count_map[__func__]++; } in l2cu_dequeue_ccb()
146 void l2cu_disconnect_chnl(tL2C_CCB* p_ccb) { in l2cu_disconnect_chnl()
[all …]
Dmock_stack_l2cap_ble.h230 std::function<void(tL2C_CCB* p_ccb)> body{[](tL2C_CCB* p_ccb) {}};
231 void operator()(tL2C_CCB* p_ccb) { body(p_ccb); }; in operator()
238 std::function<void(tL2C_CCB* p_ccb, uint16_t result)> body{
239 [](tL2C_CCB* p_ccb, uint16_t result) {}};
240 void operator()(tL2C_CCB* p_ccb, uint16_t result) { body(p_ccb, result); }; in operator()
247 std::function<void(tL2C_CCB* p_ccb, uint16_t credit_value)> body{
248 [](tL2C_CCB* p_ccb, uint16_t credit_value) {}};
249 void operator()(tL2C_CCB* p_ccb, uint16_t credit_value) { in operator()
258 std::function<void(tL2C_CCB* p_ccb)> body{[](tL2C_CCB* p_ccb) {}};
259 void operator()(tL2C_CCB* p_ccb) { body(p_ccb); }; in operator()
Dmock_stack_l2cap_ble.cc158 void l2cble_credit_based_conn_req(tL2C_CCB* p_ccb) { in l2cble_credit_based_conn_req()
162 void l2cble_credit_based_conn_res(tL2C_CCB* p_ccb, uint16_t result) { in l2cble_credit_based_conn_res()
166 void l2cble_send_flow_control_credit(tL2C_CCB* p_ccb, uint16_t credit_value) { in l2cble_send_flow_control_credit()
171 void l2cble_send_peer_disc_req(tL2C_CCB* p_ccb) { in l2cble_send_peer_disc_req()
Dmock_stack_l2cap_link.cc41 tL2C_CCB* l2cu_get_next_channel_in_rr(tL2C_LCB* p_lcb) { in l2cu_get_next_channel_in_rr()
/system/bt/stack/test/common/
Dmock_stack_l2cap_link.cc41 tL2C_CCB* l2cu_get_next_channel_in_rr(tL2C_LCB* p_lcb) { in l2cu_get_next_channel_in_rr()
/system/bt/hci/src/
Dbtsnoop.cc317 tL2C_CCB* p_ccb = l2cu_find_ccb_by_cid(nullptr, local_cid); in allowlist_rfc_dlci()
/system/bt/main/shim/
Dacl.cc902 const tL2C_CCB* ccb = lcb.ccb_queue.p_first_ccb; in DumpsysL2cap()