From mboxrd@z Thu Jan 1 00:00:00 1970 From: Felix Fietkau Date: Mon, 18 Jul 2011 18:10:44 +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: <4E23D574.80609@openwrt.org> Message-ID: <4E245B04.5080704@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 6:02 PM, Kelly Hogan wrote: > Thanks for the response! > > This is a 9285 and similar to the UBNT Bullet M radio I believe. > > root at OpenWrt:/# dmesg | grep phy > Determined physical RAM map: > ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' > Registered led device: ath9k-phy0 > ieee80211 phy0: Atheros AR9285 Rev:2 mem=0xb0000000, irq=72 > root at OpenWrt:/# dmesg | grep ath > \ath: EEPROM regdomain: 0x0 > ath: EEPROM indicates default country code should be used > ath: doing EEPROM country->regdmn map search > ath: country maps to regdmn code: 0x3a > ath: Country alpha2 being used: US > ath: Regpair used: 0x3a > Registered led device: ath9k-phy0 > > root at OpenWrt:/sys/kernel/debug/ieee80211/phy0/ath9k# cat rx_chainmask > 0x00000003 > root at OpenWrt:/sys/kernel/debug/ieee80211/phy0/ath9k# cat tx_chainmask > 0x00000001 I'm pretty sure that explains your problems - the rx chainmask is wrong. The AR9285 chipset is single-stream and thus cannot have a chainmask of 3 (which would imply dual-stream MIMO Rx). Try echo 1 > rx_chainmask, and then restart wifi. If that fixes the issue for you, I'll make a patch to make ath9k validate the chainmask settings from the EEPROM and fix them if they're wrong. - Felix