freebsd-skq/sys/dev/ath
Warner Losh bc391cb2ce The Atheros AR71xx CPUs, when paired with the AR5212 parts, has a bug
that generates a fatal bus trap.  Normally, the chips are setup to do
128 byte DMA bursts, but when on this CPU, they can only safely due
4-byte DMA bursts due to this bug.  Details of the exact nature of the
bug are sketchy, but some can be found at
https://forum.openwrt.org/viewtopic.php?pid=70060 on pages 4, 5 and 6.
There's a small performance penalty associated with this workaround,
so it is only enabled when needed on the Atheros AR71xx platforms.

Unfortunately, this condition is impossible to detect at runtime
without MIPS specific ifdefs.  Rather than cast an overly-broad net
like Linux/OpenWRT dues (which enables this workaround all the time on
MIPS32 platforms), we put this option in the kernel for just the
affected machines.  Sam didn't like this aspect of the patch when he
reviewed it, and I'd love to hear sane proposals on how to fix it :)

Reviewed by:	sam@
2010-05-01 16:36:14 +00:00
..
ath_hal The Atheros AR71xx CPUs, when paired with the AR5212 parts, has a bug 2010-05-01 16:36:14 +00:00
ath_rate purge HAL_TXSTAT_ALTRATE; you can figure this out by checking ts_finaltsi 2009-06-13 23:36:54 +00:00
ah_osdep.c Revert previous commit and add myself to the list of people who should 2009-09-08 13:19:05 +00:00
ah_osdep.h Fix AR5416 and later parts when building with AH_DEBUG or similar defined: 2009-07-06 20:51:54 +00:00
if_ath_pci.c The module name convention is foo, not if_foo. 2009-05-15 17:02:11 +00:00
if_ath.c Add WPA-None support: 2010-04-10 13:54:00 +00:00
if_athioctl.h add SIOCZATHSTATS ioctl to zero driver statistics 2009-02-13 05:38:03 +00:00
if_athrate.h now that the new association callback is used when joining a bss we can 2008-10-27 16:58:06 +00:00
if_athvar.h Add multicast key search support. This fixes corrupted mcast packets 2010-02-08 20:23:20 +00:00