Lines Matching refs:iv_update
79 uint8_t iv_update:1, member
273 bool bt_mesh_net_iv_update(uint32_t iv_index, bool iv_update) in bt_mesh_net_iv_update() argument
283 if (iv_index == bt_mesh.iv_index && iv_update) { in bt_mesh_net_iv_update()
290 (atomic_test_bit(bt_mesh.flags, BT_MESH_IVU_IN_PROGRESS) || !iv_update))) { in bt_mesh_net_iv_update()
318 if (atomic_test_bit(bt_mesh.flags, BT_MESH_IVU_IN_PROGRESS) == iv_update) { in bt_mesh_net_iv_update()
332 if (!iv_update && bt_mesh_tx_in_progress()) { in bt_mesh_net_iv_update()
338 if (iv_update) { in bt_mesh_net_iv_update()
350 atomic_set_bit_to(bt_mesh.flags, BT_MESH_IVU_IN_PROGRESS, iv_update); in bt_mesh_net_iv_update()
369 bt_mesh_cdb_iv_update(iv_index, iv_update); in bt_mesh_net_iv_update()
1060 atomic_set_bit_to(bt_mesh.flags, BT_MESH_IVU_IN_PROGRESS, iv.iv_update); in iv_set()
1063 LOG_DBG("IV Index 0x%04x (IV Update Flag %u) duration %u hours", iv.iv_index, iv.iv_update, in iv_set()
1174 iv.iv_update = atomic_test_bit(bt_mesh.flags, BT_MESH_IVU_IN_PROGRESS); in store_pending_iv()