Home
last modified time | relevance | path

Searched refs:old_addr (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/tests/bsim/bluetooth/host/privacy/peripheral/src/
Dtester_rpa_rotation.c17 bt_addr_le_t old_addr; member
44 if (bt_addr_le_eq(&adv_set_data[0].old_addr, &adv_set_data[1].old_addr)) { in validate_rpa_addr_generated_for_adv_sets()
59 if (bt_addr_le_eq(&adv_set_data[0].old_addr, &adv_set_data[3].old_addr)) { in validate_rpa_addr_generated_for_adv_sets()
62 if (bt_addr_le_eq(&adv_set_data[1].old_addr, &adv_set_data[3].old_addr)) { in validate_rpa_addr_generated_for_adv_sets()
79 if (bt_addr_le_eq(&adv_set_data[adv_index].old_addr, BT_ADDR_LE_ANY)) { in test_address()
80 bt_addr_le_copy(&adv_set_data[adv_index].old_addr, addr); in test_address()
86 if (bt_addr_le_eq(&adv_set_data[adv_index].old_addr, addr)) { in test_address()
91 print_address(&adv_set_data[adv_index].old_addr); in test_address()
105 bt_addr_le_copy(&adv_set_data[adv_index].old_addr, addr); in test_address()
Dtester_rpa_expired.c17 bt_addr_le_t old_addr; member
46 if (bt_addr_le_eq(&adv_set_data[adv_index].old_addr, BT_ADDR_LE_ANY)) { in test_address()
47 bt_addr_le_copy(&adv_set_data[adv_index].old_addr, addr); in test_address()
59 print_address(&adv_set_data[adv_index].old_addr); in test_address()
71 if (!bt_addr_le_eq(addr, &adv_set_data[adv_index].old_addr)) { in test_address()
75 if (bt_addr_le_eq(addr, &adv_set_data[adv_index].old_addr)) { in test_address()
81 if (bt_addr_le_eq(addr, &adv_set_data[adv_index].old_addr)) { in test_address()
85 if (!bt_addr_le_eq(addr, &adv_set_data[adv_index].old_addr)) { in test_address()
97 bt_addr_le_copy(&adv_set_data[adv_index].old_addr, addr); in test_address()
/Zephyr-latest/tests/bsim/bluetooth/host/privacy/legacy/src/
Dtester.c22 bt_addr_le_t old_addr; member
48 if (bt_addr_le_eq(&test_data.old_addr, BT_ADDR_LE_ANY)) { in cb_expect_rpa()
49 bt_addr_le_copy(&test_data.old_addr, addr); in cb_expect_rpa()
55 if (bt_addr_le_eq(&test_data.old_addr, addr)) { in cb_expect_rpa()
60 print_address(&test_data.old_addr); in cb_expect_rpa()
74 bt_addr_le_copy(&test_data.old_addr, addr); in cb_expect_rpa()
/Zephyr-latest/tests/bsim/bluetooth/host/privacy/central/src/
Dtester.c26 static bt_addr_le_t old_addr; in scanned_cb() local
34 old_addr = *info->addr; in scanned_cb()
42 if (bt_addr_le_cmp(&old_addr, &new_addr)) { in scanned_cb()
67 old_addr = new_addr; in scanned_cb()
/Zephyr-latest/subsys/bluetooth/mesh/
Dprovisionee.c482 uint16_t old_addr = bt_mesh_primary_addr(); in refresh_is_valid() local
496 valid_addr = bt_mesh_prov_link.addr < old_addr || in refresh_is_valid()
497 bt_mesh_prov_link.addr >= old_addr + bt_mesh_comp_get()->elem_count; in refresh_is_valid()