Lines Matching refs:con_state
222 p_ccb->con_state = GAP_CCB_STATE_LISTENING; in GAP_ConnOpen()
231 p_ccb->con_state = GAP_CCB_STATE_CONN_SETUP; in GAP_ConnOpen()
273 if (p_ccb->con_state != GAP_CCB_STATE_LISTENING) in GAP_ConnClose()
378 if (p_ccb->con_state == GAP_CCB_STATE_CONNECTED) in GAP_GetRxQueueCnt()
458 if (p_ccb->con_state != GAP_CCB_STATE_CONNECTED) in GAP_ConnBTWrite()
526 if (p_ccb->con_state != GAP_CCB_STATE_CONNECTED) in GAP_ConnWriteData()
605 if (p_ccb->con_state == GAP_CCB_STATE_CONNECTED) in GAP_ConnReconfig()
668 if ((p_ccb) && (p_ccb->con_state > GAP_CCB_STATE_LISTENING)) in GAP_ConnGetRemoteAddr()
747 if ((p_ccb->con_state == GAP_CCB_STATE_LISTENING) in gap_connect_ind()
766 p_ccb->con_state = GAP_CCB_STATE_CFG_SETUP; in gap_connect_ind()
797 p_ccb->con_state = GAP_CCB_STATE_CONNECTED; in gap_checks_con_flags()
820 p_ccb->con_state, p_ccb->con_flags, res); in gap_sec_check_complete()
821 if (p_ccb->con_state == GAP_CCB_STATE_IDLE) in gap_sec_check_complete()
864 if ((result == L2CAP_CONN_OK) && (p_ccb->con_state == GAP_CCB_STATE_CONN_SETUP)) in gap_connect_cfm()
866 p_ccb->con_state = GAP_CCB_STATE_CFG_SETUP; in gap_connect_cfm()
1017 if (p_ccb->con_state == GAP_CCB_STATE_CONNECTED) in gap_data_ind()
1099 if ((p_ccb->con_state != GAP_CCB_STATE_IDLE) && (p_ccb->connection_id == cid)) in gap_find_ccb_by_cid()
1127 if (p_ccb->con_state != GAP_CCB_STATE_IDLE) in gap_find_ccb_by_handle()
1153 if (p_ccb->con_state == GAP_CCB_STATE_IDLE) in gap_allocate_ccb()
1193 p_ccb->con_state = GAP_CCB_STATE_IDLE; in gap_release_ccb()
1198 if ((p_ccb->con_state != GAP_CCB_STATE_IDLE) && (p_ccb->psm == psm)) in gap_release_ccb()
1257 if (p_ccb->con_state != GAP_CCB_STATE_CONNECTED) in gap_proc_btu_event()