tcpdump mailing list archives

Re: DLT for IEEE802.15.4 no FCS frames


From: Jon Smirl <jonsmirl () gmail com>
Date: Fri, 6 Aug 2010 15:06:05 -0400

On Fri, Aug 6, 2010 at 3:04 PM, Jon Smirl <jonsmirl () gmail com> wrote:
On Fri, Aug 6, 2010 at 2:51 PM, Guy Harris <guy () alum mit edu> wrote:

On Aug 6, 2010, at 11:47 AM, Jon Smirl wrote:

Can I request a DLT for IEEE802.15.4 no FCS frames.

The ARPHRD for these frames is already in the Linux kernel:
#define ARPHRD_IEEE802154         804

So that's with a standard 802.15.4 header (as opposed to, say, headers with addresses padded to the maximum length), 
and no FCS?-

This one is the full packet with FCS as a radio sees it
#define DLT_IEEE802_15_4        195

This one probably should have been a radio tap type interface and
included channel number. But it is too late now.


Not all radios provide access to the FCS internally so it is stripped
in the Linux implementation. That's the only difference from the first
one. so we need another DLT....
#define DLT_IEEE_802154                 230

I'm not sure what this one is, he never submitted any code to the kernel.
 * IEEE 802.15.4, with address fields padded, as is done by Linux
 * drivers; requested by Juergen Schimmer.
 */
#define DLT_IEEE802_15_4_LINUX  191


This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.




--
Jon Smirl
jonsmirl () gmail com




-- 
Jon Smirl
jonsmirl () gmail com
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: