From mboxrd@z Thu Jan 1 00:00:00 1970 From: Felix Fietkau Date: Mon, 18 Jul 2011 08:40:52 +0200 Subject: [ath9k-devel] New radio fails to init in ath9k_hw_wait Where to add a new reg value type? In-Reply-To: References: Message-ID: <4E23D574.80609@openwrt.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org 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