/hal_espressif-latest/components/bt/host/bluedroid/stack/btm/ |
D | btm_acl.c | 123 if (p_acl_db->in_use && handle == p_acl_db->hci_handle) { in btm_get_acl_db() 160 tACL_CONN *btm_handle_to_acl (UINT16 hci_handle) in btm_handle_to_acl() argument 166 BTM_TRACE_DEBUG ("btm_handle_to_acl_index: %d\n", hci_handle); in btm_handle_to_acl() 169 acl_params.p_data1 = (void *)&hci_handle; in btm_handle_to_acl() 243 UINT16 hci_handle, UINT8 link_role, tBT_TRANSPORT transport) in btm_acl_created() argument 249 hci_handle, link_role, transport); in btm_acl_created() 253 p->hci_handle = hci_handle; in btm_acl_created() 273 p->hci_handle = hci_handle; in btm_acl_created() 299 BTM_TRACE_DEBUG( "btm_pm_sm_alloc handle:%d st:%d", hci_handle, p->p_pm_mode_db->state); in btm_acl_created() 316 btsnd_hcic_read_rmt_clk_offset (p->hci_handle); in btm_acl_created() [all …]
|
D | btm_sco.c | 523 UINT16_TO_STREAM (p, p_ccb->hci_handle); in BTM_WriteScoData() 527 BTM_TRACE_WARNING ("BTM SCO hdl %x, bad len %u", p_ccb->hci_handle, p_buf->len); in BTM_WriteScoData() 836 p->hci_handle = BTM_INVALID_HCI_HANDLE; in BTM_CreateSco() 889 void btm_sco_chk_pend_unpark (UINT8 hci_status, UINT16 hci_handle) in btm_sco_chk_pend_unpark() argument 898 … ((acl_handle = BTM_GetHCIConnHandle (p->esco.data.bd_addr, BT_TRANSPORT_BR_EDR)) == hci_handle)) in btm_sco_chk_pend_unpark() 923 void btm_sco_chk_pend_rolechange (UINT16 hci_handle) in btm_sco_chk_pend_rolechange() argument 932 … ((acl_handle = BTM_GetHCIConnHandle (p->esco.data.bd_addr, BT_TRANSPORT_BR_EDR)) == hci_handle)) in btm_sco_chk_pend_rolechange() 1041 void btm_sco_connected (UINT8 hci_status, BD_ADDR bda, UINT16 hci_handle, in btm_sco_connected() argument 1052 BTM_TRACE_API("%s, handle %x", __FUNCTION__, hci_handle); in btm_sco_connected() 1065 BTM_TRACE_API("Role Change pending for HCI handle 0x%04x", hci_handle); in btm_sco_connected() [all …]
|
D | btm_pm.c | 232 …BUG( "BTM_SetPowerMode: Saving cmd acl handle %d temp_pm_id %d", p_acl_cb->hci_handle, temp_pm_id); in BTM_SetPowerMode() 248 if (p_acl_cb->hci_handle != btm_cb.pm_pend_link_hdl) { in BTM_SetPowerMode() 251 BTM_TRACE_DEBUG( "btm_pm state stored:%d", p_acl_cb->hci_handle); in BTM_SetPowerMode() 258 return btm_pm_snd_md_req(pm_id, p_acl_cb->hci_handle, p_mode); in BTM_SetPowerMode() 325 if (btsnd_hcic_sniff_sub_rate(p_acl_cb->hci_handle, max_lat, in BTM_SetSsrParams() 678 BTM_TRACE_DEBUG( "btm_pm_check_stored :%d", p_acl_cb->hci_handle); in btm_pm_check_stored() 679 btm_pm_snd_md_req(BTM_PM_SET_ONLY_ID, p_acl_cb->hci_handle, NULL); in btm_pm_check_stored() 756 void btm_pm_proc_mode_change (UINT8 hci_status, UINT16 hci_handle, UINT8 mode, UINT16 interval) in btm_pm_proc_mode_change() argument 765 p = btm_handle_to_acl(hci_handle); in btm_pm_proc_mode_change() 800 btm_pm_snd_md_req(BTM_PM_SET_ONLY_ID, hci_handle, NULL); in btm_pm_proc_mode_change() [all …]
|
D | btm_sec.c | 889 && (p_dev_rec->hci_handle == BTM_SEC_INVALID_HANDLE) in BTM_PINCodeReply() 992 if ( ((p_dev_rec->hci_handle != BTM_SEC_INVALID_HANDLE) && transport == BT_TRANSPORT_BR_EDR in btm_sec_bond_by_transport() 1075 …ENT ("BTM_SecBond: Remote sm4: 0x%x HCI Handle: 0x%04x\n", p_dev_rec->sm4, p_dev_rec->hci_handle); in btm_sec_bond_by_transport() 1082 if (p && p->hci_handle != BTM_SEC_INVALID_HANDLE) { in btm_sec_bond_by_transport() 1229 … BTM_TRACE_DEBUG ("hci_handle:0x%x sec_state:%d\n", p_dev_rec->hci_handle, p_dev_rec->sec_state ); in BTM_SecBondCancel() 1241 if (p_dev_rec->hci_handle != BTM_SEC_INVALID_HANDLE) { in BTM_SecBondCancel() 1250 … return btm_sec_send_hci_disconnect(p_dev_rec, HCI_ERR_PEER_USER, p_dev_rec->hci_handle); in BTM_SecBondCancel() 1362 (transport == BT_TRANSPORT_BR_EDR && p_dev_rec->hci_handle == BTM_SEC_INVALID_HANDLE) in BTM_SetEncryption() 1413 p_dev_rec->hci_handle, p_dev_rec->sec_state, p_dev_rec->sec_flags, in BTM_SetEncryption() 1455 if (conn_handle == p_dev_rec->hci_handle) { in btm_sec_send_hci_disconnect() [all …]
|
D | btm_dev.c | 83 p_dev_rec->hci_handle = BTM_GetHCIConnHandle (bd_addr, BT_TRANSPORT_BR_EDR); in BTM_SecAddDevice() 278 if (p_context->context.handle == p_sec_dev->hci_handle in btm_find_sec_dev_in_list() 415 p_dev_rec->hci_handle = BTM_GetHCIConnHandle (bd_addr, BT_TRANSPORT_BR_EDR); in btm_sec_alloc_dev()
|
D | btm_devctl.c | 824 UINT16 hci_handle; in btm_vendor_specific_evt() local 825 STREAM_TO_UINT16(hci_handle, p_evt); in btm_vendor_specific_evt() 826 btm_sec_handle_remote_legacy_auth_cmp(hci_handle); in btm_vendor_specific_evt()
|
D | btm_ble.c | 98 p_dev_rec->hci_handle = BTM_GetHCIConnHandle (bd_addr, BT_TRANSPORT_BR_EDR); in BTM_SecAddBleDevice() 948 btsnd_hcic_ble_set_data_length(p_acl->hci_handle, tx_pdu_length, in BTM_SetBleDataLength()
|
D | btm_ble_gap.c | 4359 btsnd_hcic_rmt_ver_req (p_acl_cb->hci_handle); in btm_ble_read_remote_features_complete() 4368 … btsnd_hcic_ble_set_data_length(p_acl_cb->hci_handle, data_length, data_txtime); in btm_ble_read_remote_features_complete()
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/btm/include/ |
D | btm_int.h | 114 UINT16 hci_handle; member 451 UINT16 hci_handle; /* HCI Handle */ member 485 void btm_sco_chk_pend_rolechange (UINT16 hci_handle); 490 #define btm_sco_chk_pend_rolechange(hci_handle) argument 599 UINT16 hci_handle; /* Handle to connection when exists */ member 1045 UINT16 hci_handle, UINT8 link_role, tBT_TRANSPORT transport); 1055 tACL_CONN *btm_handle_to_acl (UINT16 hci_handle); 1062 void btm_process_clk_off_comp_evt (UINT16 hci_handle, UINT16 clock_offset); 1084 void btm_pm_proc_mode_change (UINT8 hci_status, UINT16 hci_handle, UINT8 mode, 1088 void btm_sco_chk_pend_unpark (UINT8 hci_status, UINT16 hci_handle); [all …]
|