Date: Sun, 21 Sep 2008 23:16:19 +0000 (UTC) From: Sam Leffler <sam@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/ath if_ath.c src/sys/net80211 ieee80211_crypto.c ieee80211_crypto.h ieee80211_ddb.c ieee80211_var.h Message-ID: <200809212316.m8LNGb2h020810@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
sam 2008-09-21 23:16:19 UTC
FreeBSD src repository
Modified files:
sys/dev/ath if_ath.c
sys/net80211 ieee80211_crypto.c ieee80211_crypto.h
ieee80211_ddb.c ieee80211_var.h
Log:
SVN rev 183248 on 2008-09-21 23:16:19Z by sam
Crypto api changes:
o don't use the key index to identify when the driver has been
asked to allocate a key slot, use an explicit flag; allows
drivers to force s/w fallback for entries in the global table
o change callback api to allocate driver resources for a crypto key:
- de-const the key parameter so drivers can muck with the flags
- on callback failure don't automatically try to setup s/w crypto;
instead the driver must now mark the key entry for s/w crypto and
the caller will re-attach the cipher module
NB: api change permits drivers more control over fallback to s/w
crypto (e.g. based on a limited number of h/w key slots)
Revision Changes Path
1.193 +2 -2 src/sys/dev/ath/if_ath.c
1.20 +42 -39 src/sys/net80211/ieee80211_crypto.c
1.18 +10 -7 src/sys/net80211/ieee80211_crypto.h
1.9 +1 -1 src/sys/net80211/ieee80211_ddb.c
1.60 +1 -1 src/sys/net80211/ieee80211_var.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809212316.m8LNGb2h020810>
