Home
last modified time | relevance | path

Searched refs:hci_handle (Results 1 – 8 of 8) sorted by relevance

/system/bt/stack/btm/
Dbtm_acl.c131 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()
[all …]
Dbtm_sco.c353 UINT16_TO_STREAM (p, p_ccb->hci_handle);
684 p->hci_handle = BTM_INVALID_HCI_HANDLE;
741 void btm_sco_chk_pend_unpark (UINT8 hci_status, UINT16 hci_handle)
751 … ((acl_handle = BTM_GetHCIConnHandle (p->esco.data.bd_addr, BT_TRANSPORT_BR_EDR)) == hci_handle))
775 void btm_sco_chk_pend_rolechange (UINT16 hci_handle)
785 … ((acl_handle = BTM_GetHCIConnHandle (p->esco.data.bd_addr, BT_TRANSPORT_BR_EDR)) == hci_handle))
807 void btm_sco_disc_chk_pend_for_modechange (UINT16 hci_handle)
813 hci_handle, p->state);
818 (BTM_GetHCIConnHandle (p->esco.data.bd_addr, BT_TRANSPORT_BR_EDR)) == hci_handle)
821 BTM_TRACE_DEBUG("%s: SCO Link handle 0x%04x", __func__, p->hci_handle);
[all …]
Dbtm_pm.c358 if (btsnd_hcic_sniff_sub_rate(btm_cb.acl_db[acl_ind].hci_handle, max_lat, in BTM_SetSsrParams()
640 btsnd_hcic_sniff_sub_rate(btm_cb.acl_db[link_ind].hci_handle, p_cb->max_lat, in btm_pm_snd_md_req()
663 if (btsnd_hcic_exit_sniff_mode(btm_cb.acl_db[link_ind].hci_handle)) in btm_pm_snd_md_req()
669 if (btsnd_hcic_exit_park_mode(btm_cb.acl_db[link_ind].hci_handle)) in btm_pm_snd_md_req()
681 if (btsnd_hcic_hold_mode (btm_cb.acl_db[link_ind].hci_handle, in btm_pm_snd_md_req()
689 if (btsnd_hcic_sniff_mode (btm_cb.acl_db[link_ind].hci_handle, in btm_pm_snd_md_req()
698 if (btsnd_hcic_park_mode (btm_cb.acl_db[link_ind].hci_handle, in btm_pm_snd_md_req()
813 void btm_pm_proc_mode_change (UINT8 hci_status, UINT16 hci_handle, UINT8 mode, UINT16 interval) in btm_pm_proc_mode_change() argument
822 if ((xx = btm_handle_to_acl_index(hci_handle)) >= MAX_L2CAP_LINKS) in btm_pm_proc_mode_change()
888 btm_sco_disc_chk_pend_for_modechange(hci_handle); in btm_pm_proc_mode_change()
Dbtm_int.h82 UINT16 hci_handle; member
373 UINT16 hci_handle; /* HCI Handle */ member
408 extern void btm_sco_chk_pend_rolechange (UINT16 hci_handle);
409 extern void btm_sco_disc_chk_pend_for_modechange (UINT16 hci_handle);
415 #define btm_sco_chk_pend_rolechange(hci_handle) argument
519 UINT16 hci_handle; /* Handle to connection when exists */ member
950 UINT16 hci_handle, UINT8 link_role, tBT_TRANSPORT transport);
959 extern UINT8 btm_handle_to_acl_index (UINT16 hci_handle);
972 extern void btm_process_clk_off_comp_evt (UINT16 hci_handle, UINT16 clock_offset);
992 extern void btm_pm_proc_mode_change (UINT8 hci_status, UINT16 hci_handle, UINT8 mode,
[all …]
Dbtm_sec.c910 && (p_dev_rec->hci_handle == BTM_SEC_INVALID_HANDLE) in BTM_PINCodeReply()
1000 if ( ((p_dev_rec->hci_handle != BTM_SEC_INVALID_HANDLE) && transport == BT_TRANSPORT_BR_EDR in btm_sec_bond_by_transport()
1080 …EVENT ("BTM_SecBond: Remote sm4: 0x%x HCI Handle: 0x%04x", p_dev_rec->sm4, p_dev_rec->hci_handle); in btm_sec_bond_by_transport()
1087 if (p && p->hci_handle != BTM_SEC_INVALID_HANDLE) in btm_sec_bond_by_transport()
1236 BTM_TRACE_DEBUG ("hci_handle:0x%x sec_state:%d", p_dev_rec->hci_handle, p_dev_rec->sec_state ); in BTM_SecBondCancel()
1250 if (p_dev_rec->hci_handle != BTM_SEC_INVALID_HANDLE) in BTM_SecBondCancel()
1259 … return btm_sec_send_hci_disconnect(p_dev_rec, HCI_ERR_PEER_USER, p_dev_rec->hci_handle); in BTM_SecBondCancel()
1373 (transport == BT_TRANSPORT_BR_EDR && p_dev_rec->hci_handle == BTM_SEC_INVALID_HANDLE) in BTM_SetEncryption()
1422 p_dev_rec->hci_handle, p_dev_rec->sec_state, p_dev_rec->sec_flags, in BTM_SetEncryption()
1470 if (conn_handle == p_dev_rec->hci_handle) in btm_sec_send_hci_disconnect()
[all …]
Dbtm_dev.c84 p_dev_rec->hci_handle = BTM_GetHCIConnHandle (bd_addr, BT_TRANSPORT_BR_EDR); in BTM_SecAddDevice()
282 p_dev_rec->hci_handle = BTM_GetHCIConnHandle (bd_addr, BT_TRANSPORT_BR_EDR); in btm_sec_alloc_dev()
370 if (p_dev_rec->hci_handle == *handle in is_handle_equal()
Dbtm_ble.c88 p_dev_rec->hci_handle = BTM_GetHCIConnHandle(bd_addr, BT_TRANSPORT_BR_EDR); in BTM_SecAddBleDevice()
842 btsnd_hcic_ble_set_data_length(p_acl->hci_handle, tx_pdu_length, in BTM_SetBleDataLength()
Dbtm_ble_gap.c3218 if ((p_acl_cb->in_use) && (p_acl_cb->hci_handle == handle)) in btm_ble_read_remote_features_complete()
3221 btsnd_hcic_rmt_ver_req (p_acl_cb->hci_handle); in btm_ble_read_remote_features_complete()