aboutsummaryrefslogtreecommitdiff
path: root/dynlibmod/(developers-only)
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2026-08-19 02:02:05 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2026-08-19 02:02:05 +0000
commit99fda13f1c4a260923d3a0a173af14f730b705c9 (patch)
tree2895a127ba4e251ce5bad6c872320d97a433ae4a /dynlibmod/(developers-only)
parentdb4d6f76407c098a2fe72eb359e93180b508753a (diff)
net80211: migrate the ioctl API to a 128 bit specific API + use key APIHEADmain
* Begin migrating the ioctl code to use the key management APIs. Not all of it has been migrated (notably the WEP API hasn't.) * Take special care to copy the TKIP MIC in and out correctly. * Note that some of the defines used as sizes are actually the ioctl sizes, they'll need to be fixed before I push this into a review. * Document this current API as a specific 128 bit key + 128 bit TKIP MIC API. The goal here is to solidify this stuff as the 128 bit ioctl API and not change it, even if net80211 will eventually grow 256 and 384 bit key support. Notably the TKIP stuff - the driver_bsd.c code puts the TKIP after the normal key contents, whereas the net80211 code puts the TKIP stuff in the /end/ of the key buffer. They happen to be equivalent when ioctl key buffer size == net80211 key buffer size, but as I learnt the last couple times I tried this, they're not always going to be equivalent. Differential Revision: https://reviews.freebsd.org/D58384
Diffstat (limited to 'dynlibmod/(developers-only)')
0 files changed, 0 insertions, 0 deletions