From: Felix Fietkau <nbd@openwrt.org>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] D-Link DWA-547 completely freezes system
Date: Fri, 22 Jan 2010 23:42:23 +0100 [thread overview]
Message-ID: <4B5A29CF.8000402@openwrt.org> (raw)
In-Reply-To: <20100122222304.GL2283@tux>
On 2010-01-22 11:23 PM, Luis R. Rodriguez wrote:
> Adding Ben and Cliff just to keep them in the loop.
>
> Note: this e-mail is on a public mailing list.
>
> On Fri, Jan 22, 2010 at 02:17:43PM -0800, Pavel Roskin wrote:
>> On Fri, 2010-01-22 at 19:26 +0100, Jorge Boncompte [DTI2] wrote:
>>
>> > Hi Pavel, i had done some tests and did found that my SR71-12 does works if I
>> > change in hw.c::ath9k_hw_init_11a_eeprom_fix()...
>> >
>> > if ((ah->hw_version.devid == AR9280_DEVID_PCI) &&
>> > test_bit(ATH9K_MODE_11A, ah->caps.wireless_modes)) {
>> >
>> > to...
>> >
>> > if (ah->hw_version.devid == AR9280_DEVID_PCI) {
>> >
>> > Unfortunately, I don't know what that 'fix' fixes :-)
>>
>> You patch fixes Ubiquiti SR71-12 for me! And it looks quite reasonable.
>> I'm only getting "deadbeef" from AR_IMR_S2 now, which is exactly what
>> I'm getting with SR71-15.
>>
>> The right fix would be probably to find out when the "fixup" is actually
>> needed.
>>
>> By the way, I'm not very fond of checking PCI ID in the driver when
>> there are other ways to check for the chip revision and capabilities.
>
> I'm baffled, why would initializing some 5 Ghz stuff be required for
> a 2ghz only card. Unless hardware requires this.. we're still looking
> into this.
Looking at the fixups more closely, I'd say that this is not actually 5
GHz specific stuff, but rather a bogus check that was added over time.
When looking back at a much, much older version of ath9k (before it was
merged to the wireless tree), it didn't have any 11a mode capability
check before running the INI fixups.
I think dropping the 11a capability check is the right fix in this case,
as the code that gets called then fixes up a static preinitialized value
from the initval with a value from the eeprom,
and nothing in the fixup code indicates that it's supposed to be 11a
specific.
- Felix
next prev parent reply other threads:[~2010-01-22 22:42 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-08 12:42 [ath9k-devel] D-Link DWA-547 completely freezes system Khashayar Naderehvandi
2010-01-21 21:44 ` Khashayar Naderehvandi
2010-01-21 22:00 ` Pavel Roskin
2010-01-21 22:26 ` Luis R. Rodriguez
2010-01-22 2:53 ` Pavel Roskin
2010-01-22 9:58 ` Khashayar Naderehvandi
2010-01-22 17:52 ` Pavel Roskin
2010-01-22 18:26 ` Jorge
2010-01-22 22:17 ` Pavel Roskin
2010-01-22 22:23 ` Luis R. Rodriguez
2010-01-22 22:42 ` Felix Fietkau [this message]
2010-01-22 22:44 ` Pavel Roskin
2010-01-22 18:43 ` Luis R. Rodriguez
2010-01-22 18:49 ` Luis R. Rodriguez
2010-01-22 19:34 ` pat-lkml at erley.org
2010-01-22 19:09 ` Khashayar Naderehvandi
-- strict thread matches above, loose matches on Subject: below --
2010-01-27 18:06 Michael Pronath
2010-01-27 21:09 ` Michael Pronath
2010-01-27 21:47 ` Pavel Roskin
2010-01-28 18:23 ` Khashayar Naderehvandi
2010-01-28 21:01 ` Michael Pronath
2010-01-31 9:39 ` Khashayar Naderehvandi
2010-01-31 14:48 ` Pavel Roskin
2010-01-31 16:52 Brian Walker
2010-07-08 5:50 Robert Kosten
2010-07-08 16:23 ` Pavel Roskin
2010-07-08 21:11 ` Robert Kosten
2010-08-05 17:06 ` Pavel Roskin
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=4B5A29CF.8000402@openwrt.org \
--to=nbd@openwrt.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.