Lines Matching refs:hci_handle

738       (p_dev_rec->hci_handle == BTM_SEC_INVALID_HANDLE) &&  in BTM_PINCodeReply()
835 if (((p_dev_rec->hci_handle != BTM_SEC_INVALID_HANDLE) && in btm_sec_bond_by_transport()
907 p_dev_rec->sm4, p_dev_rec->hci_handle); in btm_sec_bond_by_transport()
914 if (p && p->hci_handle != BTM_SEC_INVALID_HANDLE) { in btm_sec_bond_by_transport()
1041 BTM_TRACE_DEBUG("hci_handle:0x%x sec_state:%d", p_dev_rec->hci_handle, in BTM_SecBondCancel()
1054 if (p_dev_rec->hci_handle != BTM_SEC_INVALID_HANDLE) { in BTM_SecBondCancel()
1063 p_dev_rec->hci_handle); in BTM_SecBondCancel()
1151 p_dev_rec->hci_handle == BTM_SEC_INVALID_HANDLE) || in BTM_SetEncryption()
1197 p_dev_rec->hci_handle, p_dev_rec->sec_state, p_dev_rec->sec_flags, in BTM_SetEncryption()
1243 if (conn_handle == p_dev_rec->hci_handle) return status; in btm_sec_send_hci_disconnect()
1258 p_dev_rec->sec_state = (conn_handle == p_dev_rec->hci_handle) in btm_sec_send_hci_disconnect()
1268 p_dev_rec->hci_handle == conn_handle) { in btm_sec_send_hci_disconnect()
1363 if (p_dev_rec->hci_handle != BTM_SEC_INVALID_HANDLE) in BTM_PasskeyReqReply()
1365 p_dev_rec->hci_handle); in BTM_PasskeyReqReply()
1695 p_dev_rec->hci_handle = handle; in btm_sec_l2cap_access_req()
2778 if (p_dev_rec->hci_handle == BTM_SEC_INVALID_HANDLE) return; in btm_sec_rmt_name_request_complete()
2800 l2cu_start_post_bond_timer(p_dev_rec->hci_handle); in btm_sec_rmt_name_request_complete()
3244 btm_sec_disconnect(p_dev_rec->hci_handle, HCI_ERR_AUTH_FAILURE); in btm_proc_sp_req_evt()
3345 p_dev_rec->hci_handle); in btm_simple_pair_complete()
3556 l2cu_start_post_bond_timer(p_dev_rec->hci_handle); in btm_sec_auth_complete()
3617 p_dev_rec->hci_handle); in btm_sec_auth_complete()
3637 l2cu_start_post_bond_timer(p_dev_rec->hci_handle); in btm_sec_auth_complete()
3649 p_dev_rec->hci_handle); in btm_sec_auth_complete()
3704 if (p_dev_rec->hci_handle == handle) { in btm_sec_encrypt_change()
3720 if (p_dev_rec->hci_handle == handle) in btm_sec_encrypt_change()
3751 (p_dev_rec->hci_handle == handle)) { in btm_sec_encrypt_change()
4110 p_dev_rec->hci_handle = handle; in btm_sec_connected()
4224 (handle == p_dev_rec->hci_handle) ? BT_TRANSPORT_BR_EDR : BT_TRANSPORT_LE; in btm_sec_disconnected()
4290 p_dev_rec->hci_handle = BTM_SEC_INVALID_HANDLE; in btm_sec_disconnected()
4578 p_dev_rec->hci_handle); in btm_sec_pairing_timeout()
4792 (p_dev_rec->hci_handle != BTM_SEC_INVALID_HANDLE)) { in btm_sec_execute_procedure()
4810 (p_dev_rec->hci_handle != BTM_SEC_INVALID_HANDLE)) { in btm_sec_execute_procedure()
4851 (p_dev_rec->hci_handle != BTM_SEC_INVALID_HANDLE)) { in btm_sec_execute_procedure()
4930 btsnd_hcic_auth_request(p_dev_rec->hci_handle); in btm_sec_start_authentication()
4941 btsnd_hcic_set_conn_encrypt(p_dev_rec->hci_handle, true); in btm_sec_start_encryption()
4960 (p_dev_rec->hci_handle == BTM_SEC_INVALID_HANDLE)) { in btm_sec_start_authorization()