This patch adds support for the latest stuff defined in the draft 7.1 of
802.11g, plus a few response codes defined in 802.11b.
Pretty straightforward.
- Pizza
--
Solomon Peachy solomon@xxxxxxxxxxxxxx
AbsoluteValue Systems http://www.linux-wlan.com
715-D North Drive +1 (321) 259-0737 (office)
Melbourne, FL 32934 +1 (321) 259-0286 (fax)
? 802.11g.diff
? wired-wlan
Index: packet-ieee80211.c
===================================================================
RCS file: /cvsroot/ethereal/packet-ieee80211.c,v
retrieving revision 1.83
diff -u -r1.83 packet-ieee80211.c
--- packet-ieee80211.c 4 Mar 2003 06:47:09 -0000 1.83
+++ packet-ieee80211.c 31 Mar 2003 16:21:08 -0000
@@ -876,12 +876,14 @@
memset (out_buff, 0, SHORT_STR);
snprintf (out_buff, SHORT_STR,
- "ERP info: 0x%x (%sNon-ERP STAs, %suse protection)",
+ "ERP info: 0x%x (%sNon-ERP STAs, %suse protection, %s preambles)",
tag_data_ptr[0],
tag_data_ptr[0] & 0x01 ? "" : "no ",
- tag_data_ptr[0] & 0x02 ? "" : "do not ");
+ tag_data_ptr[0] & 0x02 ? "" : "do not ",
+ tag_data_ptr[0] & 0x04 ? "short or long": "long");
proto_tree_add_string (tree, tag_interpretation, tvb, offset + 2,
tag_len, out_buff);
+
break;
@@ -2070,6 +2072,16 @@
"associated stations"},
{0x12, "Association denied due to requesting station not supporting all "
"of the datarates in the BSSBasicServiceSet Parameter"},
+ {0x13, "Association denied due to requesting station not supporting "
+ "short preamble operation"},
+ {0x14, "Association denied due to requesting station not supporting "
+ "PBCC encoding"},
+ {0x15, "Association denied due to requesting station not supporting "
+ "channel agility"},
+ {0x19, "Association denied due to requesting station not supporting "
+ "short slot operation"},
+ {0x1A, "Association denied due to requesting station not supporting "
+ "DSSS-OFDM operation"},
{0x00, NULL}
};
Attachment:
pgp2pYhXP28XC.pgp
Description: PGP signature