2008-10-25 23:22:00

by Nick Kossifidis

[permalink] [raw]
Subject: Re: [PATCH] ath5k: Fix reset sequence for AR5212 in general and RF5111 in particular

2008/10/23 Elias Oltmanns <[email protected]>:
> Take care to handle register 0xa228 exactly as in the HAL released by
> Atheros. This change is required to make ath5k work again on my system
> since commit 2203d6be (ath5k: Misc hw_reset updates), thus fixing a
> regression in 2.6.27 and therefore hopefully eligible for inclusion into
> a stable release.
>
> Cc: stable <[email protected]>
> Signed-off-by: Elias Oltmanns <[email protected]>
> ---
> Applies to 2.6.27. Please let me know if I should do something
> differently and resend.
>
> drivers/net/wireless/ath5k/hw.c | 1 +
> drivers/net/wireless/ath5k/initvals.c | 2 ++
> 2 files changed, 3 insertions(+), 0 deletions(-)
>

Current code works fine on my CM6 (AR5212 + RF5111) and i see nothing like

data |= 0x00000800

on the HAL Atheros released

Problem is that we are updating 0xa228 (RSSI threshold in this case)
for all AR5212 based cards and we are not checking right now for BB
revision. These settings according to Atheros HAL are only for BB
revisions > 2. I'm going to update reset.c this week hopefully.

BTW can you please run latest ath_info on your card ? Let's see what's
the rssi threshold stored on EEPROM and how much different is from my
card.

--
GPG ID: 0xD21DB2DB
As you read this post global entropy rises. Have Fun ;-)
Nick