Home | History | Annotate | Download | only in btm

Lines Matching refs:hci_handle

114 ** Description      This function returns the FIRST acl_db entry for the passed hci_handle.
119 UINT8 btm_handle_to_acl_index (UINT16 hci_handle)
126 if ((p->in_use) && (p->hci_handle == hci_handle))
146 UINT16 hci_handle, UINT8 link_role, UINT8 is_le_link)
153 BTM_TRACE_DEBUG3 ("btm_acl_created hci_handle=%d link_role=%d is_le_link=%d",
154 hci_handle,link_role, is_le_link);
159 p->hci_handle = hci_handle;
176 p->hci_handle = hci_handle;
210 btsnd_hcic_read_rmt_clk_offset (p->hci_handle);
211 btsnd_hcic_rmt_ver_req (p->hci_handle);
213 p_dev_rec = btm_find_dev_by_handle (hci_handle);
256 btsnd_hcic_ble_read_remote_feat(p->hci_handle);
262 btm_read_remote_features (p->hci_handle);
351 BTM_TRACE_DEBUG4 ("acl hci_handle=%d is_le_link=%d connectable_mode=0x%0x link_role=%d",
352 p->hci_handle,
414 BTM_TRACE_DEBUG1 ("hci_handle=%d HCI_ERR_HW_FAILURE ",p->hci_handle );
415 l2c_link_hci_disc_comp (p->hci_handle, HCI_ERR_HW_FAILURE);
604 if (!btsnd_hcic_exit_park_mode (p->hci_handle))
611 if (!btsnd_hcic_exit_sniff_mode (p->hci_handle))
644 if (!btsnd_hcic_set_conn_encrypt (p->hci_handle, FALSE))
719 if (!btsnd_hcic_exit_park_mode (p->hci_handle))
749 if (!btsnd_hcic_set_conn_encrypt (p->hci_handle, FALSE))
759 if (!btsnd_hcic_change_link_key (p->hci_handle))
789 /* don't assume that we can never get a bad hci_handle */
804 if (btsnd_hcic_set_conn_encrypt (p->hci_handle, TRUE))
860 /* don't assume that we can never get a bad hci_handle */
925 btsnd_hcic_disconnect(p_dev_rec->hci_handle, HCI_ERR_PEER_USER);
950 if (!btsnd_hcic_change_link_key (p->hci_handle))
1015 return(btsnd_hcic_write_policy_set (p->hci_handle, *settings) ?
1096 if (!btsnd_hcic_read_policy_set (p->hci_handle))
1149 if ((p_acl_cb->in_use) && (handle == p_acl_cb->hci_handle))
1189 if ((p_acl_cb->in_use) && (p_acl_cb->hci_handle == handle))
1213 UINT16 handle = p_acl_cb->hci_handle;
1253 handle = p_acl_cb->hci_handle;
1635 p->hci_handle, timeout))
1682 /* don't assume that we can never get a bad hci_handle */
1718 if (!btsnd_hcic_hold_mode (p->hci_handle, max_interval, min_interval))
1756 if (!btsnd_hcic_sniff_mode (p->hci_handle, max_period,
1792 if (!btsnd_hcic_exit_sniff_mode (p->hci_handle))
1830 if (!btsnd_hcic_park_mode (p->hci_handle,
1864 if (!btsnd_hcic_exit_park_mode (p->hci_handle))
2084 return(p->hci_handle);
2099 ** hci_handle - connection handle associated with the change
2106 void btm_process_mode_change (UINT8 hci_status, UINT16 hci_handle, UINT8 mode, UINT16 interval)
2117 xx = btm_handle_to_acl_index(hci_handle);
2119 /* don't assume that we can never get a bad hci_handle */
2140 ** Input Parms hci_handle - connection handle associated with the change
2146 void btm_process_clk_off_comp_evt (UINT16 hci_handle, UINT16 clock_offset)
2151 if ((xx = btm_handle_to_acl_index(hci_handle)) < MAX_L2CAP_LINKS)
2211 btm_sco_chk_pend_rolechange (p->hci_handle);
2220 if (btsnd_hcic_set_conn_encrypt (p->hci_handle, TRUE))
2267 btsnd_hcic_disconnect(p_dev_rec->hci_handle, HCI_ERR_PEER_USER);
2438 if (!btsnd_hcic_change_conn_type (p->hci_handle, temp_pkt_types))
2694 if (!btsnd_hcic_qos_setup (p->hci_handle, p_flow->qos_flags, p_flow->service_type,
2781 if (!btsnd_hcic_read_rssi (p->hci_handle))
2825 if (!btsnd_hcic_get_link_quality (p->hci_handle))
2883 ret = btsnd_hcic_read_tx_power (p->hci_handle, BTM_READ_RSSI_TYPE_CUR);
2937 if ((p_acl_cb->in_use) && (handle == p_acl_cb->hci_handle))
3001 if ((p_acl_cb->in_use) && (handle == p_acl_cb->hci_handle))
3055 if ((p_acl_cb->in_use) && (handle == p_acl_cb->hci_handle))
3080 UINT16 hci_handle = BTM_GetHCIConnHandle(bd_addr);
3095 if (hci_handle != 0xFFFF)
3097 if (!btsnd_hcic_disconnect (hci_handle, HCI_ERR_PEER_USER))
3154 if (btsnd_hcic_set_conn_encrypt (p->hci_handle, FALSE))
3189 chlk_ok = btsnd_hcic_change_link_key (p->hci_handle);