aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-radiotap.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2007-06-27 23:53:24 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2007-06-27 23:53:24 +0000
commit1c7959bf4e1d743c420b8c3a36388024473c4661 (patch)
tree7bf9ba07013e8543aaf19f5d8e5d3c8186a45086 /epan/dissectors/packet-radiotap.c
parentf9124478d4133e5209209619b0437738d2e33c51 (diff)
I think David Young needs to be granted the power of life and death
over anybody who edits the sys/net80211/ieee80211_radiotap.h header on any operating system. I also think he needs to be willing to use that power when necessary. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22217 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-radiotap.c')
-rw-r--r--epan/dissectors/packet-radiotap.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/epan/dissectors/packet-radiotap.c b/epan/dissectors/packet-radiotap.c
index 4ec28940f4..211e5a419b 100644
--- a/epan/dissectors/packet-radiotap.c
+++ b/epan/dissectors/packet-radiotap.c
@@ -70,6 +70,26 @@ struct ieee80211_radiotap_header {
#define RADIOTAP_LENGTH_OFFSET 2 /* offset of length field */
#define RADIOTAP_PRESENT_OFFSET 4 /* offset of "present" field */
+/*
+ * AAAAAAAAAAAAAAAAAAAAAAAAAARGH.
+ *
+ * The current FreeBSD ieee80211_radiotap.h has IEEE80211_RADIOTAP_XCHANNEL
+ * as 14.
+ *
+ * The current NetBSD ieee80211_radiotap.h has IEEE80211_RADIOTAP_RX_FLAGS
+ * as 14.
+ *
+ * The current OpenBSD ieee80211_radiotap.h has IEEE80211_RADIOTAP_FCS as
+ * 14.
+ *
+ * NetBSD and OpenBSD also differ on what comes *after* 14.
+ *
+ * They all use the same DLT_ value for "802.11+radiotap".
+ *
+ * This is all wonderfully appreciated by those of us who write code to
+ * read files containing packets with radiotap headers. I will see if
+ * I can apply a little cluebat-fu here.
+ */
enum ieee80211_radiotap_type {
IEEE80211_RADIOTAP_TSFT = 0,
IEEE80211_RADIOTAP_FLAGS = 1,