Home
last modified time | relevance | path

Searched refs:link_state (Results 1 – 12 of 12) sorted by relevance

/external/bluetooth/bluedroid/stack/l2cap/
Dl2c_link.c108 p_lcb->link_state = LST_CONNECTING; in l2c_link_hci_conn_req()
116 if ((p_lcb->link_state == LST_CONNECTING) || (p_lcb->link_state == LST_CONNECT_HOLDING)) in l2c_link_hci_conn_req()
127 p_lcb->link_state = LST_CONNECTING; in l2c_link_hci_conn_req()
130 else if (p_lcb->link_state == LST_DISCONNECTING) in l2c_link_hci_conn_req()
138 p_lcb->link_state); in l2c_link_hci_conn_req()
180 if (p_lcb->link_state != LST_CONNECTING) in l2c_link_hci_conn_comp()
182 …L2CAP_TRACE_ERROR ("L2CAP got conn_comp in bad state: %d status: 0x%d", p_lcb->link_state, status… in l2c_link_hci_conn_comp()
196 p_lcb->link_state = LST_CONNECTED; in l2c_link_hci_conn_comp()
243 p_lcb->link_state = LST_CONNECT_HOLDING; in l2c_link_hci_conn_comp()
249 p_lcb->link_state = LST_DISCONNECTING; in l2c_link_hci_conn_comp()
[all …]
Dl2c_api.c138 || (p_lcb->link_state == LST_DISCONNECTING)) in L2CA_Deregister()
304 if (p_lcb->link_state == LST_CONNECTED) in L2CA_ErtmConnectReq()
315 else if (p_lcb->link_state == LST_DISCONNECTING) in L2CA_ErtmConnectReq()
632 if (p_lcb->link_state == LST_DISCONNECTING) in L2CA_Ping()
641 if (p_lcb->link_state == LST_CONNECTED) in L2CA_Ping()
688 if (p_lcb->link_state != LST_CONNECTED) in L2CA_Echo()
745 if ((p_lcb) && (p_lcb->in_use) && (p_lcb->link_state == LST_CONNECTED)) in L2CA_SetIdleTimeout()
780 if ((p_lcb) && (p_lcb->in_use) && (p_lcb->link_state == LST_CONNECTED)) in L2CA_SetIdleTimeoutByBdAddr()
792 if ((p_lcb->in_use) && (p_lcb->link_state == LST_CONNECTED)) in L2CA_SetIdleTimeoutByBdAddr()
898 p_lcb->link_state = LST_CONNECTED; in L2CA_LocalLoopbackReq()
[all …]
Dl2c_ble.c241 if (p_lcb != NULL && p_acl != NULL && p_lcb->link_state != LST_CONNECTED) in l2cble_notify_le_connection()
246 p_lcb->link_state = LST_CONNECTED; in l2cble_notify_le_connection()
295 else if (p_lcb->link_state != LST_CONNECTING) in l2cble_scanner_conn_comp()
297 L2CAP_TRACE_ERROR ("L2CAP got BLE scanner conn_comp in bad state: %d", p_lcb->link_state); in l2cble_scanner_conn_comp()
421 p_lcb->link_state = LST_CONNECTED; in l2cble_advertiser_conn_comp()
736 p_lcb->link_state = LST_CONNECTING; in l2cble_init_direct_conn()
917 if ( (p_lcb->link_state == LST_CONNECTED) in l2c_ble_link_adjust_allocation()
Dl2c_utils.c65 p_lcb->link_state = LST_DISCONNECTED; in l2cu_allocate_lcb()
206 if ((p_lcb->link_state == LST_CONNECTED) || (p_lcb->link_state == LST_DISCONNECTING)) in l2cu_release_lcb()
1630 …if ( (p_lcb->link_state == LST_CONNECTED) || (p_lcb->link_state == LST_CONNECTING) || (p_lcb->link… in l2cu_start_post_bond_timer()
1636 p_lcb->link_state = LST_DISCONNECTING; in l2cu_start_post_bond_timer()
1728 if ((p_lcb) && p_lcb->in_use && (p_lcb->link_state == LST_CONNECTED)) in l2cu_release_ccb()
2269 p_lcb->link_state = LST_CONNECTING_WAIT_SWITCH; in l2cu_create_conn()
2281 p_lcb->link_state = LST_CONNECTING; in l2cu_create_conn()
2348 p_lcb->link_state = LST_CONNECTING; in l2cu_create_conn_after_switch()
2423 if ((p_lcb->in_use) && (p_lcb->link_state == state)) in l2cu_find_lcb_by_state()
2460 if ((!p_lcb->ccb_queue.p_first_ccb) || (p_lcb->link_state == LST_DISCONNECTING)) in l2cu_lcb_disconnecting()
[all …]
Dl2c_ucd.c364 if ((p_lcb)&&(p_lcb->link_state == LST_CONNECTED)) in L2CA_UcdDiscover()
621 if (p_lcb->link_state == LST_CONNECTED) in l2c_ucd_connect()
Dl2c_int.h384 tL2C_LINK_STATE link_state; member
Dl2c_main.c272 (p_lcb->link_state != LST_DISCONNECTING) && in l2c_rcv_acl_data()
/external/libnfc-nci/src/nfc/llcp/
Dllcp_link.c190 llcp_cb.lcb.link_state = LLCP_LINK_STATE_ACTIVATION_FAILED; in llcp_link_activate()
220 llcp_cb.lcb.link_state = LLCP_LINK_STATE_ACTIVATION_FAILED; in llcp_link_activate()
276 llcp_cb.lcb.link_state = LLCP_LINK_STATE_ACTIVATED; in llcp_link_activate()
307 llcp_cb.lcb.link_state = LLCP_LINK_STATE_DEACTIVATED; in llcp_deactivate_cleanup()
329 if (llcp_cb.lcb.link_state == LLCP_LINK_STATE_ACTIVATED) in llcp_link_process_link_timeout()
352 else if (llcp_cb.lcb.link_state == LLCP_LINK_STATE_DEACTIVATING) in llcp_link_process_link_timeout()
429 llcp_cb.lcb.link_state = LLCP_LINK_STATE_DEACTIVATING; in llcp_link_deactivate()
925 if (llcp_cb.lcb.link_state == LLCP_LINK_STATE_ACTIVATED) in llcp_link_check_send_data()
952 if (llcp_cb.lcb.link_state == LLCP_LINK_STATE_DEACTIVATING) in llcp_link_check_send_data()
1331 if ( (llcp_cb.lcb.link_state == LLCP_LINK_STATE_DEACTIVATING) in llcp_link_proc_rx_data()
[all …]
Dllcp_api.c297 LLCP_TRACE_API1 ("LLCP_ActivateLink () link_state = %d", llcp_cb.lcb.link_state); in LLCP_ActivateLink()
299 if ( (llcp_cb.lcb.link_state == LLCP_LINK_STATE_DEACTIVATED) in LLCP_ActivateLink()
323 LLCP_TRACE_API1 ("LLCP_DeactivateLink () link_state = %d", llcp_cb.lcb.link_state); in LLCP_DeactivateLink()
325 if (llcp_cb.lcb.link_state != LLCP_LINK_STATE_DEACTIVATED) in LLCP_DeactivateLink()
641 if ( (llcp_cb.lcb.link_state != LLCP_LINK_STATE_ACTIVATED) in LLCP_IsLogicalLinkCongested()
693 else if (llcp_cb.lcb.link_state != LLCP_LINK_STATE_ACTIVATED) in LLCP_SendUI()
1504 … (llcp_cb.lcb.link_state == LLCP_LINK_STATE_ACTIVATED) ? llcp_cb.lcb.peer_wks :0); in LLCP_GetRemoteWKS()
1506 if (llcp_cb.lcb.link_state == LLCP_LINK_STATE_ACTIVATED) in LLCP_GetRemoteWKS()
1525 (llcp_cb.lcb.link_state == LLCP_LINK_STATE_ACTIVATED) in LLCP_GetRemoteLSC()
1528 if (llcp_cb.lcb.link_state == LLCP_LINK_STATE_ACTIVATED) in LLCP_GetRemoteLSC()
[all …]
/external/libnfc-nci/src/nfc/int/
Dllcp_int.h60 tLLCP_LINK_STATE link_state; /* llcp link state */ member
/external/kernel-headers/original/uapi/linux/
Dif_link.h439 __u32 link_state; member
/external/libsepol/src/
Dlink.c54 typedef struct link_state { struct