/linux-4.4.14/net/bluetooth/ |
D | hci_request.c | 158 cp.bdaddr_type = params->addr_type; in add_to_white_list() 182 &b->bdaddr, b->bdaddr_type) && in update_white_list() 184 &b->bdaddr, b->bdaddr_type)) { in update_white_list() 187 cp.bdaddr_type = b->bdaddr_type; in update_white_list() 195 if (hci_find_irk_by_addr(hdev, &b->bdaddr, b->bdaddr_type)) { in update_white_list()
|
D | hci_core.c | 2368 if (addr_type != k->bdaddr_type || bacmp(bdaddr, &k->bdaddr)) in hci_find_ltk() 2492 key->bdaddr_type = addr_type; in hci_add_ltk() 2542 int hci_remove_ltk(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 bdaddr_type) in hci_remove_ltk() argument 2548 if (bacmp(bdaddr, &k->bdaddr) || k->bdaddr_type != bdaddr_type) in hci_remove_ltk() 2602 if (k->bdaddr_type == addr_type && !bacmp(bdaddr, &k->bdaddr)) { in hci_bdaddr_is_paired() 2632 bdaddr_t *bdaddr, u8 bdaddr_type) in hci_find_remote_oob_data() argument 2639 if (data->bdaddr_type != bdaddr_type) in hci_find_remote_oob_data() 2648 u8 bdaddr_type) in hci_remove_remote_oob_data() argument 2652 data = hci_find_remote_oob_data(hdev, bdaddr, bdaddr_type); in hci_remove_remote_oob_data() 2656 BT_DBG("%s removing %pMR (%u)", hdev->name, bdaddr, bdaddr_type); in hci_remove_remote_oob_data() [all …]
|
D | hci_debugfs.c | 149 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in device_list_show() 178 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in blacklist_show() 239 &data->bdaddr, data->bdaddr_type, data->present, in remote_oob_show() 803 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in white_list_show() 858 <k->bdaddr, ltk->bdaddr_type, ltk->authenticated, in long_term_keys_show()
|
D | hci_event.c | 1116 u8 bdaddr_type, s8 rssi, u32 flags, in store_pending_adv_report() argument 1122 d->last_adv_addr_type = bdaddr_type; in store_pending_adv_report() 1240 sent->bdaddr_type); in hci_cc_le_add_to_white_list() 1259 sent->bdaddr_type); in hci_cc_le_del_from_white_list() 4472 conn->dst_type = ev->bdaddr_type; in hci_le_conn_complete_evt() 4483 conn->resp_addr_type = ev->bdaddr_type; in hci_le_conn_complete_evt() 4508 conn->init_addr_type = ev->bdaddr_type; in hci_le_conn_complete_evt() 4720 u8 bdaddr_type, bdaddr_t *direct_addr, in process_adv_report() argument 4777 irk = hci_get_irk(hdev, bdaddr, bdaddr_type); in process_adv_report() 4780 bdaddr_type = irk->addr_type; in process_adv_report() [all …]
|
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 | 687 u8 bdaddr_type; in build_pairing_cmd() local 695 bdaddr_type = BDADDR_LE_PUBLIC; in build_pairing_cmd() 697 bdaddr_type = BDADDR_LE_RANDOM; in build_pairing_cmd() 700 bdaddr_type); in build_pairing_cmd() 1078 smp->csrk->bdaddr_type = hcon->dst_type; in smp_notify_keys() 1084 smp->slave_csrk->bdaddr_type = hcon->dst_type; in smp_notify_keys() 1090 smp->ltk->bdaddr_type = hcon->dst_type; in smp_notify_keys() 1096 smp->slave_ltk->bdaddr_type = hcon->dst_type; in smp_notify_keys() 3180 u8 bdaddr_type; in smp_add_cid() local 3182 hci_copy_identity_address(hdev, &chan->src, &bdaddr_type); in smp_add_cid() [all …]
|
D | mgmt.c | 6395 device_removed(sk, hdev, &b->bdaddr, b->bdaddr_type); in remove_device() 7830 if (key->bdaddr_type == ADDR_LE_DEV_RANDOM && in mgmt_new_ltk() 7837 ev.key.addr.type = link_to_bdaddr(LE_LINK, key->bdaddr_type); in mgmt_new_ltk() 7888 if (csrk->bdaddr_type == ADDR_LE_DEV_RANDOM && in mgmt_new_csrk() 7895 ev.key.addr.type = link_to_bdaddr(LE_LINK, csrk->bdaddr_type); in mgmt_new_csrk() 7903 u8 bdaddr_type, u8 store_hint, u16 min_interval, in mgmt_new_conn_param() argument 7908 if (!hci_is_identity_address(bdaddr, bdaddr_type)) in mgmt_new_conn_param() 7913 ev.addr.type = link_to_bdaddr(LE_LINK, bdaddr_type); in mgmt_new_conn_param() 8038 u8 bdaddr_type = link_to_bdaddr(link_type, addr_type); in mgmt_disconnect_failed() local 8054 if (cp->addr.type != bdaddr_type) in mgmt_disconnect_failed()
|
D | 6lowpan.c | 1023 static inline __u8 bdaddr_type(__u8 type) in bdaddr_type() function
|
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()
|
/linux-4.4.14/include/net/bluetooth/ |
D | hci_core.h | 99 u8 bdaddr_type; member 111 u8 bdaddr_type; member 120 u8 bdaddr_type; member 150 u8 bdaddr_type; member 1058 int hci_remove_ltk(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 bdaddr_type); 1074 bdaddr_t *bdaddr, u8 bdaddr_type); 1076 u8 bdaddr_type, u8 *hash192, u8 *rand192, 1079 u8 bdaddr_type); 1488 u8 bdaddr_type, u8 store_hint, u16 min_interval, 1499 u8 *bdaddr_type);
|
D | hci.h | 1383 __u8 bdaddr_type; member 1389 __u8 bdaddr_type; member 1865 __u8 bdaddr_type; member 1886 __u8 bdaddr_type; member 1936 __u8 bdaddr_type; member
|