linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Adrian Chadd <adrian@freebsd.org>
To: Jonathan Nieder <jrnieder@gmail.com>
Cc: ath9k-devel@lists.ath9k.org, Tony Houghton <h@realh.co.uk>,
	linux-wireless <linux-wireless@vger.kernel.org>
Subject: Re: ath9k causes lockups since kernel 2.6.35
Date: Fri, 10 Jun 2011 14:48:00 +0800	[thread overview]
Message-ID: <BANLkTik-DQxb8Ca698BeizRVyB71bWBndQ@mail.gmail.com> (raw)
In-Reply-To: <20110224200203.GB17412@elie>

Hi all,

This patch against the current wireless-testing tree restores bit 6/7
being set for the AR9285.

Tony, would you please test this out and see if this works? This is
against the latest wireless-testing.

Thanks,


Adrian

diff --git a/drivers/net/wireless/ath/ath9k/ar9002_hw.c
b/drivers/net/wireless/ath/ath9k/ar9002_hw.c
index f344cc2..5e4e37f 100644
--- a/drivers/net/wireless/ath/ath9k/ar9002_hw.c
+++ b/drivers/net/wireless/ath/ath9k/ar9002_hw.c
@@ -384,6 +384,7 @@ static void ar9002_hw_configpcipowersave(struct ath_hw *ah,
                        }
                }

+#if 0
                if (AR_SREV_9280(ah) || AR_SREV_9285(ah) || AR_SREV_9287(ah)) {
                        /*
                         * Disable bit 6 and 7 before entering D3 to
@@ -391,6 +392,7 @@ static void ar9002_hw_configpcipowersave(struct ath_hw *ah,
                         */
                        val &= ~(AR_WA_BIT6 | AR_WA_BIT7);
                }
+#endif

                if (AR_SREV_9280(ah))
                        val |= AR_WA_BIT22;
diff --git a/drivers/net/wireless/ath/ath9k/reg.h
b/drivers/net/wireless/ath/ath9k/reg.h
index c18ee99..a3c893d 100644
--- a/drivers/net/wireless/ath/ath9k/reg.h
+++ b/drivers/net/wireless/ath/ath9k/reg.h
@@ -704,7 +704,7 @@
 #define AR_WA_ANALOG_SHIFT              (1 << 20)
 #define AR_WA_POR_SHORT                 (1 << 21) /* PCI-E Phy reset control */
 #define AR_WA_BIT22                    (1 << 22)
-#define AR9285_WA_DEFAULT              0x004a050b
+#define AR9285_WA_DEFAULT              0x004a05cb
 #define AR9280_WA_DEFAULT              0x0040073b
 #define AR_WA_DEFAULT                  0x0000073f

  parent reply	other threads:[~2011-06-10  6:48 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-24 18:20 ath9k causes lockups since kernel 2.6.33 Tony Houghton
2011-02-24 20:02 ` ath9k causes lockups since kernel 2.6.35 Jonathan Nieder
2011-02-25  7:51   ` [ath9k-devel] " Mohammed Shafi
2011-02-25  8:44     ` Mohammed Shafi
2011-02-25 14:47     ` Tony Houghton
2011-02-25 16:07       ` Mohammed Shafi
2011-02-25 16:57         ` Tony Houghton
2011-02-26 18:35           ` Tony Houghton
2011-02-28  5:36             ` Mohammed Shafi
2011-03-02 16:30               ` Tony Houghton
2011-03-03  5:21                 ` Mohammed Shafi
2011-03-03 14:31                   ` Tony Houghton
2011-03-03 15:57                     ` Mohammed Shafi
2011-03-03 19:16                       ` Tony Houghton
2011-03-04 15:50                         ` Mohammed Shafi
2011-03-06 22:04                           ` Tony Houghton
2011-03-03  7:05             ` Vivek Natarajan
2011-02-25  7:57   ` Sedat Dilek
2011-02-25 14:35     ` Tony Houghton
2011-03-14 16:48   ` Could ath9k and rt2800pci bugs be related? Tony Houghton
2011-03-15  7:47     ` Mohammed Shafi
2011-03-15 13:19       ` Tony Houghton
2011-03-15 13:35         ` Mohammed Shafi
2011-03-15 15:17           ` Tony Houghton
2011-03-15 16:17             ` Mohammed Shafi
2011-03-15 17:15               ` Tony Houghton
2011-03-16  5:09                 ` Mohammed Shafi
2011-03-15 15:24           ` Tony Houghton
2011-06-10  6:48   ` Adrian Chadd [this message]
2011-06-13 11:00     ` ath9k causes lockups since kernel 2.6.35 Stanislaw Gruszka
2011-06-27 10:33   ` Adrian Chadd

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=BANLkTik-DQxb8Ca698BeizRVyB71bWBndQ@mail.gmail.com \
    --to=adrian@freebsd.org \
    --cc=ath9k-devel@lists.ath9k.org \
    --cc=h@realh.co.uk \
    --cc=jrnieder@gmail.com \
    --cc=linux-wireless@vger.kernel.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).