Page MenuHomeFreeBSD

net80211: document some of the crypto/key functions
ClosedPublic

Authored by adrian on Sep 20 2025, 9:32 PM.
Referenced Files
F139352650: D52649.id163734.diff
Thu, Dec 11, 3:26 AM
Unknown Object (File)
Tue, Dec 9, 3:22 PM
Unknown Object (File)
Thu, Nov 27, 7:35 AM
Unknown Object (File)
Nov 8 2025, 5:48 AM
Unknown Object (File)
Nov 5 2025, 5:00 AM
Unknown Object (File)
Nov 4 2025, 9:57 AM
Unknown Object (File)
Nov 4 2025, 7:11 AM
Unknown Object (File)
Oct 31 2025, 4:06 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 67211
Build 64094: arc lint + arc unit

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
711

MIC or MMIC?

sys/net80211/ieee80211_crypto.c
711

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.