From owner-cvs-src-old@FreeBSD.ORG Wed Feb 9 15:23:30 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F97410656A4 for ; Wed, 9 Feb 2011 15:23:30 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4D3A88FC17 for ; Wed, 9 Feb 2011 15:23:30 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p19FNUGn031349 for ; Wed, 9 Feb 2011 15:23:30 GMT (envelope-from adrian@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p19FNU66031348 for cvs-src-old@freebsd.org; Wed, 9 Feb 2011 15:23:30 GMT (envelope-from adrian@repoman.freebsd.org) Message-Id: <201102091523.p19FNU66031348@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to adrian@repoman.freebsd.org using -f From: Adrian Chadd Date: Wed, 9 Feb 2011 15:23:16 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/ath if_ath.c src/sys/dev/ath/ath_hal/ar5212 ar5212_keycache.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Feb 2011 15:23:30 -0000 adrian 2011-02-09 15:23:16 UTC FreeBSD src repository Modified files: sys/dev/ath if_ath.c sys/dev/ath/ath_hal/ar5212 ar5212_keycache.c Log: SVN rev 218483 on 2011-02-09 15:23:16Z by adrian Fix the keycache behaviour for multicast keycache search. The correct bit to set is 0x1 in the high MAC address byte, not 0x80. The hardware isn't programmed with that bit (which is the multicast adress bit.) The linux ath9k keycache code uses that bit in the MAC as a "this is a multicast key!" and doesn't set the AR_KEYTABLE_VALID bit. This tells the hardware the MAC isn't to be used for unicast destination matching but it can be used for multicast bssid traffic. This fixes some encryption problems in station mode. PR: kern/154598 Revision Changes Path 1.3 +18 -1 src/sys/dev/ath/ath_hal/ar5212/ar5212_keycache.c 1.295 +2 -2 src/sys/dev/ath/if_ath.c