Searched refs:BT_MESH_KR_PHASE_2 (Results 1 – 9 of 9) sorted by relevance
/Zephyr-Core-3.7.0/subsys/bluetooth/mesh/ |
D | subnet.h | 21 #define BT_MESH_KR_PHASE_2 0x02 macro 25 #define SUBNET_KEY_TX_IDX(sub) ((sub)->kr_phase == BT_MESH_KR_PHASE_2)
|
D | subnet.c | 150 if (sub && (sub->kr_phase == BT_MESH_KR_PHASE_2)) { in bt_mesh_net_flags() 222 case BT_MESH_KR_PHASE_2: in key_refresh() 257 key_refresh(sub, (kr_flag ? BT_MESH_KR_PHASE_2 : in bt_mesh_kr_update() 259 } else if (sub->kr_phase == BT_MESH_KR_PHASE_2 && !kr_flag) { in bt_mesh_kr_update() 449 case BT_MESH_KR_PHASE_2: in bt_mesh_subnet_update() 516 BIT(BT_MESH_KR_PHASE_2) | BIT(BT_MESH_KR_PHASE_3), /* Phase 1 */ in bt_mesh_subnet_kr_phase_set()
|
D | main.c | 98 subnet->kr_phase = BT_MESH_KR_PHASE_2; in bt_mesh_provision()
|
D | app_keys.c | 524 if ((*sub)->kr_phase == BT_MESH_KR_PHASE_2 && app->updated) { in bt_mesh_keys_resolve()
|
D | beacon.c | 671 if (sub->kr_phase == BT_MESH_KR_PHASE_2 && !params->new_key) { in net_beacon_resolve()
|
D | lpn.c | 1064 if (sub->kr_phase == BT_MESH_KR_PHASE_2 && !rx->new_key) { in bt_mesh_lpn_friend_update()
|
D | net.c | 200 err = bt_mesh_subnet_set(idx, BT_MESH_KR_PHASE_2, NULL, key); in bt_mesh_net_create()
|
/Zephyr-Core-3.7.0/include/zephyr/bluetooth/mesh/ |
D | cfg.h | 42 #define BT_MESH_KR_PHASE_2 0x02 macro
|
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/mesh/src/ |
D | test_beacon.c | 252 phase = BT_MESH_KR_PHASE_2; in tx_on_key_refresh_test() 257 ASSERT_TRUE(phase == BT_MESH_KR_PHASE_2); in tx_on_key_refresh_test() 314 ASSERT_TRUE(phase == BT_MESH_KR_PHASE_2); in test_rx_on_key_refresh() 677 { .phase = BT_MESH_KR_PHASE_2, .ivu = true, .ivi = 1 }, in test_rx_kr_old_key() 679 { .phase = BT_MESH_KR_PHASE_2, .ivu = true, .ivi = 1 }, in test_rx_kr_old_key() 897 ASSERT_EQUAL(BT_MESH_KR_PHASE_2, phase); in test_rx_multiple_netkeys() 1409 phase = BT_MESH_KR_PHASE_2; in test_tx_priv_interleave() 1414 ASSERT_TRUE(phase == BT_MESH_KR_PHASE_2); in test_tx_priv_interleave()
|