On Fri, Oct 21, 2011 at 10:10:21PM +0800, Adrian Chadd wrote: > > I assume you have disabled the NIC power save option. Not just APSM, > etc, but the powersave options in iw. I don't know what they are, > sorry, only that they exist. I am not sure if that's what you mean, but if I set "iwconfig wlan0 power off" it makes no difference. > I suggest modifying ath_intr() so if there is an interrupt storm, > disable _all_ sources of interrupts (ie, set sync_cause, async_cause > to 0, set imr to 0, set ier to 0) and see if it continues occuring. They keep coming with this too. > If the interrupt storm continue occuring, try putting the whole NIC to > sleep entirely (ie, call pcipowersave to put the NIC to sleep, then > make sure the NIC -stays- asleep somehow, ie so nothing else tries > waking it up - I don't know how to do this, likely you'll have to > clear some interface flag so the rest of the ath9k and 802.11 stack > thinks the nic is actually down for the count) and see if you're still > getting spurious interrupts. I am now calling ath9k_hw_ops(sc->sc_ah)->config_pci_powersave(sc->sc_ah, true); ath9k_setpower(sc, ATH9K_PM_FULL_SLEEP); right before request_irq, and the interrupts still come. And the device is in FULL_SLEEP the whole time, at least according to ah->power_mode. Clemens -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html