Home
last modified time | relevance | path

Searched refs:con_state (Results 1 – 13 of 13) sorted by relevance

/system/bt/stack/pan/
Dpan_utils.c188 if (pan_cb.pcb[i].con_state != PAN_STATE_IDLE && in pan_allocate_pcb()
195 if (pan_cb.pcb[i].con_state != PAN_STATE_IDLE && in pan_allocate_pcb()
202 if (pan_cb.pcb[i].con_state == PAN_STATE_IDLE) in pan_allocate_pcb()
229 if (pan_cb.pcb[i].con_state != PAN_STATE_IDLE && in pan_get_pcb_by_handle()
253 if (pan_cb.pcb[i].con_state == PAN_STATE_IDLE) in pan_get_pcb_by_addr()
287 if (pan_cb.pcb[i].con_state != PAN_STATE_IDLE) in pan_close_all_connections()
290 pan_cb.pcb[i].con_state = PAN_STATE_IDLE; in pan_close_all_connections()
313 p_pcb->con_state = PAN_STATE_IDLE; in pan_release_pcb()
340 i, p_pcb->con_state, p_pcb->handle, p_pcb->src_uuid, p_pcb->dst_uuid, in pan_dump_status()
Dpan_main.c250 if (pcb->con_state == PAN_STATE_CONNECTED) in pan_conn_ind_cb()
304 pcb->con_state = PAN_STATE_CONN_START; in pan_conn_ind_cb()
353 if (pcb->con_state != PAN_STATE_CONNECTED && in pan_connect_state_cb()
358 pcb->con_state = PAN_STATE_CONNECTED; in pan_connect_state_cb()
371 if (pcb->con_state == PAN_STATE_CONNECTED) in pan_connect_state_cb()
398 pcb->con_state = PAN_STATE_CONNECTED; in pan_connect_state_cb()
464 if (pcb->con_state != PAN_STATE_CONNECTED) in pan_data_ind_cb()
467 pcb->con_state, handle); in pan_data_ind_cb()
478 if (pan_cb.pcb[i].con_state == PAN_STATE_CONNECTED && in pan_data_ind_cb()
495 if (pan_cb.pcb[i].con_state == PAN_STATE_CONNECTED && in pan_data_ind_cb()
[all …]
Dpan_api.c397 if (pcb->con_state == PAN_STATE_IDLE) in PAN_Connect()
401 else if (pcb->con_state == PAN_STATE_CONNECTED) in PAN_Connect()
409 pcb->con_state = PAN_STATE_CONN_START; in PAN_Connect()
463 if (pcb->con_state != PAN_STATE_IDLE) in PAN_Disconnect()
520 if (pan_cb.pcb[i].con_state == PAN_STATE_CONNECTED) in PAN_Write()
581 if (pan_cb.pcb[i].con_state == PAN_STATE_CONNECTED) in PAN_WriteBuf()
594 if (pan_cb.pcb[i].con_state == PAN_STATE_CONNECTED && in PAN_WriteBuf()
631 if (pcb->con_state != PAN_STATE_CONNECTED) in PAN_WriteBuf()
Dpan_int.h49 UINT8 con_state; member
/system/bt/stack/bnep/
Dbnep_utils.c63 if ((p_bcb->con_state != BNEP_STATE_IDLE) && (p_bcb->l2cap_cid == cid)) in bnepu_find_bcb_by_cid()
90 if (p_bcb->con_state != BNEP_STATE_IDLE) in bnepu_find_bcb_by_bd_addr()
119 if (p_bcb->con_state == BNEP_STATE_IDLE) in bnepu_allocate_bcb()
152 p_bcb->con_state = BNEP_STATE_IDLE; in bnepu_release_bcb()
591 if (p_bcb->con_state != BNEP_STATE_CONN_SETUP && in bnep_process_setup_conn_req()
592 p_bcb->con_state != BNEP_STATE_SEC_CHECKING && in bnep_process_setup_conn_req()
593 p_bcb->con_state != BNEP_STATE_CONNECTED) in bnep_process_setup_conn_req()
595 BNEP_TRACE_ERROR ("BNEP - setup request in bad state %d", p_bcb->con_state); in bnep_process_setup_conn_req()
608 if (p_bcb->con_state != BNEP_STATE_CONNECTED && in bnep_process_setup_conn_req()
612 BNEP_TRACE_ERROR ("BNEP - setup request when we are originator", p_bcb->con_state); in bnep_process_setup_conn_req()
[all …]
Dbnep_main.c136 p_bcb->con_state = BNEP_STATE_CFG_SETUP; in bnep_connect_ind()
179 if ((result == L2CAP_CONN_OK) && (bcb->con_state == BNEP_STATE_CONN_START)) in bnep_connect_cfm()
181 bcb->con_state = BNEP_STATE_CFG_SETUP; in bnep_connect_cfm()
264 p_bcb->con_state = BNEP_STATE_SEC_CHECKING; in bnep_config_ind()
310 p_bcb->con_state = BNEP_STATE_SEC_CHECKING; in bnep_config_cfm()
366 if (p_bcb->con_state == BNEP_STATE_CONNECTED) in bnep_disconnect_ind()
497 if ((p_bcb->con_state != BNEP_STATE_CONNECTED) && in bnep_data_ind()
502 p_bcb->con_state, l2cap_cid); in bnep_data_ind()
565 p_bcb->con_state != BNEP_STATE_CONNECTED && in bnep_data_ind()
685 p_bcb->con_state, p_bcb->l2cap_cid, p_bcb->con_flags, p_bcb->re_transmits); in bnep_process_timeout()
[all …]
Dbnep_api.c158 else if (p_bcb->con_state != BNEP_STATE_CONNECTED) in BNEP_Connect()
173 if (p_bcb->con_state == BNEP_STATE_CONNECTED) in BNEP_Connect()
176 p_bcb->con_state = BNEP_STATE_SEC_CHECKING; in BNEP_Connect()
194 p_bcb->con_state = BNEP_STATE_CONN_START; in BNEP_Connect()
244 if (p_bcb->con_state != BNEP_STATE_CONN_SETUP || in BNEP_ConnectResp()
265 p_bcb->con_state = BNEP_STATE_CONNECTED; in BNEP_ConnectResp()
321 if (p_bcb->con_state == BNEP_STATE_IDLE) in BNEP_Disconnect()
592 if ((p_bcb->con_state != BNEP_STATE_CONNECTED) && in BNEP_SetProtocolFilters()
651 if ((p_bcb->con_state != BNEP_STATE_CONNECTED) && in BNEP_SetMulticastFilters()
724 if ((p_bcb->con_state != BNEP_STATE_CONNECTED) && in BNEP_GetStatus()
Dbnep_int.h120 UINT8 con_state; member
/system/bt/stack/gap/
Dgap_conn.c222 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()
[all …]
Dgap_int.h58 UINT8 con_state; member
/system/bt/stack/sdp/
Dsdp_main.c183 p_ccb->con_state = SDP_STATE_CFG_SETUP; in sdp_connect_ind()
244 if ((result == L2CAP_CONN_OK) && (p_ccb->con_state == SDP_STATE_CONN_SETUP)) in sdp_connect_cfm()
246 p_ccb->con_state = SDP_STATE_CFG_SETUP; in sdp_connect_cfm()
380 p_ccb->con_state = SDP_STATE_CONNECTED; in sdp_config_ind()
422 p_ccb->con_state = SDP_STATE_CONNECTED; in sdp_config_cfm()
478 (*p_ccb->p_cb) ((UINT16) ((p_ccb->con_state == SDP_STATE_CONNECTED) ? in sdp_disconnect_ind()
481 (*p_ccb->p_cb2) ((UINT16) ((p_ccb->con_state == SDP_STATE_CONNECTED) ? in sdp_disconnect_ind()
510 if (p_ccb->con_state == SDP_STATE_CONNECTED) in sdp_data_ind()
520 p_ccb->con_state, l2cap_cid); in sdp_data_ind()
564 p_ccb->con_state = SDP_STATE_CONN_SETUP; in sdp_conn_originate()
[all …]
Dsdp_utils.c64 if ((p_ccb->con_state != SDP_STATE_IDLE) && (p_ccb->connection_id == cid)) in sdpu_find_ccb_by_cid()
94 if ((p_ccb->con_state != SDP_STATE_IDLE) && (p_ccb->p_db == p_db)) in sdpu_find_ccb_by_db()
121 if (p_ccb->con_state == SDP_STATE_IDLE) in sdpu_allocate_ccb()
151 p_ccb->con_state = SDP_STATE_IDLE; in sdpu_release_ccb()
Dsdpint.h173 UINT8 con_state; member