Lines Matching refs:hci_handle
122 uint8_t btm_handle_to_acl_index(uint16_t hci_handle) { in btm_handle_to_acl_index() argument
127 if ((p->in_use) && (p->hci_handle == hci_handle)) { in btm_handle_to_acl_index()
194 uint16_t hci_handle, uint8_t link_role, in btm_acl_created() argument
201 __func__, bda.ToString().c_str(), hci_handle, link_role, in btm_acl_created()
206 p->hci_handle = hci_handle; in btm_acl_created()
218 p->hci_handle = hci_handle; in btm_acl_created()
244 btsnd_hcic_read_rmt_clk_offset(p->hci_handle); in btm_acl_created()
245 btsnd_hcic_rmt_ver_req(p->hci_handle); in btm_acl_created()
247 p_dev_rec = btm_find_dev_by_handle(hci_handle); in btm_acl_created()
288 btsnd_hcic_ble_read_remote_feat(p->hci_handle); in btm_acl_created()
363 evt_data.discn.handle = p->hci_handle; in btm_acl_removed()
373 p->hci_handle, p->transport, btm_cb.ble_ctr_cb.inq_var.connectable_mode, in btm_acl_removed()
422 BTM_TRACE_DEBUG("hci_handle=%d HCI_ERR_HW_FAILURE ", p->hci_handle); in btm_acl_device_down()
423 l2c_link_hci_disc_comp(p->hci_handle, HCI_ERR_HW_FAILURE); in btm_acl_device_down()
608 btsnd_hcic_set_conn_encrypt(p->hci_handle, false); in BTM_SwitchRole()
710 btsnd_hcic_disconnect(p_dev_rec->hci_handle, HCI_ERR_PEER_USER); in btm_acl_encrypt_change()
766 btsnd_hcic_write_policy_set(p->hci_handle, *settings); in BTM_SetLinkPolicy()
856 if ((p_acl_cb->in_use) && (p_acl_cb->hci_handle == handle)) { in btm_read_remote_version_complete()
863 btm_read_remote_features(p_acl_cb->hci_handle); in btm_read_remote_version_complete()
893 uint16_t handle = p_acl_cb->hci_handle; in btm_process_remote_ext_features()
1207 evt_data.conn.handle = p_acl_cb->hci_handle; in btm_establish_continue()
1273 p->hci_handle, timeout); in BTM_SetLinkSuperTout()
1365 return (p->hci_handle); in BTM_GetHCIConnHandle()
1384 void btm_process_clk_off_comp_evt(uint16_t hci_handle, uint16_t clock_offset) { in btm_process_clk_off_comp_evt() argument
1388 xx = btm_handle_to_acl_index(hci_handle); in btm_process_clk_off_comp_evt()
1493 btm_sco_chk_pend_rolechange(p->hci_handle); in btm_acl_role_changed()
1498 btsnd_hcic_set_conn_encrypt(p->hci_handle, true); in btm_acl_role_changed()
1540 btsnd_hcic_disconnect(p_dev_rec->hci_handle, HCI_ERR_PEER_USER); in btm_acl_role_changed()
1649 btsnd_hcic_change_conn_type(p->hci_handle, temp_pkt_types); in btm_set_packet_types()
1862 btsnd_hcic_read_rssi(p->hci_handle); in BTM_ReadRSSI()
1901 btsnd_hcic_read_failed_contact_counter(p->hci_handle); in BTM_ReadFailedContactCounter()
1941 btsnd_hcic_read_automatic_flush_timeout(p->hci_handle); in BTM_ReadAutomaticFlushTimeout()
1979 btsnd_hcic_read_tx_power(p->hci_handle, BTM_READ_RSSI_TYPE_CUR); in BTM_ReadTxPower()
2037 if ((p_acl_cb->in_use) && (handle == p_acl_cb->hci_handle)) { in btm_read_tx_power_complete()
2108 if ((p_acl_cb->in_use) && (handle == p_acl_cb->hci_handle)) { in btm_read_rssi_complete()
2175 if ((p_acl_cb->in_use) && (handle == p_acl_cb->hci_handle)) { in btm_read_failed_contact_counter_complete()
2242 if ((p_acl_cb->in_use) && (handle == p_acl_cb->hci_handle)) { in btm_read_automatic_flush_timeout_complete()
2306 if ((p_acl_cb->in_use) && (handle == p_acl_cb->hci_handle)) { in btm_read_link_quality_complete()
2330 uint16_t hci_handle = BTM_GetHCIConnHandle(bd_addr, transport); in btm_remove_acl() local
2343 if (hci_handle != 0xFFFF && p_dev_rec && in btm_remove_acl()
2345 btsnd_hcic_disconnect(hci_handle, HCI_ERR_PEER_USER); in btm_remove_acl()
2394 btsnd_hcic_set_conn_encrypt(p->hci_handle, false); in btm_cont_rswitch()