Lines Matching refs:hci_handle
131 UINT8 btm_handle_to_acl_index (UINT16 hci_handle) in btm_handle_to_acl_index() argument
138 if ((p->in_use) && (p->hci_handle == hci_handle)) in btm_handle_to_acl_index()
214 UINT16 hci_handle, UINT8 link_role, tBT_TRANSPORT transport) in btm_acl_created() argument
221 hci_handle,link_role, transport); in btm_acl_created()
226 p->hci_handle = hci_handle; in btm_acl_created()
243 p->hci_handle = hci_handle; in btm_acl_created()
274 btsnd_hcic_read_rmt_clk_offset (p->hci_handle); in btm_acl_created()
275 btsnd_hcic_rmt_ver_req (p->hci_handle); in btm_acl_created()
277 p_dev_rec = btm_find_dev_by_handle (hci_handle); in btm_acl_created()
324 btsnd_hcic_ble_read_remote_feat(p->hci_handle); in btm_acl_created()
334 btm_read_remote_features (p->hci_handle); in btm_acl_created()
407 evt_data.discn.handle = p->hci_handle; in btm_acl_removed()
419 p->hci_handle, in btm_acl_removed()
482 BTM_TRACE_DEBUG ("hci_handle=%d HCI_ERR_HW_FAILURE ",p->hci_handle ); in btm_acl_device_down()
483 l2c_link_hci_disc_comp (p->hci_handle, HCI_ERR_HW_FAILURE); in btm_acl_device_down()
680 if (!btsnd_hcic_set_conn_encrypt (p->hci_handle, FALSE)) in BTM_SwitchRole()
800 btsnd_hcic_disconnect(p_dev_rec->hci_handle, HCI_ERR_PEER_USER); in btm_acl_encrypt_change()
851 …return(btsnd_hcic_write_policy_set (p->hci_handle, *settings) ? BTM_CMD_STARTED : BTM_NO_RESOURCES… in BTM_SetLinkPolicy()
925 if ((p_acl_cb->in_use) && (p_acl_cb->hci_handle == handle)) in btm_read_remote_version_complete()
956 UINT16 handle = p_acl_cb->hci_handle; in btm_process_remote_ext_features()
1241 evt_data.conn.handle = p_acl_cb->hci_handle; in btm_establish_continue()
1313 p->hci_handle, timeout)) in BTM_SetLinkSuperTout()
1412 return(p->hci_handle); in BTM_GetHCIConnHandle()
1431 void btm_process_clk_off_comp_evt (UINT16 hci_handle, UINT16 clock_offset) in btm_process_clk_off_comp_evt() argument
1436 if ((xx = btm_handle_to_acl_index(hci_handle)) < MAX_L2CAP_LINKS) in btm_process_clk_off_comp_evt()
1494 btm_sco_chk_pend_rolechange (p->hci_handle); in btm_acl_role_changed()
1500 if (btsnd_hcic_set_conn_encrypt (p->hci_handle, TRUE)) in btm_acl_role_changed()
1539 btsnd_hcic_disconnect(p_dev_rec->hci_handle, HCI_ERR_PEER_USER); in btm_acl_role_changed()
1655 if (!btsnd_hcic_change_conn_type (p->hci_handle, temp_pkt_types)) in btm_set_packet_types()
1891 if (!btsnd_hcic_qos_setup (p->hci_handle, p_flow->qos_flags, p_flow->service_type, in BTM_SetQoS()
2005 if (!btsnd_hcic_read_rssi (p->hci_handle)) in BTM_ReadRSSI()
2051 if (!btsnd_hcic_get_link_quality (p->hci_handle)) in BTM_ReadLinkQuality()
2110 ret = btsnd_hcic_read_tx_power (p->hci_handle, BTM_READ_RSSI_TYPE_CUR); in BTM_ReadTxPower()
2182 if ((p_acl_cb->in_use) && (handle == p_acl_cb->hci_handle)) in btm_read_tx_power_complete()
2263 if ((p_acl_cb->in_use) && (handle == p_acl_cb->hci_handle)) in btm_read_rssi_complete()
2334 if ((p_acl_cb->in_use) && (handle == p_acl_cb->hci_handle)) in btm_read_link_quality_complete()
2359 UINT16 hci_handle = BTM_GetHCIConnHandle(bd_addr, transport); in btm_remove_acl() local
2374 if (hci_handle != 0xFFFF && p_dev_rec && in btm_remove_acl()
2377 if (!btsnd_hcic_disconnect (hci_handle, HCI_ERR_PEER_USER)) in btm_remove_acl()
2432 if (btsnd_hcic_set_conn_encrypt (p->hci_handle, FALSE)) in btm_cont_rswitch()