linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Simon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de>
To: Sven Eckelmann <sven@narfation.org>
Cc: Adrian Chadd <adrian.chadd@gmail.com>,
	Mohammed Shafi <shafi.wireless@gmail.com>,
	Simon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de>,
	linux-wireless@vger.kernel.org, ath9k-devel@lists.ath9k.org,
	openwrt-devel@lists.openwrt.org,
	Marek Lindner <lindner_marek@yahoo.de>,
	Gabor Juhos <juhosg@openwrt.org>
Subject: Re: AR9330 hornet board stops beaconing after a few days (0xdeadbeef)
Date: Thu, 13 Sep 2012 18:51:24 +0200	[thread overview]
Message-ID: <20120913165124.GA13877@pandem0nium> (raw)
In-Reply-To: <168362233.PzT7LJrFi2@bentobox>

[-- Attachment #1: Type: text/plain, Size: 1150 bytes --]

ath9k fellows,

as it seems no one could find the cause for this problem so far. I'd therefore
like to create a workaround by checking one/some registers for 0xdeadbeef and
reset the chip if this is found.

Can anyone recommend a register which should never go 0xdeadbeef in a normal case?

From what i've seen, AR_CFG (0x0014) might be a good choice. My regdumps say:

bad regdump:  0x000014 0xdeadbeef    
good regdump: 0x000014 0x0008010a

Unfortunately I don't have documentation to find out if this register can ever
go deadbeef in a normal case. :)

What do you think? (of course, a proper solution is still appreciated ...)

Cheers,
	Simon


On Wed, Sep 05, 2012 at 04:20:52PM +0200, Sven Eckelmann wrote:
> On Wednesday 05 September 2012 07:08:47 Adrian Chadd wrote:
> > I don't think it's a stuck beacon WAR issue here; 0xdeadbeef really
> > does read like the MAC has gone to sleep.
> > 
> > Where's the complete register dump hiding?
> 
> It was not sent to the public mailing lists due to the size. You will receive 
> the dump mentioned in the first mail in some minutes.
> 
> Kind regards,
> 	Sven



[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2012-09-13 16:51 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-13 16:53 AR9330 hornet board stops beaconing after a few days (0xdeadbeef) Simon Wunderlich
2012-08-19 22:04 ` Simon Wunderlich
2012-08-22  5:20   ` Mohammed Shafi
2012-08-22 18:57     ` Adrian Chadd
2012-08-23  9:28       ` Simon Wunderlich
2012-08-23 17:10         ` Gabor Juhos
2012-08-23 19:26           ` Adrian Chadd
2012-08-23 14:59     ` Mohammed Shafi
2012-08-23 15:19       ` Sven Eckelmann
2012-08-23 15:27         ` Sven Eckelmann
2012-09-02 20:01       ` Simon Wunderlich
2012-09-03 13:53         ` Mohammed Shafi
2012-09-03 14:34           ` Sven Eckelmann
2012-09-04 17:12           ` Simon Wunderlich
2012-09-05  5:12             ` Mohammed Shafi
2012-09-05 14:08               ` Adrian Chadd
2012-09-05 14:20                 ` Sven Eckelmann
2012-09-13 16:51                   ` Simon Wunderlich [this message]
2012-09-13 16:59                     ` Adrian Chadd
2012-09-13 17:55                     ` [OpenWrt-Devel] " Felix Fietkau
2012-09-14  9:47                       ` [RFC] ath9k: Work around complete stuck of hw Sven Eckelmann
2012-09-14 11:33                         ` Felix Fietkau
2012-09-23 10:04                           ` Sven Eckelmann
2013-11-20 20:57   ` [OpenWrt-Devel] AR9330 hornet board stops beaconing after a few days (0xdeadbeef) Bastian Bittorf
2013-11-20 21:00     ` Sven Eckelmann

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=20120913165124.GA13877@pandem0nium \
    --to=simon.wunderlich@s2003.tu-chemnitz.de \
    --cc=adrian.chadd@gmail.com \
    --cc=ath9k-devel@lists.ath9k.org \
    --cc=juhosg@openwrt.org \
    --cc=lindner_marek@yahoo.de \
    --cc=linux-wireless@vger.kernel.org \
    --cc=openwrt-devel@lists.openwrt.org \
    --cc=shafi.wireless@gmail.com \
    --cc=sven@narfation.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).