From Sam Leffler:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 23 Jan 2006 09:20:06 +0000 (09:20 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 23 Jan 2006 09:20:06 +0000 (09:20 +0000)
commit399c5e56783317cb22074ba59490d2a0ba6da36e
tree187812945beabdcded2109803bf619da7c8e8f90
parentd4e0735ed718b0c498f4f5086c80f068b42e43b0
From Sam Leffler:

1. Fix a bug in caclulating the 802.11 header length for QoS
   data frames (way bad regression from previous code).

2. Add support for packets w/ data padding between the 802.11
   header and the payload (as indicated in the radiotap flags).

3. Add support for handling FCS indication in the radiotap
   flags.

4. Fix display of TSF (previous code was not byte swapping).

5. Update ieee80211_mhz2ieee in radiotap.c to handle more
   channels.

6. Nuke some #if 0 code I left in radiotap.c a while back.

Also, clean up the various macros that extract stuff from 802.11 header
fields or define bitfields within those header fields:

group them by the fields from which they extract and the values
they extract, or the header fields to which they belong;

get rid of some of the COOK_ in the names - COOK_ really doesn't
indicate anything useful, such as the field from which they're
extracting (we should get rid of the rest);

put in some more comments explaining what they do;

get rid of some unused macros;

get rid of some values that aren't flag values - they're values
to test whether something's a data frame with a particular byte
set in the subtype field, but they're only used on data frames,
so we only need to test the bit in question, so we define macros
to test the bit and name them to indicate that they're for use
on data frames.

Consistently use "CF-Ack" and "CF-Poll" in the strings for various data
frame type/subtype values, and get rid of "802.11" (it should be obvious
to one and all that this is 802.11...).

Comment out some variables used only in commented-out code.

Get rid of some unused variables.

Fix up one "proto_tree_add_text()" call where the format string didn't
match the arguments.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17080 f5534014-38df-0310-8fa8-9805f1628bb7
epan/dissectors/packet-ieee80211.c
epan/dissectors/packet-radiotap.c