All of lore.kernel.org
 help / color / mirror / Atom feed
From: Felix Fietkau <nbd@openwrt.org>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] New radio fails to init in ath9k_hw_wait Where to add a new reg value type?
Date: Mon, 18 Jul 2011 08:40:52 +0200	[thread overview]
Message-ID: <4E23D574.80609@openwrt.org> (raw)
In-Reply-To: <CAA9gSzFb++wse_CVaB4TXG11E7os5pYstH9AUND0fNKQd-9b7A@mail.gmail.com>

On 2011-07-18 12:16 AM, Kelly Hogan wrote:
> Hi all,
>
> I'm trying to get the UBNT AirRouter to work with latest ath9k and am
> finding that it is failing in the ath9k_hw_wait with a timeout fail.
>
> The ah structure appears to return it as a 9860 but 0x58d21 as the reg
> value.    The and with AR_PHY_AGC_CONTROL of 1 obviously returns
> 0x58d21
>
> debug output when trying to bring up the device.
>
> ath: ah->misc_mode 0x4
> ath: timeout (100000 us) on reg 0x9860: 0x00058d21&  0x00000001 != 0x00000000
> ath: offset calibration failed to complete in 1ms; noisy environment?
> ath: Unable to reset hardware; reset status -5 (freq 2412 MHz)
>
> By resetting AR_PHY_AGC_CONTROL to 0x00000000 the above errors go
> away, but still no ability to see traffic on any of the interfaces.
>
> I dont understand fully the structures, so any pointers into how to
> configure this radio would be appreciated.
What kind of wifi chip does this device have? AR9280 or AR9287?
What is the value of
/sys/kernel/debug/ieee80211/phy0/ath9k/rx_chainmask and tx_chainmask?

- Felix

  parent reply	other threads:[~2011-07-18  6:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-17 22:16 [ath9k-devel] New radio fails to init in ath9k_hw_wait Where to add a new reg value type? Kelly Hogan
2011-07-18  6:40 ` Mohammed Shafi
2011-07-18 15:59   ` Kelly Hogan
2011-07-18  6:40 ` Felix Fietkau [this message]
2011-07-18 16:02   ` Kelly Hogan
2011-07-18 16:10     ` Felix Fietkau
2011-07-19  1:46       ` Outback Dingo
2011-07-19  3:43         ` Adrian Chadd

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=4E23D574.80609@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.