Lines Matching refs:chnl_state
97 if (p_ccb->chnl_state == CST_OPEN && !p_ccb->p_lcb->is_transport_ble()) { in l2c_csm_indicate_connection_open()
119 channel_state_text(p_ccb->chnl_state).c_str(), p_ccb->chnl_state, in l2c_csm_execute()
122 switch (p_ccb->chnl_state) { in l2c_csm_execute()
160 LOG_ERROR("Unhandled state %d, event %d", p_ccb->chnl_state, event); in l2c_csm_execute()
202 p_ccb->chnl_state = CST_ORIG_W4_SEC_COMP; in l2c_csm_closed()
206 p_ccb->chnl_state = CST_ORIG_W4_SEC_COMP; in l2c_csm_closed()
225 p_ccb->chnl_state = CST_ORIG_W4_SEC_COMP; in l2c_csm_closed()
237 p_ccb->chnl_state = CST_ORIG_W4_SEC_COMP; in l2c_csm_closed()
243 p_ccb->chnl_state = CST_W4_L2CAP_CONNECT_RSP; in l2c_csm_closed()
274 p_ccb->chnl_state = CST_TERM_W4_SEC_COMP; in l2c_csm_closed()
300 p_ccb->chnl_state = CST_TERM_W4_SEC_COMP; in l2c_csm_closed()
332 channel_state_text(p_ccb->chnl_state).c_str(), p_ccb->chnl_state, in l2c_csm_closed()
381 p_ccb->chnl_state = CST_W4_L2CAP_CONNECT_RSP; in l2c_csm_orig_w4_sec_comp()
431 channel_state_text(p_ccb->chnl_state).c_str(), p_ccb->chnl_state, in l2c_csm_orig_w4_sec_comp()
459 p_ccb->chnl_state = CST_W4_L2CA_CONNECT_RSP; in l2c_csm_term_w4_sec_comp()
563 channel_state_text(p_ccb->chnl_state).c_str(), p_ccb->chnl_state, in l2c_csm_term_w4_sec_comp()
596 p_ccb->chnl_state = CST_CLOSED; in l2c_csm_w4_l2cap_connect_rsp()
612 p_ccb->chnl_state = CST_OPEN; in l2c_csm_w4_l2cap_connect_rsp()
618 p_ccb->chnl_state = CST_CONFIG; in l2c_csm_w4_l2cap_connect_rsp()
637 p_ccb->chnl_state = CST_OPEN; in l2c_csm_w4_l2cap_connect_rsp()
692 p_ccb->chnl_state = CST_W4_L2CAP_DISCONNECT_RSP; in l2c_csm_w4_l2cap_connect_rsp()
723 channel_state_text(p_ccb->chnl_state).c_str(), p_ccb->chnl_state, in l2c_csm_w4_l2cap_connect_rsp()
770 temp_p_ccb->chnl_state = CST_OPEN; in l2c_csm_w4_l2ca_connect_rsp()
786 p_ccb->chnl_state = CST_OPEN; in l2c_csm_w4_l2ca_connect_rsp()
797 p_ccb->chnl_state = CST_CONFIG; in l2c_csm_w4_l2ca_connect_rsp()
856 p_ccb->chnl_state = CST_W4_L2CAP_DISCONNECT_RSP; in l2c_csm_w4_l2ca_connect_rsp()
874 channel_state_text(p_ccb->chnl_state).c_str(), p_ccb->chnl_state, in l2c_csm_w4_l2ca_connect_rsp()
949 p_ccb->chnl_state = CST_OPEN; in l2c_csm_config()
983 p_ccb->chnl_state = CST_OPEN; in l2c_csm_config()
1033 p_ccb->chnl_state = CST_W4_L2CA_DISCONNECT_RSP; in l2c_csm_config()
1071 p_ccb->chnl_state = CST_OPEN; in l2c_csm_config()
1082 if ((p_ccb->chnl_state == CST_OPEN) && in l2c_csm_config()
1090 p_ccb->chnl_state = CST_W4_L2CAP_DISCONNECT_RSP; in l2c_csm_config()
1150 channel_state_text(p_ccb->chnl_state).c_str(), p_ccb->chnl_state, in l2c_csm_config()
1199 tempstate = p_ccb->chnl_state; in l2c_csm_open()
1201 p_ccb->chnl_state = CST_CONFIG; in l2c_csm_open()
1220 p_ccb->chnl_state = tempstate; in l2c_csm_open()
1240 p_ccb->chnl_state = CST_W4_L2CA_DISCONNECT_RSP; in l2c_csm_open()
1270 p_ccb->chnl_state = CST_W4_L2CAP_DISCONNECT_RSP; in l2c_csm_open()
1281 p_ccb->chnl_state = CST_CONFIG; in l2c_csm_open()
1330 channel_state_text(p_ccb->chnl_state).c_str(), p_ccb->chnl_state, in l2c_csm_open()
1373 channel_state_text(p_ccb->chnl_state).c_str(), p_ccb->chnl_state, in l2c_csm_w4_l2cap_disconnect_rsp()
1428 channel_state_text(p_ccb->chnl_state).c_str(), p_ccb->chnl_state, in l2c_csm_w4_l2ca_disconnect_rsp()
1579 p_ccb, p_ccb->in_use, p_ccb->chnl_state, p_ccb->local_cid, in l2c_enqueue_peer_data()