From 4d49e1779aff6958ff16a1ddb4a4924619cc690b Mon Sep 17 00:00:00 2001 From: Thibaut Vandervelden Date: Wed, 8 Nov 2023 11:10:17 +0100 Subject: [PATCH] fix(pcap): IEEE802.15.4 without FCS pcap link type Since smoltcp does not generate the FCS, the pcap link type should be set to IEEE802.15.4 without FCS. --- src/phy/pcap_writer.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/phy/pcap_writer.rs b/src/phy/pcap_writer.rs index fc6c3b236..92999dbd0 100644 --- a/src/phy/pcap_writer.rs +++ b/src/phy/pcap_writer.rs @@ -14,8 +14,8 @@ enum_with_unknown! { Ethernet = 1, /// IPv4 or IPv6 packets (depending on the version field) Ip = 101, - /// IEEE 802.15.4 packets with FCS included. - Ieee802154WithFcs = 195, + /// IEEE 802.15.4 packets without FCS. + Ieee802154WithoutFcs = 230, } }