From: Matthias May Date: Mon, 18 Nov 2013 14:36:42 +0100 Subject: [ath9k-devel] [OpenWrt-Devel] ath9k: Deaf QCA9558 when setting rxchainmask In-Reply-To: <21130.4681.687594.315193@gargle.gargle.HOWL> References: <19772470.YgPhAz9cYD@bentobox> <87B8D697-4540-4D0E-975B-125531E6833B@net.t-labs.tu-berlin.de> <2985619.kldLYNDlSX@bentobox> <21120.58000.344447.562435@gargle.gargle.HOWL> <528A0F79.1040807@neratec.com> <21130.4681.687594.315193@gargle.gargle.HOWL> Message-ID: <528A17EA.1020505@neratec.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org On 18/11/13 14:12, Sujith Manoharan wrote: > Matthias May wrote: >> I'm in the position where i want to use a 9390 as 2x2 instead of 3x3. >> I use backports-3.12-1. >> I've set the rx and tx mask in eeprom to 0x5. >> Every 30 seconds there is a short disconnect. >> Enabling some logging in >> echo "0x0000050C" > /sys/kernel/debug/ieee80211/phy0/ath9k/debug >> shows that something seems to go wrong during noise calibration. (See >> attached log). >> What seems odd to me, that for IQ cal it tries to calibrate chain 1 >> instead of chain 2. > What is the value of 0x40d8 register ? > > echo 0x40d8 > /sys/kernel/debug/ieee80211/phy0/ath9k/regidx > cat /sys/kernel/debug/ieee80211/phy0/ath9k/regval > > Sujith root at CHD500279:/# echo 0x40d8 > /sys/kernel/debug/ieee80211/phy6/ath9k/regidx root at CHD500279:/# cat /sys/kernel/debug/ieee80211/phy6/ath9k/regval 0x00000004 On another device showing the same behaviour (but with various other patches and based on compat-wireless-2013-06-27) 0x04000004. Best regards Matthias May -- Matthias May Software Engineer Neratec Solutions AG Postfach 83, CH-8608 Bubikon, Switzerland Direct: +41 55 253 2074 Office: +41 55 253 2000 Fax: +41 55 253 2070 email: matthias.may at neratec.com Web: www.neratec.com