Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-ieee80211.c

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

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 22 Jun 2001 02:46:26 -0500 (CDT)
guy         2001/06/22 02:46:26 CDT

  Modified files:
    .                    packet-ieee80211.c 
  Log:
  Dissect the payload of a management frame as a separate protocol, so
  that you can open up that protocol without opening up the 802.11 MAC
  header; this can save some screen real estate.
  
  Make the tree item for all the WEP parameters a text item, rather than a
  "string" field with a null string pointer, as "strings" with null string
  pointers give the filtering code gastric distress.
  
  Dissect the WEP initialization vector as an FT_UINT24 (as it's a 3-byte
  field), and dissect the key ID as part of an FT_UINT8 (as it's in an
  8-bit byte).
  
  After dissecting the frame control field, dissect the rest of the header
  in one switch statement, and then:
  
  	handle WEP-encrypted frames with common code for all frame
  	types;
  
  	handle the payload of other frames.
  
  (If we can supply the relevant keys to Ethereal, we could perhaps add
  code to decrypt the WEP payload and then dissect the decrypted payload
  the same way we dissect un-encrypted payloads.)
  
  Revision  Changes    Path
  1.35      +422 -425  ethereal/packet-ieee80211.c