Home
last modified time | relevance | path

Searched refs:chnl_state (Results 1 – 9 of 9) sorted by relevance

/system/bt/stack/l2cap/
Dl2c_csm.cc75 switch (p_ccb->chnl_state) { in l2c_csm_execute()
168 p_ccb->chnl_state = CST_ORIG_W4_SEC_COMP; in l2c_csm_closed()
172 p_ccb->chnl_state = CST_ORIG_W4_SEC_COMP; in l2c_csm_closed()
193 p_ccb->chnl_state = CST_ORIG_W4_SEC_COMP; in l2c_csm_closed()
213 p_ccb->chnl_state = CST_ORIG_W4_SEC_COMP; in l2c_csm_closed()
218 p_ccb->chnl_state = CST_W4_L2CAP_CONNECT_RSP; in l2c_csm_closed()
251 p_ccb->chnl_state = CST_TERM_W4_SEC_COMP; in l2c_csm_closed()
265 p_ccb->chnl_state = CST_TERM_W4_SEC_COMP; in l2c_csm_closed()
355 p_ccb->chnl_state = CST_W4_L2CAP_CONNECT_RSP; in l2c_csm_orig_w4_sec_comp()
440 p_ccb->chnl_state = CST_W4_L2CA_CONNECT_RSP; in l2c_csm_term_w4_sec_comp()
[all …]
Dl2c_ucd.cc607 p_ccb->chnl_state = CST_OPEN; in l2c_ucd_connect()
737 p_ccb->chnl_state = CST_ORIG_W4_SEC_COMP; in l2c_ucd_check_pending_out_sec_q()
803 p_ccb->chnl_state = CST_TERM_W4_SEC_COMP; in l2c_ucd_check_pending_in_sec_q()
887 p_ccb->chnl_state = CST_OPEN; in l2c_ucd_check_rx_pkts()
913 switch (p_ccb->chnl_state) { in l2c_ucd_process_event()
921 p_ccb->chnl_state = CST_OPEN; in l2c_ucd_process_event()
939 p_ccb->chnl_state = CST_OPEN; in l2c_ucd_process_event()
955 p_ccb->chnl_state = CST_OPEN; in l2c_ucd_process_event()
960 p_ccb->chnl_state = CST_OPEN; in l2c_ucd_process_event()
977 p_ccb->chnl_state = CST_OPEN; in l2c_ucd_process_event()
[all …]
Dl2c_api.cc142 ((p_ccb->chnl_state == CST_W4_L2CAP_DISCONNECT_RSP) || in L2CA_Deregister()
143 (p_ccb->chnl_state == CST_W4_L2CA_DISCONNECT_RSP))) { in L2CA_Deregister()
415 if (p_ccb->in_use && (p_ccb->chnl_state == CST_W4_L2CAP_DISCONNECT_RSP || in L2CA_DeregisterLECoc()
416 p_ccb->chnl_state == CST_W4_L2CA_DISCONNECT_RSP)) in L2CA_DeregisterLECoc()
1197 p_ccb->chnl_state = CST_OPEN; in L2CA_LocalLoopbackReq()
1255 if ((p_ccb->chnl_state == CST_OPEN) && (!p_ccb->fcrb.wait_ack)) { in L2CA_FlowControl()
1289 if ((p_ccb->chnl_state != CST_OPEN) || in L2CA_SendTestSFrame()
Dl2c_fcr.cc513 if ((!p_ccb->in_use) || (p_ccb->chnl_state != CST_OPEN)) return; in l2c_fcr_send_S_frame()
749 if ((!p_ccb->in_use) || (p_ccb->chnl_state != CST_OPEN)) return; in l2c_fcr_proc_pdu()
759 if (p_ccb->in_use && (p_ccb->chnl_state == CST_OPEN)) { in l2c_fcr_proc_pdu()
960 p_ccb->local_cid, p_ccb->chnl_state, p_ccb->fcrb.wait_ack, in l2c_fcr_proc_ack_tout()
963 if ((p_ccb->chnl_state == CST_OPEN) && (!p_ccb->fcrb.wait_ack) && in l2c_fcr_proc_ack_tout()
1327 if ((num_to_ack != 0) && p_ccb->in_use && (p_ccb->chnl_state == CST_OPEN)) { in process_i_frame()
Dl2c_utils.cc1508 p_ccb->chnl_state = CST_CLOSED; in l2cu_allocate_ccb()
2338 ((p_ccb->chnl_state == CST_W4_L2CAP_DISCONNECT_RSP) || in l2cu_lcb_disconnecting()
2339 (p_ccb->chnl_state == CST_W4_L2CA_DISCONNECT_RSP))) { in l2cu_lcb_disconnecting()
2585 if (p_lcb->link_state == LST_CONNECTED) p_ccb->chnl_state = CST_OPEN; in l2cu_initialize_fixed_ccb()
2690 p_lcb->p_fixed_ccbs[xx]->chnl_state = CST_OPEN; in l2cu_process_fixed_chnl_resp()
3153 if (p_ccb->chnl_state != CST_OPEN) continue; in l2cu_get_next_channel_in_rr()
3222 if (p_ccb->chnl_state != CST_OPEN) continue; in l2cu_get_next_channel()
Dl2c_main.cc230 if ((p_ccb->chnl_state == CST_OPEN) || in l2c_rcv_acl_data()
231 (p_ccb->chnl_state == CST_CONFIG)) in l2c_rcv_acl_data()
Dl2c_link.cc621 if ((p_ccb->chnl_state == CST_ORIG_W4_SEC_COMP) || in l2c_info_resp_timer_timeout()
622 (p_ccb->chnl_state == CST_TERM_W4_SEC_COMP)) { in l2c_info_resp_timer_timeout()
Dl2c_int.h278 tL2C_CHNL_STATE chnl_state; /* Channel state */ member
Dl2c_ble.cc243 if (p_ccb->chnl_state == CST_CLOSED) in l2cble_notify_le_connection()