Home
last modified time | relevance | path

Searched refs:BT_MESH_KR_PHASE_2 (Results 1 – 9 of 9) sorted by relevance

/Zephyr-Core-3.7.0/subsys/bluetooth/mesh/
Dsubnet.h21 #define BT_MESH_KR_PHASE_2 0x02 macro
25 #define SUBNET_KEY_TX_IDX(sub) ((sub)->kr_phase == BT_MESH_KR_PHASE_2)
Dsubnet.c150 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()
Dmain.c98 subnet->kr_phase = BT_MESH_KR_PHASE_2; in bt_mesh_provision()
Dapp_keys.c524 if ((*sub)->kr_phase == BT_MESH_KR_PHASE_2 && app->updated) { in bt_mesh_keys_resolve()
Dbeacon.c671 if (sub->kr_phase == BT_MESH_KR_PHASE_2 && !params->new_key) { in net_beacon_resolve()
Dlpn.c1064 if (sub->kr_phase == BT_MESH_KR_PHASE_2 && !rx->new_key) { in bt_mesh_lpn_friend_update()
Dnet.c200 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/
Dcfg.h42 #define BT_MESH_KR_PHASE_2 0x02 macro
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/mesh/src/
Dtest_beacon.c252 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()