Skip to contentSkip to conversation

ath9k/ath5k + 80211s crash

ath9k-devel austinxxh-ath9k at yahoo.com 1 participant 1 message Jun 5, 2009

lore
Share & tools
lore
#0 lore raw

ath9k + 80211s has no crash anymore. however after assigned IP to the mesh node, I could not ping at all, it's not working.

ath5k crashes on ar71xx boards, just learned it might have something to do with silicon bug from atheros instead of ath5k driver bug.

xxiao

Quoted 65 lines · Nick Kossifidis

From: Nick Kossifidis <[email protected]>
Subject: Re: ath9k/ath5k + 80211s crash
To: "Andrey Yurovsky" <[email protected]>
Cc: [email protected], [email protected], [email protected], [email protected]
Date: Thursday, June 4, 2009, 10:39 PM
2009/6/4 Andrey Yurovsky <[email protected]>:

Quoted 1 line

On Wed, Jun 3, 2009 at 12:59 PM, Nick Kossifidis

<[email protected]>

Quoted 2 lines · wrote:
Quoted 2 lines

2009/6/3 Andrey Yurovsky <[email protected]>:

Quoted 1 line

On Wed, Jun 3, 2009 at 11:21 AM, Nick

Kossifidis <[email protected]>

Quoted 2 lines · wrote:
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

2009/6/2 Andrey Yurovsky <[email protected]>:

Quoted 1 line

With wireless-testing from a couple of

days ago, an X86 system, and this patch:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

http://osdir.com/ml/linux-wireless/2009-05/msg01241.html
ath9k can bring up a mesh point

interface and doesn't crash for me,

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

but there are no mesh beacons, so mesh

isn't working.  On ath5k, there

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

are also no beacons and mesh doesn't

work, but there's no crash.

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 1 line

Hmm, try adding NL80211_IFTYPE_MESH_POINT

here ->

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines

http://git.kernel.org/?p=linux/kernel/git/linville/wireless-testing.git;a=blob;f=drivers/net/wireless/ath/ath5k/pcu.c;h=ec35503f6a40e6b6a1cc4323287b31e7cdd3a428;hb=HEAD#l733

It's already there, in ath5k_hw_set_opmode.

 We'll need to trace

Quoted 1 line
Quoted 1 line
Quoted 1 line

what's going on and see why we don't get

beacons.  Last night I had an

Quoted 1 line
Quoted 1 line
Quoted 1 line

ath5k MP suddenly start beaconing but I

haven't been able to reproduce

Quoted 3 lines
Quoted 3 lines
Quoted 1 line

that yet.

736         /* When in AP mode zero timer0 to

start TSF */

Quoted 1 line
Quoted 1 line

737         if (ah->ah_op_mode ==

NL80211_IFTYPE_AP)

Quoted 1 line
Quoted 1 line

738                 ath5k_hw_reg_write(ah,

0, AR5K_TIMER0);

Quoted 2 lines
Quoted 2 lines

We need to do this for NL80211_IFTYPE_MESH_POINT

or DBA won't fire up

Quoted 3 lines
Quoted 1 line

and beacon queue wont start...

Thanks Nik, that gets beaconing going but only after a

issuing a scan

Quoted 2 lines

(we have the same problem on rt2x00).

Cool, i'll send a patch for this asap ;-)

Thanks for testing !

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