Page MenuHomeFreeBSD

net80211: add IEEE80211_KEY_MFP; set for MFP unicast keys
Needs ReviewPublic

Authored by adrian on Wed, Jun 24, 3:41 AM.
Referenced Files
Unknown Object (File)
Thu, Jul 16, 3:05 AM
Unknown Object (File)
Tue, Jul 7, 2:02 AM
Unknown Object (File)
Tue, Jul 7, 1:03 AM
Unknown Object (File)
Mon, Jul 6, 7:49 AM
Unknown Object (File)
Sat, Jul 4, 11:22 PM
Unknown Object (File)
Fri, Jul 3, 8:40 PM
Unknown Object (File)
Fri, Jul 3, 1:40 AM
Unknown Object (File)
Thu, Jul 2, 2:08 AM

Details

Reviewers
None
Group Reviewers
wireless
Summary

Add a new crypto key flag - IEEE80211_KEY_MFP - which is set when a key
is used for MFP encryption. The driver layer may need to know this
in case it can't do MFP CCMP encryption/decryption in software (due
to the AAD / nonce fields being slightly different) and this is
the only place for it to know what's going on.

Note this is only currently being set on the unicast key in a way
that will likely only work in STA mode.

This will need some further thought for the group decryption
keys in STA mode (as there's no node at this point, so the only
hint about the current configuration is the negotiated VAP mode)
and the group encryption/decryption keys in AP mode (similar
issues.)

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 74176
Build 71059: arc lint + arc unit