Home
last modified time | relevance | path

Searched refs:bdaddr_type (Results 1 – 11 of 11) sorted by relevance

/linux/net/bluetooth/
H A Dhci_core.c1189 if (addr_type != k->bdaddr_type || bacmp(bdaddr, &k->bdaddr)) in hci_find_ltk()
1341 key->bdaddr_type = addr_type; in hci_add_ltk()
1391 int hci_remove_ltk(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 bdaddr_type) in hci_remove_ltk() argument
1397 if (bacmp(bdaddr, &k->bdaddr) || k->bdaddr_type != bdaddr_type) in hci_remove_ltk()
1451 if (k->bdaddr_type == addr_type && !bacmp(bdaddr, &k->bdaddr)) { in hci_bdaddr_is_paired()
1503 bdaddr_t *bdaddr, u8 bdaddr_type) in hci_find_remote_oob_data() argument
1510 if (data->bdaddr_type != bdaddr_type) in hci_find_remote_oob_data()
1519 u8 bdaddr_type) in hci_remove_remote_oob_data() argument
1546 hci_add_remote_oob_data(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 bdaddr_type,u8 * hash192,u8 * rand192,u8 * hash256,u8 * rand256) hci_add_remote_oob_data() argument
2379 hci_copy_identity_address(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 * bdaddr_type) hci_copy_identity_address() argument
[all...]
H A Dhci_event.c1533 params = hci_conn_params_lookup(hdev, &cp->bdaddr, cp->bdaddr_type); in hci_cc_le_set_privacy_mode()
1717 u8 bdaddr_type, s8 rssi, u32 flags, in store_pending_adv_report() argument
1726 d->last_adv_addr_type = bdaddr_type; in store_pending_adv_report()
1894 sent->bdaddr_type); in hci_cc_le_add_to_accept_list()
1917 sent->bdaddr_type); in hci_cc_le_del_from_accept_list()
1992 sent->bdaddr_type, sent->peer_irk, in hci_cc_le_add_to_resolv_list()
2016 sent->bdaddr_type); in hci_cc_le_del_from_resolv_list()
5651 u8 bdaddr_type, bdaddr_t *local_rpa) in le_conn_update_addr()
5654 conn->dst_type = bdaddr_type; in le_conn_update_addr()
5655 conn->resp_addr_type = bdaddr_type; in le_conn_update_addr()
5625 le_conn_update_addr(struct hci_conn * conn,bdaddr_t * bdaddr,u8 bdaddr_type,bdaddr_t * local_rpa) le_conn_update_addr() argument
5678 le_conn_complete_evt(struct hci_dev * hdev,u8 status,bdaddr_t * bdaddr,u8 bdaddr_type,bdaddr_t * local_rpa,u8 role,u16 handle,u16 interval,u16 latency,u16 supervision_timeout) le_conn_complete_evt() argument
6142 process_adv_report(struct hci_dev * hdev,u8 type,bdaddr_t * bdaddr,u8 bdaddr_type,bdaddr_t * direct_addr,u8 direct_addr_type,u8 phy,u8 sec_phy,s8 rssi,u8 * data,u8 len,bool ext_adv,bool ctl_time,u64 instant) process_adv_report() argument
[all...]
H A Dhci_debugfs.c130 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in device_list_show()
149 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in blacklist_show()
205 &data->bdaddr, data->bdaddr_type, data->present, in remote_oob_show()
797 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in white_list_show()
812 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in resolv_list_show()
846 &ltk->bdaddr, ltk->bdaddr_type, ltk->authenticated, in long_term_keys_show()
H A Dhci_sync.c2301 bdaddr_t *bdaddr, u8 bdaddr_type) in hci_le_del_resolve_list_sync() argument
2311 bdaddr_type); in hci_le_del_resolve_list_sync()
2315 cp.bdaddr_type = bdaddr_type; in hci_le_del_resolve_list_sync()
2323 bdaddr_t *bdaddr, u8 bdaddr_type) in hci_le_del_accept_list_sync() argument
2329 if (!hci_bdaddr_list_lookup(&hdev->le_accept_list, bdaddr, bdaddr_type)) in hci_le_del_accept_list_sync()
2332 cp.bdaddr_type = bdaddr_type; in hci_le_del_accept_list_sync()
2338 hci_le_del_resolve_list_sync(hdev, &cp.bdaddr, cp.bdaddr_type); in hci_le_del_accept_list_sync()
2348 cp.bdaddr_type); in hci_le_del_accept_list_sync()
[all...]
H A Dsmp.c674 u8 bdaddr_type; in build_pairing_cmd() local
682 bdaddr_type = BDADDR_LE_PUBLIC; in build_pairing_cmd()
684 bdaddr_type = BDADDR_LE_RANDOM; in build_pairing_cmd()
687 bdaddr_type); in build_pairing_cmd()
1082 smp->csrk->bdaddr_type = hcon->dst_type; in smp_notify_keys()
1088 smp->responder_csrk->bdaddr_type = hcon->dst_type; in smp_notify_keys()
1094 smp->ltk->bdaddr_type = hcon->dst_type; in smp_notify_keys()
1100 smp->responder_ltk->bdaddr_type = hcon->dst_type; in smp_notify_keys()
3337 u8 bdaddr_type; in smp_add_cid() local
3339 hci_copy_identity_address(hdev, &chan->src, &bdaddr_type); in smp_add_cid()
[all …]
H A Dhci_conn.c77 u8 bdaddr_type; in hci_connect_le_scan_cleanup() local
80 bdaddr_type = conn->dst_type; in hci_connect_le_scan_cleanup()
83 irk = hci_get_irk(hdev, bdaddr, bdaddr_type); in hci_connect_le_scan_cleanup()
86 bdaddr_type = irk->addr_type; in hci_connect_le_scan_cleanup()
90 bdaddr_type); in hci_connect_le_scan_cleanup()
123 hci_conn_params_del(hdev, bdaddr, bdaddr_type); in hci_connect_le_scan_cleanup()
H A Dmgmt.c5117 bdaddr_t *bdaddr, u8 bdaddr_type, in device_flags_changed() argument
5123 ev.addr.type = bdaddr_type; in device_flags_changed()
7893 device_removed(sk, hdev, &b->bdaddr, b->bdaddr_type); in remove_device()
9656 if (key->bdaddr_type == ADDR_LE_DEV_RANDOM && in mgmt_new_ltk()
9663 ev.key.addr.type = link_to_bdaddr(LE_LINK, key->bdaddr_type); in mgmt_new_ltk()
9714 if (csrk->bdaddr_type == ADDR_LE_DEV_RANDOM && in mgmt_new_csrk()
9721 ev.key.addr.type = link_to_bdaddr(LE_LINK, csrk->bdaddr_type); in mgmt_new_csrk()
9729 u8 bdaddr_type, u8 store_hint, u16 min_interval, in mgmt_new_conn_param() argument
9734 if (!hci_is_identity_address(bdaddr, bdaddr_type)) in mgmt_new_conn_param()
9739 ev.addr.type = link_to_bdaddr(LE_LINK, bdaddr_type); in mgmt_new_conn_param()
9863 u8 bdaddr_type = link_to_bdaddr(link_type, addr_type); mgmt_disconnect_failed() local
[all...]
H A Diso.c327 static inline u8 le_addr_type(u8 bdaddr_type) in le_addr_type() argument
329 if (bdaddr_type == BDADDR_LE_PUBLIC) in le_addr_type()
H A Dl2cap_core.c66 static inline u8 bdaddr_type(u8 link_type, u8 bdaddr_type) in bdaddr_type() argument
69 if (bdaddr_type == ADDR_LE_DEV_PUBLIC) in bdaddr_type()
80 return bdaddr_type(hcon->type, hcon->src_type); in bdaddr_src_type()
85 return bdaddr_type(hcon->type, hcon->dst_type); in bdaddr_dst_type()
/linux/include/net/bluetooth/
H A Dhci.h1742 __u8 bdaddr_type;
1748 __u8 bdaddr_type;
1844 __u8 bdaddr_type;
1852 __u8 bdaddr_type;
2080 __u8 bdaddr_type;
2872 __u8 bdaddr_type;
2914 __u8 bdaddr_type;
2969 __u8 bdaddr_type;
2992 __u8 bdaddr_type;
3016 __u8 bdaddr_type;
1740 __u8 bdaddr_type; global() member
1746 __u8 bdaddr_type; global() member
1842 __u8 bdaddr_type; global() member
1850 __u8 bdaddr_type; global() member
2069 __u8 bdaddr_type; global() member
2663 __u8 bdaddr_type; global() member
2705 __u8 bdaddr_type; global() member
2760 __u8 bdaddr_type; global() member
2783 __u8 bdaddr_type; global() member
2807 __u8 bdaddr_type; global() member
2819 __u8 bdaddr_type; global() member
2864 __u8 bdaddr_type; global() member
[all...]
H A Dhci_core.h142 u8 bdaddr_type; member
159 u8 bdaddr_type; member
176 u8 bdaddr_type; member
196 u8 bdaddr_type; member
205 u8 bdaddr_type; member
235 u8 bdaddr_type; member
1862 int hci_remove_ltk(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 bdaddr_type);
1880 bdaddr_t *bdaddr, u8 bdaddr_type);
1882 u8 bdaddr_type, u8 *hash192, u8 *rand192,
1885 u8 bdaddr_type);
[all...]