> On Thu December 9 2010 19:48:44 Jeroen Avonts wrote: > > Hardware encryption works with following patch: > > Is that to say HW encryption does NOT work without this patch? > > bruno > Only when using openwrt. It includes a patch that breaks HW encryption. The included patch is a patch of that patch to make it work again :). I assume it works for other distros. > > > commit dacc09a722cc0064b299b59deca1806d93d661db > > Author: Bruno Randolf <b...@einfach.org> > > Date: Tue Oct 19 12:22:57 2010 +0900 > > > > mac80211: improve ar71xx PCI bug WAR > > > > Since this PCI bug affects RX only, we can keep the 128B DMA size for > > TX. > > > > We have been using this setting since month without problems and a > > significant > > performance improvement. > > > > diff --git > > a/package/mac80211/patches/201-ath5k-WAR-for-AR71xx-PCI-bug.patch > > b/package/mac80211/pa > > index 38f56ed..a0d757c 100644 > > --- a/package/mac80211/patches/201-ath5k-WAR-for-AR71xx-PCI-bug.patch > > +++ b/package/mac80211/patches/201-ath5k-WAR-for-AR71xx-PCI-bug.patch > > @@ -12,7 +12,7 @@ > > +#else > > + /* WAR for AR71xx PCI bug */ > > + AR5K_REG_WRITE_BITS(ah, AR5K_TXCFG, > > -+ AR5K_TXCFG_SDMAMR, AR5K_DMASIZE_4B); > > ++ AR5K_TXCFG_SDMAMR, AR5K_DMASIZE_128B); > > + AR5K_REG_WRITE_BITS(ah, AR5K_RXCFG, > > + AR5K_RXCFG_SDMAMW, AR5K_DMASIZE_4B); > > +#endif > > @@ -30,7 +30,7 @@ > > { AR5K_RXCFG, AR5K_DMASIZE_128B }, > > +#else > > + /* WAR for AR71xx PCI bug */ > > -+ { AR5K_TXCFG, AR5K_DMASIZE_4B }, > > ++ { AR5K_TXCFG, AR5K_DMASIZE_128B }, > > + { AR5K_RXCFG, AR5K_DMASIZE_4B }, > > +#endif > > { AR5K_CFG, AR5K_INIT_CFG }, >
_______________________________________________ ath5k-devel mailing list ath5k-devel@lists.ath5k.org https://lists.ath5k.org/mailman/listinfo/ath5k-devel