| /linux-6.15/net/bluetooth/ |
| H A D | hci_core.c | 1324 key->bdaddr_type = addr_type; in hci_add_ltk() 1380 if (bacmp(bdaddr, &k->bdaddr) || k->bdaddr_type != bdaddr_type) in hci_remove_ltk() 1493 if (data->bdaddr_type != bdaddr_type) in hci_find_remote_oob_data() 1502 u8 bdaddr_type) in hci_remove_remote_oob_data() argument 1541 data->bdaddr_type = bdaddr_type; in hci_add_remote_oob_data() 2086 entry->bdaddr_type = type; in hci_bdaddr_list_add() 2109 entry->bdaddr_type = type; in hci_bdaddr_list_add_with_irk() 2138 entry->bdaddr_type = type; in hci_bdaddr_list_add_with_flags() 2350 u8 *bdaddr_type) in hci_copy_identity_address() argument 2357 *bdaddr_type = ADDR_LE_DEV_RANDOM; in hci_copy_identity_address() [all …]
|
| H A D | hci_event.c | 1722 d->last_adv_addr_type = bdaddr_type; in store_pending_adv_report() 1890 sent->bdaddr_type); in hci_cc_le_add_to_accept_list() 1913 sent->bdaddr_type); in hci_cc_le_del_from_accept_list() 2012 sent->bdaddr_type); in hci_cc_le_del_from_resolv_list() 5589 conn->dst_type = bdaddr_type; in le_conn_update_addr() 5670 conn->dst_type = bdaddr_type; in le_conn_complete_evt() 6106 bdaddr_type = irk->addr_type; in process_adv_report() 6109 bdaddr_type = ev_bdaddr_type(hdev, bdaddr_type, &bdaddr_resolved); in process_adv_report() 6148 bdaddr, bdaddr_type) && in process_adv_report() 6264 info->bdaddr_type, NULL, 0, in hci_le_adv_report_evt() [all …]
|
| H A D | hci_debugfs.c | 130 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 <k->bdaddr, ltk->bdaddr_type, ltk->authenticated, in long_term_keys_show()
|
| H A D | hci_sync.c | 2238 bdaddr_type); in hci_le_del_resolve_list_sync() 2242 cp.bdaddr_type = bdaddr_type; in hci_le_del_resolve_list_sync() 2259 cp.bdaddr_type = bdaddr_type; in hci_le_del_accept_list_sync() 2275 cp.bdaddr_type); in hci_le_del_accept_list_sync() 2325 cp.bdaddr_type = params->addr_type; in hci_le_add_resolve_list_sync() 2379 cp.bdaddr_type = irk->addr_type; in hci_le_set_privacy_mode_sync() 2435 cp.bdaddr_type = params->addr_type; in hci_le_add_accept_list_sync() 2448 cp.bdaddr_type); in hci_le_add_accept_list_sync() 2732 b->bdaddr_type); in hci_update_accept_list_sync() 2735 b->bdaddr_type); in hci_update_accept_list_sync() [all …]
|
| H A D | smp.c | 674 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 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 | 5009 bdaddr_t *bdaddr, u8 bdaddr_type, in device_flags_changed() argument 5015 ev.addr.type = bdaddr_type; in device_flags_changed() 7755 device_removed(sk, hdev, &b->bdaddr, b->bdaddr_type); in remove_device() 9519 if (key->bdaddr_type == ADDR_LE_DEV_RANDOM && in mgmt_new_ltk() 9526 ev.key.addr.type = link_to_bdaddr(LE_LINK, key->bdaddr_type); in mgmt_new_ltk() 9577 if (csrk->bdaddr_type == ADDR_LE_DEV_RANDOM && in mgmt_new_csrk() 9592 u8 bdaddr_type, u8 store_hint, u16 min_interval, in mgmt_new_conn_param() argument 9597 if (!hci_is_identity_address(bdaddr, bdaddr_type)) in mgmt_new_conn_param() 9602 ev.addr.type = link_to_bdaddr(LE_LINK, bdaddr_type); in mgmt_new_conn_param() 9725 u8 bdaddr_type = link_to_bdaddr(link_type, addr_type); in mgmt_disconnect_failed() local [all …]
|
| H A D | iso.c | 324 static inline u8 le_addr_type(u8 bdaddr_type) in le_addr_type() argument 326 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() 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-6.15/include/net/bluetooth/ |
| H A D | hci.h | 1730 __u8 bdaddr_type; member 1736 __u8 bdaddr_type; member 1832 __u8 bdaddr_type; member 1840 __u8 bdaddr_type; member 2059 __u8 bdaddr_type; member 2602 __u8 bdaddr_type; member 2643 __u8 bdaddr_type; member 2698 __u8 bdaddr_type; member 2721 __u8 bdaddr_type; member 2745 __u8 bdaddr_type; member [all …]
|
| H A D | hci_core.h | 136 u8 bdaddr_type; member 153 u8 bdaddr_type; member 169 u8 bdaddr_type; member 189 u8 bdaddr_type; member 198 u8 bdaddr_type; member 228 u8 bdaddr_type; member 1829 bdaddr_t *bdaddr, u8 bdaddr_type); 1831 u8 bdaddr_type, u8 *hash192, u8 *rand192, 1834 u8 bdaddr_type); 2397 u8 bdaddr_type, u8 store_hint, u16 min_interval, [all …]
|