All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Greear <greearb@candelatech.com>
To: "Luis R. Rodriguez" <lrodriguez@atheros.com>
Cc: linville@tuxdriver.com, johannes@sipsolutions.net,
	linux-wireless@vger.kernel.org, amod.bodas@atheros.com,
	pstew@google.com
Subject: Re: [PATCH 1/5] ath9k: warn when we get a ATH9K_INT_TIM_TIMER and are idle
Date: Tue, 18 Jan 2011 17:34:50 -0800	[thread overview]
Message-ID: <4D363FBA.3000207@candelatech.com> (raw)
In-Reply-To: <1291690135-4535-2-git-send-email-lrodriguez@atheros.com>

On 12/06/2010 06:48 PM, Luis R. Rodriguez wrote:
> We should not be idle when we get the ATH9K_INT_TIM_TIMER,
> otherwise we wake up the chip and that throws off the idle
> state, the driver needs to be in full sleep when idle and
> nothing should turn it awake without turning it back to
> full sleep again. If we leave the chip idle and suspend,
> upon resume the device will become unusable and we get:
>
> ath: Starting driver with initial channel: 5745 MHz
> ath: timeout (100000 us) on reg 0x7000: 0xdeadbeef&  0x00000003 != 0x00000000
>
> Cc: Paul Stewart<pstew@google.com>
> Cc: Amod Bodas<amod.bodas@atheros.com>
> signed-off-by: Luis R. Rodriguez<lrodriguez@atheros.com>
> ---
>   drivers/net/wireless/ath/ath9k/main.c |    1 +
>   1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c
> index f026a03..fd27ec9 100644
> --- a/drivers/net/wireless/ath/ath9k/main.c
> +++ b/drivers/net/wireless/ath/ath9k/main.c
> @@ -770,6 +770,7 @@ irqreturn_t ath_isr(int irq, void *dev)
>   		if (status&  ATH9K_INT_TIM_TIMER) {
>   			/* Clear RxAbort bit so that we can
>   			 * receive frames */
> +			WARN_ON(sc->ps_idle);
>   			ath9k_setpower(sc, ATH9K_PM_AWAKE);
>   			ath9k_hw_setrxabort(sc->sc_ah, 0);
>   			sc->ps_flags |= PS_WAIT_FOR_BEACON;

Looks like this patch never made it in.

Should it be in, or should I just drop it from my queue?

Thanks,
Ben

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


  reply	other threads:[~2011-01-19  1:35 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-07  2:48 [PATCH 0/5] mac80211/ath9k: few suspend checks and fixes Luis R. Rodriguez
2010-12-07  2:48 ` [PATCH 1/5] ath9k: warn when we get a ATH9K_INT_TIM_TIMER and are idle Luis R. Rodriguez
2011-01-19  1:34   ` Ben Greear [this message]
2011-01-19  1:38     ` Luis R. Rodriguez
2011-01-19  1:42       ` Ben Greear
2011-01-19  1:43         ` Luis R. Rodriguez
2010-12-07  2:48 ` [PATCH 2/5] ath9k: Fix power save count imbalance on ath_radio_enable() Luis R. Rodriguez
2010-12-07  2:48 ` [PATCH 3/5] ath9k_hw: warn if we cannot change the power to the chip Luis R. Rodriguez
2010-12-07  2:48 ` [PATCH 4/5] mac80211: fix idle change notifications upon device stop Luis R. Rodriguez
2010-12-07  2:48 ` [PATCH 5/5] mac80211: fix issuing idle calls when device open count is 0 Luis R. Rodriguez
2010-12-07  9:38   ` Johannes Berg
2010-12-07 15:20     ` Paul Stewart
2010-12-07 15:23       ` Johannes Berg
2010-12-07 17:28         ` Paul Stewart
2010-12-07 17:31           ` Johannes Berg
2010-12-07 15:44     ` Luis R. Rodriguez
2010-12-07 15:48       ` Johannes Berg
2010-12-07 15:51         ` Luis R. Rodriguez
2010-12-07 15:54           ` Johannes Berg
2010-12-07 15:59             ` Luis R. Rodriguez
2010-12-07 17:32               ` Johannes Berg
2010-12-07 18:04                 ` Luis R. Rodriguez
2010-12-07 18:12                   ` Johannes Berg
2010-12-07 20:49                     ` Luis R. Rodriguez
2010-12-07 20:54                       ` Johannes Berg
2010-12-07 20:56                         ` Luis R. Rodriguez
2010-12-07 20:57                           ` Johannes Berg
2010-12-07 21:28                             ` Luis R. Rodriguez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D363FBA.3000207@candelatech.com \
    --to=greearb@candelatech.com \
    --cc=amod.bodas@atheros.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=lrodriguez@atheros.com \
    --cc=pstew@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.