From: Pavel Roskin <proski@gnu.org>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] trouble with DWA-552 and ath9k
Date: Wed, 13 Jan 2010 10:35:59 -0500 [thread overview]
Message-ID: <1263396959.8723.17.camel@ct> (raw)
In-Reply-To: <19277.32410.462158.258222@gargle.gargle.HOWL>
On Wed, 2010-01-13 at 13:34 +0530, Sujith wrote:
> Brian Walker wrote:
> > Ok! Now I have some debugging information. Here are the ath9k lines from
> > dmesg right after boot:
That's for Ubiquiti SR71A:
# modprobe ath9k
ath9k 0000:04:01.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
ath: UNDEFINED -> AWAKE
ath: serialize_regmode is 1
ath: Eeprom VER: 14, REV: 22
ath: EEPROM regdomain: 0x0
ath: EEPROM indicates default country code should be used
ath: doing EEPROM country->regdmn map search
ath: country maps to regdmn code: 0x3a
ath: Country alpha2 being used: US
ath: Regpair used: 0x3a
ath: tx DMA: 512 buffers 1 desc/buf
ath: tx DMA map: ffff88003bfa0000 (80712) -> 3bfa0000 (80712)
ath: beacon DMA: 4 buffers 1 desc/buf
ath: beacon DMA map: ffff88003bf74000 (608) -> 3bf74000 (608)
ath: cachelsz 32 rxbufsize 3872
ath: rx DMA: 512 buffers 1 desc/buf
ath: rx DMA map: ffff88003bf40000 (80712) -> 3bf40000 (80712)
phy4: Selected rate control algorithm 'ath9k_rate_control'
Registered led device: ath9k-phy4::radio
Registered led device: ath9k-phy4::assoc
Registered led device: ath9k-phy4::tx
Registered led device: ath9k-phy4::rx
phy4: Atheros AR9280 Rev:2 mem=0xffffc90008320000, irq=19
udev: renamed network interface wlan0 to wlan4
# ifconfig wlan4 up
ath: Starting driver with initial channel: 2412 MHz
ath: ah->misc_mode 0x4
ath: timeout (100000 us) on reg 0x9860: 0xdeadbeef & 0x00000001 != 0x00000000
ath: Unable to reset hardware; reset status -5 (freq 2412 MHz)
> The first HW reset fails as the contents of RTC_RC is weird.
> Which probably means that the earlier initialization messed up somewhere,
> corrupting the RTC register space - this would be my immediate guess.
>
> Will take a look. Thanks for the debug log.
I was able to make Ubiquiti SR71A work (at least it can scan now) by
treating it as an older Merlin 1.0 rather that Merlin 2.1 (version 0x80,
revision 2) as it claims to be:
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c
index 2311fe7..20f5375 100644
--- a/drivers/net/wireless/ath/ath9k/hw.c
+++ b/drivers/net/wireless/ath/ath9k/hw.c
@@ -690,7 +690,7 @@ static void ath9k_hw_init_mode_regs(struct ath_hw *ah)
ar9285PciePhy_clkreq_always_on_L1_9285,
ARRAY_SIZE(ar9285PciePhy_clkreq_always_on_L1_9285), 2);
}
- } else if (AR_SREV_9280_20_OR_LATER(ah)) {
+ } else if (0) {
INIT_INI_ARRAY(&ah->iniModes, ar9280Modes_9280_2,
ARRAY_SIZE(ar9280Modes_9280_2), 6);
INIT_INI_ARRAY(&ah->iniCommon, ar9280Common_9280_2,
--
Regards,
Pavel Roskin
next prev parent reply other threads:[~2010-01-13 15:35 UTC|newest]
Thread overview: 67+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-17 16:43 [ath9k-devel] trouble with DWA-552 and ath9k Brian Walker
2009-12-18 3:12 ` Sujith
2009-12-18 3:51 ` Brian Walker
2009-12-18 4:44 ` Sujith
2009-12-18 11:55 ` Brian Walker
2009-12-19 3:05 ` Brian Walker
2009-12-22 4:58 ` Sujith
[not found] ` <4B30D348.3080600@charter.net>
2009-12-22 18:39 ` Brian Walker
2009-12-28 19:22 ` Brian Walker
2009-12-28 20:49 ` Pavel Roskin
2009-12-28 21:06 ` Brian Walker
2009-12-28 21:28 ` Pavel Roskin
2009-12-28 22:54 ` Brian Walker
2009-12-29 15:02 ` Pavel Roskin
2009-12-29 23:23 ` Brian Walker
2009-12-30 6:16 ` Pavel Roskin
2010-01-05 16:49 ` Brian Walker
2010-01-08 4:34 ` Sujith
2010-01-09 15:14 ` Brian Walker
2010-01-09 15:38 ` Pavel Roskin
2010-01-09 19:33 ` Brian Walker
2010-01-10 5:12 ` Sujith
2010-01-11 18:42 ` Brian Walker
2010-01-13 1:18 ` Brian Walker
2010-01-13 8:04 ` Sujith
2010-01-13 15:35 ` Pavel Roskin [this message]
2010-01-13 17:28 ` Pavel Roskin
2010-01-14 2:58 ` Brian Walker
2010-01-14 6:15 ` Pavel Roskin
2010-01-14 11:51 ` Brian Walker
2010-01-14 23:13 ` Pavel Roskin
2010-01-15 5:40 ` Pavel Roskin
2010-01-16 16:27 ` Brian Walker
2010-01-20 23:03 ` Pavel Roskin
2010-01-25 18:47 ` Brian Walker
2010-01-25 19:34 ` Pavel Roskin
2010-01-27 0:52 ` Brian Walker
2010-01-27 23:13 ` Pavel Roskin
2010-01-28 0:36 ` Brian Walker
2010-02-05 19:13 ` Brian Walker
2010-02-05 19:34 ` Pavel Roskin
2010-02-06 0:56 ` Brian Walker
2010-02-06 5:20 ` Pavel Roskin
2010-02-10 1:00 ` Brian Walker
2010-02-10 19:24 ` Pavel Roskin
2010-02-10 19:57 ` Brian Walker
2010-02-20 3:00 ` Brian Walker
2010-02-23 21:30 ` Pavel Roskin
2010-02-24 1:21 ` Brian Walker
2010-02-24 6:09 ` [ath9k-devel] hostapd-0.7-1 failed work with ath9k Zhang Yanfei-B21500
2010-02-24 6:42 ` Pavel Roskin
2010-03-02 10:20 ` yingqiang Ma
2010-03-03 2:01 ` Zhang Yanfei-B21500
2010-02-24 6:40 ` [ath9k-devel] trouble with DWA-552 and ath9k Pavel Roskin
2010-02-24 13:21 ` Brian Walker
2010-02-24 18:09 ` Pavel Roskin
2010-02-24 18:14 ` Pavel Roskin
2010-02-25 18:31 ` Pavel Roskin
2010-02-25 20:34 ` Peter Stuge
2010-02-26 1:10 ` Brian Walker
2010-02-26 23:35 ` Pavel Roskin
2010-03-02 0:48 ` Brian Walker
2010-03-03 4:31 ` Pavel Roskin
2010-03-02 0:55 ` Brian Walker
2010-03-03 4:33 ` Pavel Roskin
2010-03-08 2:20 ` Brian Walker
-- strict thread matches above, loose matches on Subject: below --
2009-12-17 19:52 Brian Walker
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=1263396959.8723.17.camel@ct \
--to=proski@gnu.org \
--cc=ath9k-devel@lists.ath9k.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.