| /Linux-v5.15/net/bluetooth/ |
| D | hci_event.c | 1414 u8 bdaddr_type, s8 rssi, u32 flags, in store_pending_adv_report() argument 1423 d->last_adv_addr_type = bdaddr_type; in store_pending_adv_report() 1579 sent->bdaddr_type); in hci_cc_le_add_to_accept_list() 1598 sent->bdaddr_type); in hci_cc_le_del_from_accept_list() 1663 sent->bdaddr_type, sent->peer_irk, in hci_cc_le_add_to_resolv_list() 1683 sent->bdaddr_type); in hci_cc_le_del_from_resolv_list() 5164 u8 bdaddr_type, bdaddr_t *local_rpa) in le_conn_update_addr() argument 5167 conn->dst_type = bdaddr_type; in le_conn_update_addr() 5168 conn->resp_addr_type = bdaddr_type; in le_conn_update_addr() 5203 conn->init_addr_type = bdaddr_type; in le_conn_update_addr() [all …]
|
| D | hci_core.c | 2492 if (addr_type != k->bdaddr_type || bacmp(bdaddr, &k->bdaddr)) in hci_find_ltk() 2646 key->bdaddr_type = addr_type; in hci_add_ltk() 2696 int hci_remove_ltk(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 bdaddr_type) in hci_remove_ltk() argument 2702 if (bacmp(bdaddr, &k->bdaddr) || k->bdaddr_type != bdaddr_type) in hci_remove_ltk() 2756 if (k->bdaddr_type == addr_type && !bacmp(bdaddr, &k->bdaddr)) { in hci_bdaddr_is_paired() 2807 bdaddr_t *bdaddr, u8 bdaddr_type) in hci_find_remote_oob_data() argument 2814 if (data->bdaddr_type != bdaddr_type) in hci_find_remote_oob_data() 2823 u8 bdaddr_type) in hci_remove_remote_oob_data() argument 2827 data = hci_find_remote_oob_data(hdev, bdaddr, bdaddr_type); in hci_remove_remote_oob_data() 2831 BT_DBG("%s removing %pMR (%u)", hdev->name, bdaddr, bdaddr_type); in hci_remove_remote_oob_data() [all …]
|
| D | hci_request.c | 749 u8 bdaddr_type) in del_from_accept_list() argument 753 cp.bdaddr_type = bdaddr_type; in del_from_accept_list() 757 cp.bdaddr_type); in del_from_accept_list() 764 irk = hci_find_irk_by_addr(req->hdev, bdaddr, bdaddr_type); in del_from_accept_list() 768 cp.bdaddr_type = bdaddr_type; in del_from_accept_list() 807 cp.bdaddr_type = params->addr_type; in add_to_accept_list() 811 cp.bdaddr_type); in add_to_accept_list() 823 cp.bdaddr_type = params->addr_type; in add_to_accept_list() 867 b->bdaddr_type); in update_accept_list() 870 b->bdaddr_type); in update_accept_list() [all …]
|
| D | hci_debugfs.c | 129 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in device_list_show() 148 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in blacklist_show() 204 &data->bdaddr, data->bdaddr_type, data->present, in remote_oob_show() 788 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in white_list_show() 803 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in resolv_list_show() 837 <k->bdaddr, ltk->bdaddr_type, ltk->authenticated, in long_term_keys_show()
|
| D | hci_conn.c | 69 u8 bdaddr_type; in hci_connect_le_scan_cleanup() local 72 bdaddr_type = conn->dst_type; in hci_connect_le_scan_cleanup() 75 irk = hci_get_irk(hdev, bdaddr, bdaddr_type); in hci_connect_le_scan_cleanup() 78 bdaddr_type = irk->addr_type; in hci_connect_le_scan_cleanup() 82 bdaddr_type); in hci_connect_le_scan_cleanup() 97 hci_conn_params_del(hdev, bdaddr, bdaddr_type); in hci_connect_le_scan_cleanup()
|
| D | smp.c | 673 u8 bdaddr_type; in build_pairing_cmd() local 681 bdaddr_type = BDADDR_LE_PUBLIC; in build_pairing_cmd() 683 bdaddr_type = BDADDR_LE_RANDOM; in build_pairing_cmd() 686 bdaddr_type); in build_pairing_cmd() 1075 smp->csrk->bdaddr_type = hcon->dst_type; in smp_notify_keys() 1081 smp->responder_csrk->bdaddr_type = hcon->dst_type; in smp_notify_keys() 1087 smp->ltk->bdaddr_type = hcon->dst_type; in smp_notify_keys() 1093 smp->responder_ltk->bdaddr_type = hcon->dst_type; in smp_notify_keys() 3331 u8 bdaddr_type; in smp_add_cid() local 3333 hci_copy_identity_address(hdev, &chan->src, &bdaddr_type); in smp_add_cid() [all …]
|
| D | mgmt.c | 4099 bdaddr_t *bdaddr, u8 bdaddr_type, in device_flags_changed() argument 4105 ev.addr.type = bdaddr_type; in device_flags_changed() 6909 device_removed(sk, hdev, &b->bdaddr, b->bdaddr_type); in remove_device() 8684 if (key->bdaddr_type == ADDR_LE_DEV_RANDOM && in mgmt_new_ltk() 8691 ev.key.addr.type = link_to_bdaddr(LE_LINK, key->bdaddr_type); in mgmt_new_ltk() 8742 if (csrk->bdaddr_type == ADDR_LE_DEV_RANDOM && in mgmt_new_csrk() 8749 ev.key.addr.type = link_to_bdaddr(LE_LINK, csrk->bdaddr_type); in mgmt_new_csrk() 8757 u8 bdaddr_type, u8 store_hint, u16 min_interval, in mgmt_new_conn_param() argument 8762 if (!hci_is_identity_address(bdaddr, bdaddr_type)) in mgmt_new_conn_param() 8767 ev.addr.type = link_to_bdaddr(LE_LINK, bdaddr_type); in mgmt_new_conn_param() [all …]
|
| D | l2cap_core.c | 65 static inline u8 bdaddr_type(u8 link_type, u8 bdaddr_type) in bdaddr_type() argument 68 if (bdaddr_type == ADDR_LE_DEV_PUBLIC) in bdaddr_type() 79 return bdaddr_type(hcon->type, hcon->src_type); in bdaddr_src_type() 84 return bdaddr_type(hcon->type, hcon->dst_type); in bdaddr_dst_type()
|
| /Linux-v5.15/include/net/bluetooth/ |
| D | hci_core.h | 131 u8 bdaddr_type; member 137 u8 bdaddr_type; member 145 u8 bdaddr_type; member 175 u8 bdaddr_type; member 184 u8 bdaddr_type; member 214 u8 bdaddr_type; member 1325 int hci_remove_ltk(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 bdaddr_type); 1343 bdaddr_t *bdaddr, u8 bdaddr_type); 1345 u8 bdaddr_type, u8 *hash192, u8 *rand192, 1348 u8 bdaddr_type); [all …]
|
| D | hci.h | 1538 __u8 bdaddr_type; member 1544 __u8 bdaddr_type; member 1640 __u8 bdaddr_type; member 1648 __u8 bdaddr_type; member 2272 __u8 bdaddr_type; member 2312 __u8 bdaddr_type; member 2362 __u8 bdaddr_type; member 2380 __u8 bdaddr_type; member 2399 __u8 bdaddr_type; member
|