linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ar9390 failing AGC calibration on powerpc platform
@ 2011-11-29  9:01 wireless newbie
  2011-12-22 11:11 ` wireless newbie
  0 siblings, 1 reply; 9+ messages in thread
From: wireless newbie @ 2011-11-29  9:01 UTC (permalink / raw)
  To: linux-wireless, ath9k-devel; +Cc: Felix Fietkau, openwrt-devel, Mohammed Shafi

Hi,

I have been trying to get my ar9390 based wlan module to work as an AP
on my powerpc target. There seems to be some issues with AGC
calibration though. As soon as I start hostapd, I get the following:

ath9k 0000:01:00.0: mon.wlan0: Features changed: 0x00004800 -> 0x00004000
ath: Unable to reset hardware; reset status -5 (freq 2412 MHz)
Could not set interface mon.wlan0 flags: Input/output error
nl80211: Failed to set interface wlan0 into AP mode
nl80211 driver initialization failed.
ELOOP: remaining socket: sock=8 eloop_data=0x10219770
user_data=0x10219d18 handler=0x1002b8c0
ELOOP: remaining socket: sock=10 eloop_data=0x1021c0b8 user_data=(nil)
handler=0x100353e0

Further debugging revealed that the problem was AGC calibration that
didn't finish and that can be seen from the logs too:

ath: timeout (100000 us) on reg 0xa2c4: 0x00158dd9 & 0x00000001 != 0x00000000

I moved that module to x86 ubuntu 11.10 pc to see if it works there.
For my surprise it worked just fine. So it seems that there is
something related to powerpc platform. I'm using kernel 2.6.39 and
compat wireless drivers from november. Would it be possible that there
is some endianess stuff somewhere that isn't handled properly?

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-01-02  7:44 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-29  9:01 ar9390 failing AGC calibration on powerpc platform wireless newbie
2011-12-22 11:11 ` wireless newbie
2011-12-22 11:23   ` Felix Fietkau
2011-12-22 12:39     ` wireless newbie
2011-12-23  6:45       ` Adrian Chadd
2011-12-23  7:34         ` Felix Fietkau
2011-12-23  9:03           ` wireless newbie
2011-12-23 19:48             ` Adrian Chadd
2012-01-02  7:44               ` wireless newbie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).