Re: [ath9k-devel] ath9k: massive unexplained latency in 2.6.27 (rc5, rc6, probably others)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Luis R. Rodriguez
Date: Monday, September 22, 2008 - 1:06 am

On Mon, Sep 22, 2008 at 12:26:02AM -0700, Steven Noonan wrote:

Its Sunday night and I am looking at it :)


Trust me I want to get this resolved too ;)


At first glance I see tons of MIB interrupts being spewed, besides the
ackward prints you see too my main concern so far is the MIB interrupts
as we don't handle ANI. My initial thought is because don't hanld ANI
yet we are letting MIB interrupts to continue to spew out.

  Luis

Please test the following patch.

diff --git a/drivers/net/wireless/ath9k/core.c b/drivers/net/wireless/ath9k/core.c
index c262ef2..9a51739 100644
--- a/drivers/net/wireless/ath9k/core.c
+++ b/drivers/net/wireless/ath9k/core.c
@@ -681,10 +681,12 @@ int ath_open(struct ath_softc *sc, struct ath9k_channel *initial_chan)
 	 * Enable MIB interrupts when there are hardware phy counters.
 	 * Note we only do this (at the moment) for station mode.
 	 */
+#if 0
 	if (ath9k_hw_phycounters(ah) &&
 	    ((sc->sc_ah->ah_opmode == ATH9K_M_STA) ||
 	     (sc->sc_ah->ah_opmode == ATH9K_M_IBSS)))
 		sc->sc_imask |= ATH9K_INT_MIB;
+#endif
 	/*
 	 * Some hardware processes the TIM IE and fires an
 	 * interrupt when the TIM bit is set.  For hardware
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Luis R. Rodriguez, (Thu Sep 18, 11:34 am)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Luis R. Rodriguez, (Thu Sep 18, 11:42 am)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Luis R. Rodriguez, (Thu Sep 18, 1:44 pm)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Luis R. Rodriguez, (Thu Sep 18, 3:01 pm)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Luis R. Rodriguez, (Thu Sep 18, 3:08 pm)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Luis R. Rodriguez, (Thu Sep 18, 4:10 pm)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Luis R. Rodriguez, (Thu Sep 18, 4:12 pm)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Luis R. Rodriguez, (Thu Sep 18, 8:01 pm)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Senthil Balasubramanian, (Fri Sep 19, 7:28 am)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Senthil Balasubramanian, (Fri Sep 19, 10:58 am)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Luis R. Rodriguez, (Fri Sep 19, 11:23 am)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Luis R. Rodriguez, (Fri Sep 19, 4:53 pm)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Luis R. Rodriguez, (Fri Sep 19, 6:13 pm)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Luis R. Rodriguez, (Fri Sep 19, 6:15 pm)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Luis R. Rodriguez, (Sat Sep 20, 1:56 pm)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Luis R. Rodriguez, (Sat Sep 20, 1:57 pm)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Luis R. Rodriguez, (Sat Sep 20, 2:03 pm)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Luis R. Rodriguez, (Sat Sep 20, 2:24 pm)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Luis R. Rodriguez, (Sat Sep 20, 2:26 pm)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Luis R. Rodriguez, (Sun Sep 21, 11:54 pm)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Luis R. Rodriguez, (Mon Sep 22, 12:14 am)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Luis R. Rodriguez, (Mon Sep 22, 1:06 am)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Luis R. Rodriguez, (Mon Sep 22, 9:01 am)
Re: [ath9k-devel] ath9k: massive unexplained latency in 2. ..., Luis R. Rodriguez, (Tue Sep 23, 12:22 pm)