/Zephyr-Core-2.7.6/subsys/bluetooth/controller/ll_sw/ |
D | ull_filter.c | 116 !memcmp(list[i].id_addr.val, addr, BDADDR_SIZE)) 120 static uint32_t fal_add(bt_addr_le_t *id_addr); 121 static uint32_t fal_remove(bt_addr_le_t *id_addr); 242 void ll_rl_id_addr_get(uint8_t rl_idx, uint8_t *id_addr_type, uint8_t *id_addr) in ll_rl_id_addr_get() argument 248 memcpy(id_addr, rl[rl_idx].id_addr.val, BDADDR_SIZE); in ll_rl_id_addr_get() 267 uint8_t ll_rl_add(bt_addr_le_t *id_addr, const uint8_t pirk[IRK_SIZE], in ll_rl_add() argument 276 i = ull_filter_rl_find(id_addr->type, id_addr->a.val, &j); in ll_rl_add() 288 bt_addr_copy(&rl[i].id_addr, &id_addr->a); in ll_rl_add() 289 rl[i].id_addr_type = id_addr->type & 0x1; in ll_rl_add() 315 j = fal_find(id_addr->type, id_addr->a.val, NULL); in ll_rl_add() [all …]
|
D | lll_filter.h | 34 bt_addr_t id_addr; member 46 bt_addr_t id_addr; member 68 extern bool ull_filter_lll_rl_addr_allowed(uint8_t id_addr_type, uint8_t *id_addr, 70 extern bool ull_filter_lll_rl_addr_resolve(uint8_t id_addr_type, uint8_t *id_addr,
|
D | ull_filter.h | 11 uint8_t ull_filter_rl_find(uint8_t id_addr_type, uint8_t const *const id_addr,
|
/Zephyr-Core-2.7.6/subsys/bluetooth/host/ |
D | settings.c | 136 len = read_cb(cb_arg, &bt_dev.id_addr, sizeof(bt_dev.id_addr)); in set() 137 if (len < sizeof(bt_dev.id_addr[0])) { in set() 143 BT_HEXDUMP_DBG(&bt_dev.id_addr, len, in set() 146 (void)memset(bt_dev.id_addr, 0, in set() 147 sizeof(bt_dev.id_addr)); in set() 152 bt_dev.id_count = len / sizeof(bt_dev.id_addr[0]); in set() 155 bt_addr_le_str(&bt_dev.id_addr[i])); in set() 211 err = settings_save_one("bt/id", &bt_dev.id_addr, in save_id() 212 ID_DATA_LEN(bt_dev.id_addr)); in save_id()
|
D | id.c | 515 bt_dev.id_addr[adv->id].type == BT_ADDR_LE_RANDOM) || in bt_id_scan_random_addr_check() 556 bt_dev.id_addr[param->id].type == BT_ADDR_LE_RANDOM) || in bt_id_adv_random_addr_check() 562 bt_dev.id_addr[BT_ID_DEFAULT].type == BT_ADDR_LE_RANDOM) { in bt_id_adv_random_addr_check() 574 } else if (bt_dev.id_addr[param->id].type == in bt_id_adv_random_addr_check() 607 bt_addr_le_copy(&cp.id_addr, addr); in le_set_privacy_mode() 945 memcpy(addrs, bt_dev.id_addr, to_copy * sizeof(bt_addr_le_t)); in bt_id_get() 957 if (!bt_addr_le_cmp(addr, &bt_dev.id_addr[id])) { in id_find() 968 bt_addr_le_copy(&bt_dev.id_addr[id], addr); in id_create() 982 bt_addr_le_copy(&bt_dev.id_addr[id], &new_addr); in id_create() 985 bt_addr_le_copy(addr, &bt_dev.id_addr[id]); in id_create() [all …]
|
D | scan.c | 320 static void check_pending_conn(const bt_addr_le_t *id_addr, in check_pending_conn() argument 335 conn = bt_conn_lookup_state_le(BT_ID_DEFAULT, id_addr, in check_pending_conn() 399 bt_addr_le_t id_addr; in le_adv_recv() local 414 bt_addr_le_copy(&id_addr, addr); in le_adv_recv() 415 id_addr.type -= BT_ADDR_LE_PUBLIC_ID; in le_adv_recv() 417 bt_addr_le_copy(&id_addr, BT_ADDR_LE_ANY); in le_adv_recv() 419 bt_addr_le_copy(&id_addr, in le_adv_recv() 423 info->addr = &id_addr; in le_adv_recv() 429 scan_dev_found_cb(&id_addr, info->rssi, info->adv_type, in le_adv_recv() 447 check_pending_conn(&id_addr, addr, info->adv_props); in le_adv_recv()
|
D | adv.c | 287 !bt_addr_le_cmp(&bt_dev.id_addr[param->id], BT_ADDR_LE_ANY)) { in valid_adv_ext_param() 1821 &bt_dev.id_addr[conn->id]); in bt_hci_le_adv_set_terminated() 1874 bt_addr_le_t id_addr; in bt_hci_le_scan_req_received() local 1878 bt_addr_le_copy(&id_addr, &evt->addr); in bt_hci_le_scan_req_received() 1879 id_addr.type -= BT_ADDR_LE_PUBLIC_ID; in bt_hci_le_scan_req_received() 1881 bt_addr_le_copy(&id_addr, in bt_hci_le_scan_req_received() 1885 info.addr = &id_addr; in bt_hci_le_scan_req_received()
|
D | hci_core.h | 257 bt_addr_le_t id_addr[CONFIG_BT_ID_MAX]; member
|
D | hci_core.c | 1105 bt_addr_le_t peer_addr, id_addr; in bt_hci_le_enh_conn_complete() local 1139 bt_addr_le_copy(&id_addr, &evt->peer_addr); in bt_hci_le_enh_conn_complete() 1140 id_addr.type -= BT_ADDR_LE_PUBLIC_ID; in bt_hci_le_enh_conn_complete() 1148 bt_addr_le_copy(&id_addr, in bt_hci_le_enh_conn_complete() 1153 conn = find_pending_connect(evt->role, &id_addr); in bt_hci_le_enh_conn_complete() 1183 bt_addr_le_copy(&conn->le.dst, &id_addr); in bt_hci_le_enh_conn_complete() 1227 &bt_dev.id_addr[conn->id]); in bt_hci_le_enh_conn_complete() 1272 &bt_dev.id_addr[conn->id]); in bt_hci_le_enh_conn_complete() 3094 bt_addr_le_str(&bt_dev.id_addr[0])); in bt_dev_show_info() 3108 i, bt_addr_le_str(&bt_dev.id_addr[i])); in bt_dev_show_info()
|
D | conn.c | 2283 info->le.src = &bt_dev.id_addr[conn->id]; in bt_conn_get_info() 2310 info->le.src = &bt_dev.id_addr[conn->iso.acl->id]; in bt_conn_get_info()
|
D | smp.c | 1239 bt_addr_le_copy(&id_addr_info->addr, &bt_dev.id_addr[conn->id]); in smp_br_distribute_keys() 2206 bt_addr_le_copy(&id_addr_info->addr, &bt_dev.id_addr[conn->id]); in bt_smp_distribute_keys()
|
/Zephyr-Core-2.7.6/subsys/bluetooth/controller/include/ |
D | ll.h | 222 void ll_rl_id_addr_get(uint8_t rl_idx, uint8_t *id_addr_type, uint8_t *id_addr); 225 uint8_t ll_rl_add(bt_addr_le_t *id_addr, const uint8_t pirk[16], 227 uint8_t ll_rl_remove(bt_addr_le_t *id_addr); 228 void ll_rl_crpa_set(uint8_t id_addr_type, uint8_t *id_addr, uint8_t rl_idx, uint8_t *crpa); 229 uint8_t ll_rl_crpa_get(bt_addr_le_t *id_addr, bt_addr_t *crpa); 230 uint8_t ll_rl_lrpa_get(bt_addr_le_t *id_addr, bt_addr_t *lrpa); 233 uint8_t ll_priv_mode_set(bt_addr_le_t *id_addr, uint8_t mode);
|
/Zephyr-Core-2.7.6/include/bluetooth/ |
D | hci.h | 1508 bt_addr_le_t id_addr; member
|
/Zephyr-Core-2.7.6/subsys/bluetooth/controller/hci/ |
D | hci.c | 2552 status = ll_priv_mode_set(&cmd->id_addr, cmd->mode); in le_set_privacy_mode()
|