Skip to content

Conversation

@joejoe-am
Copy link

This PR adds support for parsing the IV and Key ID fields in the Dot11WEP layer.

Details
• Added IV [3]byte and KeyID uint8 fields to Dot11WEP
• Updated DecodeFromBytes to:
• Extract the 24-bit IV from the first three bytes
• Extract the 2-bit Key ID from the top bits of the fourth byte
• Updated GoDoc for Dot11WEP to document the header layout

Why

The IV and Key ID are essential for WEP decryption and analysis. Previously, users needed to parse these fields manually from the payload. Exposing them in Dot11WEP simplifies working with WEP frames and brings the layer in line with how other 802.11 fields are exposed.

@joejoe-am
Copy link
Author

Hi @gconnell, can you review this please ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant