Ethereal-dev: [Ethereal-dev] Patch for packet-80211.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Johan Jorgensen <johan.jorgensen@xxxxxxxx>
Date: Mon, 22 Jan 2001 11:03:29 +0100
Hello,
A colleague of mine has found two small bugs in the IEEE 802.11
dissector. A patch to fix them is enclosed with this message. 

While I am at it I would like to try and seek acceptance for a new file
format. It was included in the original 802.11 patch submitted by me. It
has the following features:

1. Encapsulation-independent - Not biased towards any special
encapsulation type. 
2. Supports per-packet encapsulation with full read/write capability
(maybe the only good thing about it)
3. Should be machine independent 

It has been used by me (on a Linux host) without problems for the last
few months. At present it does not not have a name. If you are
interested I will submit a patch against wiretap.

Best Regards, 
Johan Jorgensen
Index: packet-ieee80211.c
===================================================================
RCS file: /cvsroot/ethereal/packet-ieee80211.c,v
retrieving revision 1.11
diff -u -r1.11 packet-ieee80211.c
--- packet-ieee80211.c	2001/01/21 22:51:46	1.11
+++ packet-ieee80211.c	2001/01/22 09:44:25
@@ -667,7 +667,7 @@
 
     case TAG_TIM:
       proto_tree_add_uint_format (tree, tag_number, tvb, offset, 1, tag_no,
-				  "Tag Number: %d (CF Parameter set)",
+				  "Tag Number: %d ((TIM) Traffic Indication Map)",
 				  tag_no);
 
       proto_tree_add_uint (tree, tag_length, tvb, offset + 1, 1, tag_len);
@@ -1402,9 +1402,9 @@
 {
 
   static const value_string tofrom_ds[] = {
-    {0, "Network operating in AD-HOC mode ( To DS: 0  From DS: 0)"},
+    {0, "Not leaving DS or network is operating in AD-HOC mode ( To DS: 0  From DS: 0)"},
     {1, "Frame is exiting DS (To DS: 0  From DS: 1)"},
-    {2, "Frame is entering DS (To DS: 0  From DS: 1)"},
+    {2, "Frame is entering DS (To DS: 1  From DS: 0)"},
     {3, "Frame part of WDS (To DS: 1  From DS: 1)"},
     {0, NULL}
   };
begin:vcard 
n:Jorgensen;Johan
tel;work:+46 (0)46 272 34 54
x-mozilla-html:FALSE
org:Axis Communications AB;Research & Core Technology
version:2.1
email;internet:Johan.Jorgensen@xxxxxxxx
title:HW/SW Engineer
adr;quoted-printable:;;Scheelevagen 34	=0D=0ASE-223 63 LUND;;;;SWEDEN
x-mozilla-cpt:;-7072
fn:Johan Jorgensen
end:vcard