Commit Graph

15 Commits

Author SHA1 Message Date
Wade Fife
3a10834521 tools: Update RFNoC dissectors for 8-bit SeqNum 2026-07-28 14:24:19 +02:00
Wade Fife
930651b2f7 tools: Support block control ops in C++ RFNoC dissector 2026-06-29 08:08:59 +02:00
Wade Fife
2595f70815 tools: Update C++ version for RFNoC dissector
The RFNoC code in UHD that is used by the dissector was updated to use
more recent C++ features, such as std::optional. This change updates
the C++ requirement for the dissector to match UHD.
2026-06-29 08:08:59 +02:00
Wade Fife
d3038fc6c8 tools: Fix control packet byte enable in CHDR dissector 2022-03-25 08:18:52 -05:00
Wade Fife
09b04222e3 tools: Add missing fields to CHDR dissector
- Add data packet payload field
- Add metadata support
- Add missing management fields (OpsPending, ExtendedInfo).
- Add missing control fields (byte_enable, data, has_time)
- Update offsets for management OpPayload fields.
- Make the field names more consistent, readable, and consistent
  with the RFNoC specification.
- Display value of fields in addition to name.
- Fix timestamp, eob, and eov offsets
2021-12-08 12:09:39 -08:00
Martin Braun
d2762bd2b0 tools: Fix rfnoc dissector build
The recent removal of cruft in 78336d4 caused an implicit include to be
missing from this dissector, causing it to no longer compile. The
include is added to the dissector explicitly now.
2021-11-11 07:13:56 -08:00
Martin Braun
d56b5b154d dissectors: Fix whitespace formatting in CMake files
This commit makes some of the CMake formatting consistent. CMake
patches were not, in fact, required to fix bugs, but we keep the
formatting improvements nevertheless.
2021-09-28 12:14:00 -07:00
Martin Braun
44eb7a473b dissectors: Fix inclusion of glib.h and Python version
Previously, we were doing this:

```cpp
extern "C" {
}
```

This is not how glib.h is supposed to be included, according to their
documentation. It turns out that it happened to work for a long time,
and lots of projects include glib.h that way, and the glib devs are
trying to accommodate for those cases. How nice of them!

However, on Fedora 34, we have a version of glib which does not have
a workaround patch, so we include glib.h the it should be.

The second issue was that a build script required the existence of
a `python` executable, which is not always available. A `python3`
executable can be assumed, since that's a dependency for UHD, too.
2021-09-28 12:14:00 -07:00
Cristina Fuentes
b82b99cc3e tools: Rfnoc dissectors are now built and named based on CHDR width 2020-12-01 10:07:47 -08:00
Cristina Fuentes
f2f27fdad9 tools: Update rfnoc dissector to support multiple CHDR widths. 2020-12-01 10:07:47 -08:00
Samuel O'Brien
40fb69243a dissector: Swap chdr_packet for chdr_packet_writer
A recent commit changed the name of chdr_packet in uhd. This commit
accounts for this change and makes the dissector compile again.

Signed-off-by: Samuel O'Brien <sam.obrien@ni.com>
2020-07-16 12:20:40 -05:00
Martin Braun
c9126ae31d tools: rfnoc dissector: Add EOB and EOV into tree
This will display EOB and EOV flags in the Wireshark dissector window.
2019-11-26 12:21:32 -08:00
Alex Williams
8541a9b397 tools: rfnoc dissector requires c++14
Mark the requirement in the CMakeLists.txt.
2019-11-26 12:21:31 -08:00
Alex Williams
f3a86a3294 rfnoc: Unify endianness of transports
Ethernet now uses the same serialization of the RFNoC stream as all
the other transports.
2019-11-26 12:21:31 -08:00
Alex Williams
9f29b9a556 tools: Update dissectors for Wireshark major version 3, new CHDR
Dissectors may now be incompatible with earlier versions.
Fixes ZPU dissector.
2019-11-26 11:49:35 -08:00