Lines Matching refs:handle
21 * This file contains functions that handle ACL connections. This includes
42 static void btm_read_remote_features (UINT16 handle);
43 static void btm_read_remote_ext_features (UINT16 handle, UINT8 page_number);
780 void btm_acl_link_key_change (UINT16 handle, UINT8 status)
786 /* Look up the connection by handle and set the current mode */
787 xx = btm_handle_to_acl_index(handle);
832 BTM_TRACE_ERROR2("Change Link Key Complete Event: Handle 0x%02x, HCI Status 0x%02x",
833 handle, p_data->hci_status);
848 void btm_acl_encrypt_change (UINT16 handle, UINT8 status, UINT8 encr_enable)
857 BTM_TRACE_DEBUG3 ("btm_acl_encrypt_change handle=%d status=%d encr_enabl=%d",
858 handle, status, encr_enable);
859 xx = btm_handle_to_acl_index(handle);
1125 UINT16 handle;
1142 STREAM_TO_UINT16 (handle, p);
1149 if ((p_acl_cb->in_use) && (handle == p_acl_cb->hci_handle))
1178 UINT16 handle;
1184 STREAM_TO_UINT16 (handle, p);
1186 /* Look up the connection by handle and copy features */
1189 if ((p_acl_cb->in_use) && (p_acl_cb->hci_handle == handle))
1213 UINT16 handle = p_acl_cb->hci_handle;
1214 tBTM_SEC_DEV_REC *p_dev_rec = btm_find_dev_by_handle (handle);
1250 UINT16 handle;
1253 handle = p_acl_cb->hci_handle;
1322 void btm_read_remote_features (UINT16 handle)
1327 BTM_TRACE_DEBUG1("btm_read_remote_features() handle: %d", handle);
1329 if ((acl_idx = btm_handle_to_acl_index(handle)) >= MAX_L2CAP_LINKS)
1331 BTM_TRACE_ERROR1("btm_read_remote_features handle=%d invalid", handle);
1341 btsnd_hcic_rmt_features_req (handle);
1354 void btm_read_remote_ext_features (UINT16 handle, UINT8 page_number)
1356 BTM_TRACE_DEBUG2("btm_read_remote_ext_features() handle: %d page: %d", handle, page_number);
1358 btsnd_hcic_rmt_ext_features(handle, page_number);
1376 UINT16 handle;
1388 STREAM_TO_UINT16 (handle, p);
1390 if ((acl_idx = btm_handle_to_acl_index(handle)) >= MAX_L2CAP_LINKS)
1392 BTM_TRACE_ERROR1("btm_read_remote_features_complete handle=%d invalid", handle);
1409 btm_read_remote_ext_features(handle, HCI_EXT_FEATURES_PAGE_1);
1435 UINT16 handle;
1441 STREAM_TO_UINT16 (handle, p);
1446 if ((acl_idx = btm_handle_to_acl_index(handle)) >= MAX_L2CAP_LINKS)
1448 BTM_TRACE_ERROR1("btm_read_remote_ext_features_complete handle=%d invalid", handle);
1469 btm_read_remote_ext_features (handle, page_num);
1493 void btm_read_remote_ext_features_failed (UINT8 status, UINT16 handle)
1498 BTM_TRACE_WARNING2 ("btm_read_remote_ext_features_failed (status 0x%02x) for handle %d",
1499 status, handle);
1501 if ((acl_idx = btm_handle_to_acl_index(handle)) >= MAX_L2CAP_LINKS)
1503 BTM_TRACE_ERROR1("btm_read_remote_ext_features_failed handle=%d invalid", handle);
1672 void btm_proc_lsto_evt(UINT16 handle, UINT16 timeout)
1679 /* Look up the connection by handle and set the current mode */
1680 xx = btm_handle_to_acl_index(handle);
2071 ** Description This function is called to get the handle for an ACL connection
2074 ** Returns the handle of the connection, or 0xFFFF if none.
2099 ** hci_handle - connection handle associated with the change
2116 /* Look up the connection by handle and set the current mode */
2140 ** Input Parms hci_handle - connection handle associated with the change
2150 /* Look up the connection by handle and set the current mode */
2720 void btm_qos_setup_complete (UINT8 status, UINT16 handle, FLOW_SPEC *p_flow)
2733 qossu.handle = handle;
2912 UINT16 handle;
2931 STREAM_TO_UINT16 (handle, p);
2937 if ((p_acl_cb->in_use) && (handle == p_acl_cb->hci_handle))
2975 UINT16 handle;
2992 STREAM_TO_UINT16 (handle, p);
3001 if ((p_acl_cb->in_use) && (handle == p_acl_cb->hci_handle))
3029 UINT16 handle;
3046 STREAM_TO_UINT16 (handle, p);
3055 if ((p_acl_cb->in_use) && (handle == p_acl_cb->hci_handle))