Page MenuHomeFreeBSD

net80211: document some of the crypto/key functions
ClosedPublic

Authored by adrian on Sep 20 2025, 9:32 PM.
Referenced Files
F135276933: D52649.diff
Sat, Nov 8, 5:48 AM
Unknown Object (File)
Wed, Nov 5, 5:00 AM
Unknown Object (File)
Tue, Nov 4, 9:57 AM
Unknown Object (File)
Tue, Nov 4, 7:11 AM
Unknown Object (File)
Fri, Oct 31, 4:06 AM
Unknown Object (File)
Wed, Oct 29, 2:21 AM
Unknown Object (File)
Tue, Oct 28, 7:37 PM
Unknown Object (File)
Mon, Oct 27, 12:08 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.Oct 8 2025, 3:17 AM
This revision was automatically updated to reflect the committed changes.