Bob,
I have cooked up a workaround myself. With the following patch applied
I have been running iperf with good performance for over 20 hours now 
without interruption).

And yes, the debug log was triggered quite often:

--- wireless-testing/drivers/net/wireless/ath/ath5k/base.c      2010-03-19 
09:55:26.000000000 +0100
+++ ../wireless-testing/drivers/net/wireless/ath/ath5k/base.c   2010-03-19 
09:30:23.000000000 +0100
@@ -2894,7 +2894,12 @@
 {
        int ret;
 
-       ret = ath5k_reset(sc, sc->curchan);
+       if ((ret = ath5k_reset(sc, sc->curchan)) != 0) {
+         int ret2 = ath5k_reset(sc, sc->curchan);
+         ATH5K_DBG(sc, ATH5K_DEBUG_ANY, "ath5k_reset failed with %d, retry was 
%d\n", ret, ret2);
+         ret = ret2;
+       }
+
        if (!ret)
                ieee80211_wake_queues(sc->hw);
 


-- 
Regards
       Joerg


--- Bob Copeland <m...@bobcopeland.com> schrieb am Do, 18.3.2010:

> Von: Bob Copeland <m...@bobcopeland.com>
> Betreff: Re: [ath5k-devel] ATH5K in AP mode and "ath5k phy0: failed to warm  
> reset the MAC Chip" errors
> An: "Joerg Pommnitz" <pommn...@yahoo.com>
> CC: ath5k-devel@lists.ath5k.org
> Datum: Donnerstag, 18. März, 2010 20:22 Uhr
> On Wed, Mar 17, 2010 at 5:57 AM,
> Joerg Pommnitz <pommn...@yahoo.com>
> wrote:
> > My suspiction is, that the reset fails as long as
> somebody keeps a
> > reference to the interface open (either hostapd or
> dhcpd).
> >
> > Attached is a log file.
> 
> I'm not sure what you mean by keeping a reference open.
> We do resets all the time while the interface is active
> (e.g. during channel changes).  However, I agree there
> seem
> to be situations where reset fails due to other ongoing
> operations.  You might try the workaround patches in:
> 
> http://bugzilla.kernel.org/show_bug.cgi?id=14342
> 
> It also seems to depend on hardware -- I have one card
> here for which reset never works and so it is useless.
> 
> > --
> > Regards
> >       Joerg
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Sie sind Spam leid? Yahoo! Mail verfügt über einen
> herausragenden Schutz gegen Massenmails.
> > http://mail.yahoo.com
> > _______________________________________________
> > ath5k-devel mailing list
> > ath5k-devel@lists.ath5k.org
> > https://lists.ath5k.org/mailman/listinfo/ath5k-devel
> >
> >
> 
> 
> 
> -- 
> Bob Copeland %% www.bobcopeland.com
> 

__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen 
Massenmails. 
http://mail.yahoo.com 
_______________________________________________
ath5k-devel mailing list
ath5k-devel@lists.ath5k.org
https://lists.ath5k.org/mailman/listinfo/ath5k-devel

Reply via email to