Lines Matching refs:con_state
210 p_ccb->con_state = GAP_CCB_STATE_LISTENING; in GAP_ConnOpen()
219 p_ccb->con_state = GAP_CCB_STATE_CONN_SETUP; in GAP_ConnOpen()
261 if (p_ccb->con_state != GAP_CCB_STATE_LISTENING) in GAP_ConnClose()
366 if (p_ccb->con_state == GAP_CCB_STATE_CONNECTED) in GAP_GetRxQueueCnt()
446 if (p_ccb->con_state != GAP_CCB_STATE_CONNECTED) in GAP_ConnBTWrite()
514 if (p_ccb->con_state != GAP_CCB_STATE_CONNECTED) in GAP_ConnWriteData()
593 if (p_ccb->con_state == GAP_CCB_STATE_CONNECTED) in GAP_ConnReconfig()
656 if ((p_ccb) && (p_ccb->con_state > GAP_CCB_STATE_LISTENING)) in GAP_ConnGetRemoteAddr()
735 if ((p_ccb->con_state == GAP_CCB_STATE_LISTENING) in gap_connect_ind()
754 p_ccb->con_state = GAP_CCB_STATE_CFG_SETUP; in gap_connect_ind()
785 p_ccb->con_state = GAP_CCB_STATE_CONNECTED; in gap_checks_con_flags()
806 p_ccb->con_state, p_ccb->con_flags, res); in gap_sec_check_complete()
807 if (p_ccb->con_state == GAP_CCB_STATE_IDLE) in gap_sec_check_complete()
850 if ((result == L2CAP_CONN_OK) && (p_ccb->con_state == GAP_CCB_STATE_CONN_SETUP)) in gap_connect_cfm()
852 p_ccb->con_state = GAP_CCB_STATE_CFG_SETUP; in gap_connect_cfm()
1003 if (p_ccb->con_state == GAP_CCB_STATE_CONNECTED) in gap_data_ind()
1085 if ((p_ccb->con_state != GAP_CCB_STATE_IDLE) && (p_ccb->connection_id == cid)) in gap_find_ccb_by_cid()
1113 if (p_ccb->con_state != GAP_CCB_STATE_IDLE) in gap_find_ccb_by_handle()
1139 if (p_ccb->con_state == GAP_CCB_STATE_IDLE) in gap_allocate_ccb()
1179 p_ccb->con_state = GAP_CCB_STATE_IDLE; in gap_release_ccb()
1184 if ((p_ccb->con_state != GAP_CCB_STATE_IDLE) && (p_ccb->psm == psm)) in gap_release_ccb()
1243 if (p_ccb->con_state != GAP_CCB_STATE_CONNECTED) in gap_proc_btu_event()