Page MenuHomeFreeBSD

net80211: document some of the crypto/key functions
ClosedPublic

Authored by adrian on Sat, Sep 20, 9:32 PM.
Referenced Files
F132541178: D52649.diff
Fri, Oct 17, 7:56 PM
Unknown Object (File)
Sun, Oct 12, 10:51 PM
Unknown Object (File)
Sun, Oct 12, 6:59 PM
Unknown Object (File)
Sun, Oct 12, 5:17 PM
Unknown Object (File)
Sun, Oct 12, 4:43 PM
Unknown Object (File)
Sun, Oct 12, 11:23 AM
Unknown Object (File)
Sun, Oct 12, 11:23 AM
Unknown Object (File)
Sun, Oct 12, 11:22 AM

Details

Summary

This documents the following functions:

  • ieee80211_is_key_global()
  • ieee80211_is_key_unicast()
  • ieee80211_crypto_get_key_wepidx()
  • ieee80211_crypto_get_keyid()
  • ieee80211_crypto_get_txkey()
  • ieee80211_crypto_encap()
  • ieee80211_crypto_decap()

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Do you also want to improve the IEEE80211_CRYPTO(9) man page?

I was wondering who's doing all the spell checking/grammar checks/... of code comments. I cannot currently do that. You might want to add someone for that as reviewer.

sys/net80211/ieee80211_crypto.c
710

MIC or MMIC?

sys/net80211/ieee80211_crypto.c
710

Yeah, it should be MIC. For TKIP it's the MMIC, for WEP it's the ICV, for CCMP/GCMP it's the ICV. (That's why we now have RX_F_ICV_STRIP, RX_F_MIC_STRIP, RX_F_MMIC_STRIP.)

lemme go clarify that.

This revision was not accepted when it landed; it landed in state Needs Review.Wed, Oct 8, 3:17 AM
This revision was automatically updated to reflect the committed changes.