aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES1
-rw-r--r--pcap-common.c6
-rw-r--r--pcap.c1
-rw-r--r--pcap/dlt.h8
4 files changed, 14 insertions, 2 deletions
diff --git a/CHANGES b/CHANGES
index b9a5ba74..6d3c3899 100644
--- a/CHANGES
+++ b/CHANGES
@@ -15,6 +15,7 @@ DayOfTheWeek, Month DD, YYYY / The Tcpdump Group
Add LINKTYPE_AUERSWALD_LOG/DLT_AUERSWALD_LOG.
Add LINKTYPE_ZWAVE_TAP/DLT_ZWAVE_TAP.
Add LINKTYPE_SILABS_DEBUG_CHANNEL/DLT_SILABS_DEBUG_CHANNEL.
+ Add LINKTYPE_FIRA_UCI/DLT_FIRA_UCI.
Packet filtering:
Add support for Block Ack Req and Block Ack frame types (pull
request #1039).
diff --git a/pcap-common.c b/pcap-common.c
index d1c12676..f890f977 100644
--- a/pcap-common.c
+++ b/pcap-common.c
@@ -1252,8 +1252,12 @@
*/
#define LINKTYPE_SILABS_DEBUG_CHANNEL 298
-#define LINKTYPE_MATCHING_MAX 298 /* highest value in the "matching" range */
+/*
+ * Ultra-wideband (UWB) controller interface protocol (UCI).
+ */
+#define LINKTYPE_FIRA_UCI 299
+#define LINKTYPE_MATCHING_MAX 299 /* highest value in the "matching" range */
/*
* The DLT_ and LINKTYPE_ values in the "matching" range should be the
diff --git a/pcap.c b/pcap.c
index 15c0de17..8728d9c4 100644
--- a/pcap.c
+++ b/pcap.c
@@ -3331,6 +3331,7 @@ static struct dlt_choice dlt_choices[] = {
DLT_CHOICE(USB_2_0_LOW_SPEED, "Low-Speed USB 2.0/1.1/1.0 as transmitted over the cable"),
DLT_CHOICE(USB_2_0_FULL_SPEED, "Full-Speed USB 2.0/1.1/1.0 as transmitted over the cable"),
DLT_CHOICE(USB_2_0_HIGH_SPEED, "High-Speed USB 2.0 as transmitted over the cable"),
+ DLT_CHOICE(FIRA_UCI, "Ultra-wideband controller interface protocol"),
DLT_CHOICE_SENTINEL
};
diff --git a/pcap/dlt.h b/pcap/dlt.h
index e852b39b..ca8f5c3d 100644
--- a/pcap/dlt.h
+++ b/pcap/dlt.h
@@ -1609,6 +1609,12 @@
#define DLT_SILABS_DEBUG_CHANNEL 298
/*
+ * Ultra-wideband (UWB) controller interface protocol (UCI).
+ * requested by Henri Chataing <henrichataing@google.com>
+ */
+#define DLT_FIRA_UCI 299
+
+/*
* In case the code that includes this file (directly or indirectly)
* has also included OS files that happen to define DLT_MATCHING_MAX,
* with a different value (perhaps because that OS hasn't picked up
@@ -1619,6 +1625,6 @@
#undef DLT_MATCHING_MAX
#endif
-#define DLT_MATCHING_MAX 298 /* highest value in the "matching" range */
+#define DLT_MATCHING_MAX 299 /* highest value in the "matching" range */
#endif /* !defined(lib_pcap_dlt_h) */