Re: [ath5k-devel] In response to Hardware encryption on AR5413 broken?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jeroen Avonts
Date: Thursday, December 9, 2010 - 3:48 am

Hardware encryption works with following patch:

commit dacc09a722cc0064b299b59deca1806d93d661db
Author: Bruno Randolf <br1@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 },
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [ath5k-devel] In response to Hardware encryption on AR ..., Jeroen Avonts, (Thu Dec 9, 3:48 am)