/openbmc/linux/net/bluetooth/ |
H A D | hci_request.c | 363 u8 bdaddr_type) in del_from_accept_list() argument 367 cp.bdaddr_type = bdaddr_type; in del_from_accept_list() 371 cp.bdaddr_type); in del_from_accept_list() 377 irk = hci_find_irk_by_addr(req->hdev, bdaddr, bdaddr_type); in del_from_accept_list() 381 cp.bdaddr_type = bdaddr_type; in del_from_accept_list() 420 cp.bdaddr_type = params->addr_type; in add_to_accept_list() 424 cp.bdaddr_type); in add_to_accept_list() 435 cp.bdaddr_type = params->addr_type; in add_to_accept_list() 478 b->bdaddr_type); in update_accept_list() 481 b->bdaddr_type); in update_accept_list() [all …]
|
H A D | hci_core.c | 1163 if (addr_type != k->bdaddr_type || bacmp(bdaddr, &k->bdaddr)) in hci_find_ltk() 1317 key->bdaddr_type = addr_type; in hci_add_ltk() 1367 int hci_remove_ltk(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 bdaddr_type) in hci_remove_ltk() argument 1373 if (bacmp(bdaddr, &k->bdaddr) || k->bdaddr_type != bdaddr_type) in hci_remove_ltk() 1427 if (k->bdaddr_type == addr_type && !bacmp(bdaddr, &k->bdaddr)) { in hci_bdaddr_is_paired() 1479 bdaddr_t *bdaddr, u8 bdaddr_type) in hci_find_remote_oob_data() argument 1486 if (data->bdaddr_type != bdaddr_type) in hci_find_remote_oob_data() 1495 u8 bdaddr_type) in hci_remove_remote_oob_data() argument 1499 data = hci_find_remote_oob_data(hdev, bdaddr, bdaddr_type); in hci_remove_remote_oob_data() 1503 BT_DBG("%s removing %pMR (%u)", hdev->name, bdaddr, bdaddr_type); in hci_remove_remote_oob_data() [all …]
|
H A D | hci_event.c | 1522 params = hci_conn_params_lookup(hdev, &cp->bdaddr, cp->bdaddr_type); in hci_cc_le_set_privacy_mode() 1702 u8 bdaddr_type, s8 rssi, u32 flags, in store_pending_adv_report() argument 1711 d->last_adv_addr_type = bdaddr_type; in store_pending_adv_report() 1879 sent->bdaddr_type); in hci_cc_le_add_to_accept_list() 1902 sent->bdaddr_type); in hci_cc_le_del_from_accept_list() 1977 sent->bdaddr_type, sent->peer_irk, in hci_cc_le_add_to_resolv_list() 2001 sent->bdaddr_type); in hci_cc_le_del_from_resolv_list() 5561 u8 bdaddr_type, bdaddr_t *local_rpa) in le_conn_update_addr() argument 5564 conn->dst_type = bdaddr_type; in le_conn_update_addr() 5565 conn->resp_addr_type = bdaddr_type; in le_conn_update_addr() [all …]
|
H A D | hci_debugfs.c | 131 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in device_list_show() 150 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in blacklist_show() 206 &data->bdaddr, data->bdaddr_type, data->present, in remote_oob_show() 798 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in white_list_show() 813 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in resolv_list_show() 847 <k->bdaddr, ltk->bdaddr_type, ltk->authenticated, in long_term_keys_show()
|
H A D | hci_sync.c | 2288 bdaddr_t *bdaddr, u8 bdaddr_type) in hci_le_del_resolve_list_sync() argument 2298 bdaddr_type); in hci_le_del_resolve_list_sync() 2302 cp.bdaddr_type = bdaddr_type; in hci_le_del_resolve_list_sync() 2310 bdaddr_t *bdaddr, u8 bdaddr_type) in hci_le_del_accept_list_sync() argument 2316 if (!hci_bdaddr_list_lookup(&hdev->le_accept_list, bdaddr, bdaddr_type)) in hci_le_del_accept_list_sync() 2319 cp.bdaddr_type = bdaddr_type; in hci_le_del_accept_list_sync() 2325 hci_le_del_resolve_list_sync(hdev, &cp.bdaddr, cp.bdaddr_type); in hci_le_del_accept_list_sync() 2335 cp.bdaddr_type); in hci_le_del_accept_list_sync() 2368 hci_copy_identity_address(hdev, &cp.bdaddr, &cp.bdaddr_type); in hci_le_add_resolve_list_sync() 2384 cp.bdaddr_type = params->addr_type; in hci_le_add_resolve_list_sync() [all …]
|
H A D | smp.c | 675 u8 bdaddr_type; in build_pairing_cmd() local 683 bdaddr_type = BDADDR_LE_PUBLIC; in build_pairing_cmd() 685 bdaddr_type = BDADDR_LE_RANDOM; in build_pairing_cmd() 688 bdaddr_type); in build_pairing_cmd() 1083 smp->csrk->bdaddr_type = hcon->dst_type; in smp_notify_keys() 1089 smp->responder_csrk->bdaddr_type = hcon->dst_type; in smp_notify_keys() 1095 smp->ltk->bdaddr_type = hcon->dst_type; in smp_notify_keys() 1101 smp->responder_ltk->bdaddr_type = hcon->dst_type; in smp_notify_keys() 3338 u8 bdaddr_type; in smp_add_cid() local 3340 hci_copy_identity_address(hdev, &chan->src, &bdaddr_type); in smp_add_cid() [all …]
|
H A D | hci_conn.c | 77 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 D | mgmt.c | 5068 bdaddr_t *bdaddr, u8 bdaddr_type, in device_flags_changed() argument 5074 ev.addr.type = bdaddr_type; in device_flags_changed() 7851 device_removed(sk, hdev, &b->bdaddr, b->bdaddr_type); in remove_device() 9569 if (key->bdaddr_type == ADDR_LE_DEV_RANDOM && in mgmt_new_ltk() 9576 ev.key.addr.type = link_to_bdaddr(LE_LINK, key->bdaddr_type); in mgmt_new_ltk() 9627 if (csrk->bdaddr_type == ADDR_LE_DEV_RANDOM && in mgmt_new_csrk() 9634 ev.key.addr.type = link_to_bdaddr(LE_LINK, csrk->bdaddr_type); in mgmt_new_csrk() 9642 u8 bdaddr_type, u8 store_hint, u16 min_interval, in mgmt_new_conn_param() argument 9647 if (!hci_is_identity_address(bdaddr, bdaddr_type)) in mgmt_new_conn_param() 9652 ev.addr.type = link_to_bdaddr(LE_LINK, bdaddr_type); in mgmt_new_conn_param() 9769 u8 bdaddr_type = link_to_bdaddr(link_type, addr_type); mgmt_disconnect_failed() local [all...] |
H A D | iso.c | 299 static inline u8 le_addr_type(u8 bdaddr_type) in le_addr_type() argument 301 if (bdaddr_type == BDADDR_LE_PUBLIC) in le_addr_type()
|
H A D | l2cap_core.c | 66 static inline u8 bdaddr_type(u8 link_type, u8 bdaddr_type) in bdaddr_type() function 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()
|
/openbmc/linux/include/net/bluetooth/ |
H A D | hci.h | 1680 __u8 bdaddr_type; member 1686 __u8 bdaddr_type; member 1782 __u8 bdaddr_type; member 1790 __u8 bdaddr_type; member 2006 __u8 bdaddr_type; member 2549 __u8 bdaddr_type; member 2590 __u8 bdaddr_type; member 2645 __u8 bdaddr_type; member 2668 __u8 bdaddr_type; member 2692 __u8 bdaddr_type; member [all …]
|
H A D | hci_core.h | 138 u8 bdaddr_type; member 155 u8 bdaddr_type; member 170 u8 bdaddr_type; member 190 u8 bdaddr_type; member 199 u8 bdaddr_type; member 229 u8 bdaddr_type; member 1725 int hci_remove_ltk(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 bdaddr_type); 1743 bdaddr_t *bdaddr, u8 bdaddr_type); 1745 u8 bdaddr_type, u8 *hash192, u8 *rand192, 1748 u8 bdaddr_type); [all …]
|