All of lore.kernel.org
 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

WARNING: multiple messages have this Message-ID (diff)
From: Adrian Chadd <adrian@freebsd.org>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] 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: 91+ 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-24 20:02   ` [ath9k-devel] " Jonathan Nieder
2011-02-25  7:51   ` Mohammed Shafi
2011-02-25  7:51     ` Mohammed Shafi
2011-02-25  8:44     ` Mohammed Shafi
2011-02-25  8:44       ` Mohammed Shafi
2011-02-25 14:47     ` Tony Houghton
2011-02-25 14:47       ` Tony Houghton
2011-02-25 16:07       ` Mohammed Shafi
2011-02-25 16:07         ` Mohammed Shafi
2011-02-25 16:57         ` Tony Houghton
2011-02-25 16:57           ` Tony Houghton
2011-02-26 18:35           ` Tony Houghton
2011-02-26 18:35             ` Tony Houghton
2011-02-28  5:36             ` Mohammed Shafi
2011-02-28  5:36               ` Mohammed Shafi
2011-03-02 16:30               ` Tony Houghton
2011-03-02 16:30                 ` Tony Houghton
2011-03-03  5:21                 ` Mohammed Shafi
2011-03-03  5:21                   ` Mohammed Shafi
2011-03-03 14:31                   ` Tony Houghton
2011-03-03 14:31                     ` Tony Houghton
2011-03-03 15:57                     ` Mohammed Shafi
2011-03-03 15:57                       ` Mohammed Shafi
2011-03-03 19:16                       ` Tony Houghton
2011-03-03 19:16                         ` Tony Houghton
2011-03-04 15:50                         ` Mohammed Shafi
2011-03-04 15:50                           ` Mohammed Shafi
2011-03-06 22:04                           ` Tony Houghton
2011-03-06 22:04                             ` Tony Houghton
2011-03-03  7:05             ` Vivek Natarajan
2011-03-03  7:05               ` Vivek Natarajan
2011-02-25  7:57   ` Sedat Dilek
2011-02-25  7:57     ` [ath9k-devel] " Sedat Dilek
2011-02-25 14:35     ` Tony Houghton
2011-02-25 14:35       ` [ath9k-devel] " Tony Houghton
2011-02-27  0:15   ` crocket
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  1:47   ` [ath9k-devel] ath9k causes lockups since kernel 2.6.35 Adrian Chadd
2011-06-10  4:52     ` Mohammed Shafi
2011-06-10  6:13       ` Adrian Chadd
2011-06-10  6:51         ` Camilo Mesias
2011-06-10  6:53           ` Adrian Chadd
2011-06-10 12:43             ` Tony Houghton
2011-06-10 13:18               ` Adrian Chadd
2011-06-10 18:47                 ` Tony Houghton
2011-06-10 21:10                   ` Adrian Chadd
2011-06-11  6:42                     ` Camilo Mesias
2011-06-11  7:12                       ` Adrian Chadd
2011-06-11  7:33                         ` Camilo Mesias
2011-06-11  7:47                           ` Camilo Mesias
2011-06-11 23:08                             ` Adrià Cereto Massagué
2011-06-12  8:01                               ` Adrian Chadd
2011-06-12  9:26                                 ` Adrià Cereto Massagué
2011-06-12 11:00                                   ` Adrian Chadd
2011-06-14  0:00                         ` Adrian Chadd
2011-06-14  0:15                           ` Jonathan Nieder
2011-06-14  0:20                             ` Jonathan Nieder
2011-06-14  0:22                               ` Adrian Chadd
2011-06-14 11:36                               ` Tony Houghton
2011-06-14 13:20                         ` Mohammed Shafi
2011-06-15  2:02                           ` Adrian Chadd
2011-06-15  9:27                             ` Camilo Mesias
2011-06-15 10:15                               ` Adrian Chadd
2011-06-22 20:31                             ` Camilo Mesias
     [not found]                           ` <20110615174451.15903ae4@toddler>
2011-06-16  4:18                             ` Mohammed Shafi
2011-06-16 12:16                               ` Tony Houghton
2011-06-16 13:03                                 ` Mohammed Shafi
2011-06-27 10:37                       ` Adrian Chadd
2011-07-12 13:46                         ` Tony Houghton
2011-07-12 15:10                           ` Adrian Chadd
2011-07-12 16:12                             ` Mohammed Shafi
2011-07-13  9:40                           ` Camilo Mesias
2011-07-14  7:02                           ` Camilo Mesias
2011-07-14 22:32                             ` Camilo Mesias
2011-07-14 23:02                               ` Jonathan Nieder
2011-06-10  6:48   ` Adrian Chadd [this message]
2011-06-10  6:48     ` Adrian Chadd
2011-06-13 11:00     ` Stanislaw Gruszka
2011-06-13 11:00       ` [ath9k-devel] " Stanislaw Gruszka
2011-06-27 10:33   ` Adrian Chadd
2011-06-27 10:33     ` [ath9k-devel] " 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 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.