Lines Matching refs:handle
154 BOOLEAN l2c_link_hci_conn_comp (UINT8 status, UINT16 handle, BD_ADDR p_bda)
184 l2c_link_hci_disc_comp (p_lcb->handle, status);
189 /* Save the handle */
190 p_lcb->handle = handle;
203 p_dev_info->sec_bd_name, handle,
206 btm_acl_created (ci.bd_addr, NULL, NULL, handle, p_lcb->link_role, FALSE);
213 if (l2cu_start_post_bond_timer(handle))
243 p_lcb->handle = HCI_INVALID_HANDLE;
357 BOOLEAN l2c_link_hci_disc_comp (UINT16 handle, UINT8 reason)
365 p_lcb = l2cu_find_lcb_by_handle (handle);
463 BOOLEAN l2c_link_hci_qos_violation (UINT16 handle)
469 p_lcb = l2cu_find_lcb_by_handle (handle);
564 rc = btm_sec_disconnect (p_lcb->handle, HCI_ERR_PEER_USER);
588 && (btsnd_hcic_disconnect (p_lcb->handle, HCI_ERR_PEER_USER)))
947 handles[num_found] = p_lcb->handle;
1063 L2CAP_TRACE_DEBUG1 ("LCB(0x%x) is in PM pending state", p_lcb->handle);
1344 p_lcb->handle,
1353 p_lcb->handle,
1376 UINT16 handle;
1384 STREAM_TO_UINT16 (handle, p);
1387 p_lcb = l2cu_find_lcb_by_handle (handle);
1445 p_lcb->handle, p_lcb->sent_not_acked,
1453 p_lcb->handle
1461 L2CAP_TRACE_DEBUG5 ("TotalWin=%d LE_Win: %d, Handle=0x%x, RRCheck=%d, RRUnack=%d",
1464 handle,
1467 L2CAP_TRACE_DEBUG4 ("TotalWin=%d Handle=0x%x RRCheck=%d RRUnack=%d",
1469 handle,
1503 UINT16 handle;
1522 STREAM_TO_UINT16 (handle, p);
1525 pkt_type = HCID_GET_EVENT (handle);
1526 handle = HCID_GET_HANDLE (handle);
1530 /* Find the link that is associated with this handle */
1531 p_lcb = l2cu_find_lcb_by_handle (handle);
1533 /* If no link for this handle, nothing to do. */
1642 /* If link or buffer pointer not set up, let main line handle it */
1677 UINT16 handle;
1680 /* Extract the handle */
1681 STREAM_TO_UINT16 (handle, p);
1682 handle = HCID_GET_HANDLE (handle);
1684 /* Find the LCB based on the handle */
1685 if ((p_lcb = l2cu_find_lcb_by_handle (handle)) == NULL)
1687 L2CAP_TRACE_WARNING1 ("L2CAP - rcvd segment complete, unknown handle: %d", handle);