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.c1152 if (addr_type != k->bdaddr_type || bacmp(bdaddr, &k->bdaddr)) in hci_find_ltk()
1304 key->bdaddr_type = addr_type; in hci_add_ltk()
1354 int hci_remove_ltk(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 bdaddr_type) in hci_remove_ltk() argument
1360 if (bacmp(bdaddr, &k->bdaddr) || k->bdaddr_type != bdaddr_type) in hci_remove_ltk()
1414 if (k->bdaddr_type == addr_type && !bacmp(bdaddr, &k->bdaddr)) { in hci_bdaddr_is_paired()
1466 bdaddr_t *bdaddr, u8 bdaddr_type) in hci_find_remote_oob_data() argument
1473 if (data->bdaddr_type != bdaddr_type) in hci_find_remote_oob_data()
1482 u8 bdaddr_type) in hci_remove_remote_oob_data() argument
1509 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
2342 hci_copy_identity_address(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 * bdaddr_type) hci_copy_identity_address() argument
[all...]
H A Dhci_event.c1572 params = hci_conn_params_lookup(hdev, &cp->bdaddr, cp->bdaddr_type); in hci_cc_le_set_privacy_mode()
1756 u8 bdaddr_type, s8 rssi, u32 flags, in store_pending_adv_report() argument
1765 d->last_adv_addr_type = bdaddr_type; in store_pending_adv_report()
1940 sent->bdaddr_type); in hci_cc_le_add_to_accept_list()
1963 sent->bdaddr_type); in hci_cc_le_del_from_accept_list()
2038 sent->bdaddr_type, sent->peer_irk, in hci_cc_le_add_to_resolv_list()
2062 sent->bdaddr_type); in hci_cc_le_del_from_resolv_list()
5699 u8 bdaddr_type, bdaddr_t *local_rpa) in le_conn_update_addr() argument
5702 conn->dst_type = bdaddr_type; in le_conn_update_addr()
5703 conn->resp_addr_type = bdaddr_type; in le_conn_update_addr()
[all …]
H A Dhci_debugfs.c127 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in device_list_show()
146 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in blacklist_show()
202 &data->bdaddr, data->bdaddr_type, data->present, in remote_oob_show()
794 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in white_list_show()
809 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in resolv_list_show()
843 &ltk->bdaddr, ltk->bdaddr_type, ltk->authenticated, in long_term_keys_show()
H A Dhci_sync.c2413 bdaddr_t *bdaddr, u8 bdaddr_type) in hci_le_del_resolve_list_sync()
2423 bdaddr_type); in hci_le_del_resolve_list_sync()
2427 cp.bdaddr_type = bdaddr_type; in hci_le_del_accept_list_sync() argument
2435 bdaddr_t *bdaddr, u8 bdaddr_type) in hci_le_del_accept_list_sync()
2441 if (!hci_bdaddr_list_lookup(&hdev->le_accept_list, bdaddr, bdaddr_type)) in hci_le_del_accept_list_sync()
2444 cp.bdaddr_type = bdaddr_type; in hci_le_del_accept_list_sync()
2450 hci_le_del_resolve_list_sync(hdev, &cp.bdaddr, cp.bdaddr_type); in hci_le_del_accept_list_sync()
2460 cp.bdaddr_type);
2405 hci_le_del_resolve_list_sync(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 bdaddr_type) hci_le_del_resolve_list_sync() argument
[all...]
H A Dsmp.c653 u8 bdaddr_type; in build_pairing_cmd() local
661 bdaddr_type = BDADDR_LE_PUBLIC; in build_pairing_cmd()
663 bdaddr_type = BDADDR_LE_RANDOM; in build_pairing_cmd()
667 bdaddr_type); in build_pairing_cmd()
1059 smp->csrk->bdaddr_type = hcon->dst_type; in smp_notify_keys()
1065 smp->responder_csrk->bdaddr_type = hcon->dst_type; in smp_notify_keys()
1071 smp->ltk->bdaddr_type = hcon->dst_type; in smp_notify_keys()
1077 smp->responder_ltk->bdaddr_type = hcon->dst_type; in smp_notify_keys()
3304 u8 bdaddr_type; in smp_add_cid()
3306 hci_copy_identity_address(hdev, &chan->src, &bdaddr_type); in smp_add_cid()
3302 u8 bdaddr_type; smp_add_cid() local
[all...]
H A Dhci_conn.c74 u8 bdaddr_type; in hci_connect_le_scan_cleanup() local
77 bdaddr_type = conn->dst_type; in hci_connect_le_scan_cleanup()
80 irk = hci_get_irk(hdev, bdaddr, bdaddr_type); in hci_connect_le_scan_cleanup()
83 bdaddr_type = irk->addr_type; in hci_connect_le_scan_cleanup()
87 bdaddr_type); in hci_connect_le_scan_cleanup()
120 hci_conn_params_del(hdev, bdaddr, bdaddr_type); in hci_connect_le_scan_cleanup()
H A Dmgmt.c5213 bdaddr_t *bdaddr, u8 bdaddr_type, in device_flags_changed() argument
5219 ev.addr.type = bdaddr_type; in device_flags_changed()
8019 device_removed(sk, hdev, &b->bdaddr, b->bdaddr_type); in remove_device()
9929 if (key->bdaddr_type == ADDR_LE_DEV_RANDOM && in mgmt_new_ltk()
9936 ev.key.addr.type = link_to_bdaddr(LE_LINK, key->bdaddr_type); in mgmt_new_ltk()
9987 if (csrk->bdaddr_type == ADDR_LE_DEV_RANDOM && in mgmt_new_csrk()
9994 ev.key.addr.type = link_to_bdaddr(LE_LINK, csrk->bdaddr_type); in mgmt_new_csrk()
10002 u8 bdaddr_type, u8 store_hint, u16 min_interval, in mgmt_new_conn_param() argument
10007 if (!hci_is_identity_address(bdaddr, bdaddr_type)) in mgmt_new_conn_param()
10012 ev.addr.type = link_to_bdaddr(LE_LINK, bdaddr_type); in mgmt_new_conn_param()
10152 u8 bdaddr_type = link_to_bdaddr(link_type, addr_type); mgmt_disconnect_failed() local
[all...]
H A Diso.c384 static inline u8 le_addr_type(u8 bdaddr_type) in le_addr_type()
386 if (bdaddr_type == BDADDR_LE_PUBLIC) in le_addr_type()
380 le_addr_type(u8 bdaddr_type) le_addr_type() argument
H A Dl2cap_core.c63 static inline u8 bdaddr_type(u8 link_type, u8 bdaddr_type) in bdaddr_type() argument
66 if (bdaddr_type == ADDR_LE_DEV_PUBLIC) in bdaddr_type()
77 return bdaddr_type(hcon->type, hcon->src_type); in bdaddr_src_type()
82 return bdaddr_type(hcon->type, hcon->dst_type); in bdaddr_dst_type()
/linux/include/net/bluetooth/
H A Dhci.h1749 __u8 bdaddr_type; member
1755 __u8 bdaddr_type; member
1851 __u8 bdaddr_type; member
1859 __u8 bdaddr_type; member
2087 __u8 bdaddr_type; member
2925 __u8 bdaddr_type; member
2967 __u8 bdaddr_type; member
3022 __u8 bdaddr_type; member
3045 __u8 bdaddr_type; member
3069 __u8 bdaddr_type; member
[all …]
H A Dhci_core.h139 u8 bdaddr_type; member
156 u8 bdaddr_type; member
173 u8 bdaddr_type; member
193 u8 bdaddr_type; member
202 u8 bdaddr_type; member
232 u8 bdaddr_type; member
1885 int hci_remove_ltk(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 bdaddr_type);
1903 bdaddr_t *bdaddr, u8 bdaddr_type);
1905 u8 bdaddr_type, u8 *hash192, u8 *rand192,
1908 u8 bdaddr_type);
[all...]