Skip to contentSkip to conversation

decryption flags

RFC Johannes Berg 1 participant 2 messages Oct 21, 2015 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

I'd like to define decryption flags, to indicate
* frame was decrypted (FC protected bit is set, but data is decrypted)
* in this case - (ext)IV is present
* in this case - MIC isn't present

Wireshark can be configured for the first two (and cannot currently deal with the third at all), but it's tedious to configure it according to the capture file you happen to have at hand.

I suggest to define the following field:

= extended flags =

Bit Number:: 22 (not assigned yet)
Structure:: u32 flags
Required Alignment:: 4
Unit(s):: n/a

This field defines decryption flags for frames. The following flags are defined:

|| '''value''' || '''meaning''' ||
|| `0x00000001` || frame is decrypted (but FC protected bit is set) ||
|| `0x00000002` || frame is encrypted (FC protected bit is also set) ||
|| `0x00000004` || (ext) IV is still present (reserved if 0x1 isn't set) ||
|| `0x00000008` || MIC is not present (should only be used if FCS is also not present, reserved if 0x1 isn't set) ||
|| `0xfffffff0` || (reserved) ||

If there are no objections I'll work on a wireshark patch (though probably only in about two weeks from now, since I'll be travelling)

johannes

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Err, I mixed this up - ignore, will resend in a minute. Sorry!

johannes