Date: Wed, 9 Feb 2011 15:23:16 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/ath if_ath.c src/sys/dev/ath/ath_hal/ar5212 ar5212_keycache.c Message-ID: <201102091523.p19FNU66031348@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102091523.p19FNU66031348>
