Home
last modified time | relevance | path

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

/external/bluetooth/bluedroid/stack/l2cap/
Dl2c_csm.c67 switch (p_ccb->chnl_state) in l2c_csm_execute()
168 p_ccb->chnl_state = CST_ORIG_W4_SEC_COMP; in l2c_csm_closed()
209 p_ccb->chnl_state = CST_ORIG_W4_SEC_COMP; in l2c_csm_closed()
213 p_ccb->chnl_state = CST_W4_L2CAP_CONNECT_RSP; in l2c_csm_closed()
263 p_ccb->chnl_state = CST_TERM_W4_SEC_COMP; in l2c_csm_closed()
340 p_ccb->chnl_state = CST_W4_L2CAP_CONNECT_RSP; in l2c_csm_orig_w4_sec_comp()
426 p_ccb->chnl_state = CST_W4_L2CA_CONNECT_RSP; in l2c_csm_term_w4_sec_comp()
530 p_ccb->chnl_state = CST_CLOSED; in l2c_csm_w4_l2cap_connect_rsp()
543 p_ccb->chnl_state = CST_CONFIG; in l2c_csm_w4_l2cap_connect_rsp()
577 p_ccb->chnl_state = CST_W4_L2CAP_DISCONNECT_RSP; in l2c_csm_w4_l2cap_connect_rsp()
[all …]
Dl2c_ucd.c623 p_ccb->chnl_state = CST_OPEN; in l2c_ucd_connect()
764 p_ccb->chnl_state = CST_ORIG_W4_SEC_COMP; in l2c_ucd_check_pending_out_sec_q()
841 p_ccb->chnl_state = CST_TERM_W4_SEC_COMP; in l2c_ucd_check_pending_in_sec_q()
936 p_ccb->chnl_state = CST_OPEN; in l2c_ucd_check_rx_pkts()
962 switch (p_ccb->chnl_state) in l2c_ucd_process_event()
974 p_ccb->chnl_state = CST_OPEN; in l2c_ucd_process_event()
994 p_ccb->chnl_state = CST_OPEN; in l2c_ucd_process_event()
1012 p_ccb->chnl_state = CST_OPEN; in l2c_ucd_process_event()
1017 p_ccb->chnl_state = CST_OPEN; in l2c_ucd_process_event()
1034 p_ccb->chnl_state = CST_OPEN; in l2c_ucd_process_event()
[all …]
Dl2c_api.c142 ((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()
901 p_ccb->chnl_state = CST_OPEN; in L2CA_LocalLoopbackReq()
963 if ( (p_ccb->chnl_state == CST_OPEN) && (!p_ccb->fcrb.wait_ack) ) in L2CA_FlowControl()
997 if ( (p_ccb->chnl_state != CST_OPEN) || (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_ERTM_MODE) ) in L2CA_SendTestSFrame()
Dl2c_utils.c1478 p_ccb->chnl_state = CST_CLOSED; in l2cu_allocate_ccb()
2361 ((p_ccb->chnl_state == CST_W4_L2CAP_DISCONNECT_RSP) || in l2cu_lcb_disconnecting()
2362 (p_ccb->chnl_state == CST_W4_L2CA_DISCONNECT_RSP))) in l2cu_lcb_disconnecting()
2620 p_ccb->chnl_state = CST_OPEN; in l2cu_initialize_fixed_ccb()
2725 p_lcb->p_fixed_ccbs[xx]->chnl_state = CST_OPEN; in l2cu_process_fixed_chnl_resp()
2956 if (p_ccb->chnl_state != CST_OPEN) in l2cu_get_next_channel_in_rr()
3032 if (p_ccb->chnl_state != CST_OPEN) in l2cu_get_next_channel()
Dl2c_fcr.c533 if ((!p_ccb->in_use) || (p_ccb->chnl_state != CST_OPEN)) in l2c_fcr_send_S_frame()
796 if ( (!p_ccb->in_use) || (p_ccb->chnl_state != CST_OPEN) ) in l2c_fcr_proc_pdu()
808 if (p_ccb->in_use && (p_ccb->chnl_state == CST_OPEN)) in l2c_fcr_proc_pdu()
904 …p_ccb->chnl_state, p_ccb->fcrb.wait_ack, p_ccb->fcrb.next_seq_expected, p_ccb->fcrb.last_ack_sent); in l2c_fcr_proc_ack_tout()
906 if ( (p_ccb->chnl_state == CST_OPEN) && (!p_ccb->fcrb.wait_ack) in l2c_fcr_proc_ack_tout()
1266 if ((num_to_ack != 0) && p_ccb->in_use && (p_ccb->chnl_state == CST_OPEN)) in process_i_frame()
Dl2c_main.c296 if ((p_ccb->chnl_state == CST_OPEN) || (p_ccb->chnl_state == CST_CONFIG)) in l2c_rcv_acl_data()
Dl2c_link.c632 … if ( (p_ccb->chnl_state == CST_ORIG_W4_SEC_COMP) || (p_ccb->chnl_state == CST_TERM_W4_SEC_COMP) ) in l2c_info_timeout()
Dl2c_int.h283 tL2C_CHNL_STATE chnl_state; /* Channel state */ member