From owner-cvs-src@FreeBSD.ORG Sun Sep 21 23:16:37 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8859910656D3; Sun, 21 Sep 2008 23:16:37 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 73BDA8FC0A; Sun, 21 Sep 2008 23:16:37 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id m8LNGbPd020815; Sun, 21 Sep 2008 23:16:37 GMT (envelope-from sam@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id m8LNGb2h020810; Sun, 21 Sep 2008 23:16:37 GMT (envelope-from sam@repoman.freebsd.org) Message-Id: <200809212316.m8LNGb2h020810@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to sam@repoman.freebsd.org using -f From: Sam Leffler Date: Sun, 21 Sep 2008 23:16:19 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: 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 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Sep 2008 23:16:37 -0000 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