Return-path: Received: from mail.net.t-labs.tu-berlin.de ([130.149.220.252]:37065 "EHLO mail.net.t-labs.tu-berlin.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751539Ab3KIAji convert rfc822-to-8bit (ORCPT ); Fri, 8 Nov 2013 19:39:38 -0500 References: <19772470.YgPhAz9cYD@bentobox> In-Reply-To: <19772470.YgPhAz9cYD@bentobox> Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=us-ascii Message-Id: <87B8D697-4540-4D0E-975B-125531E6833B@net.t-labs.tu-berlin.de> (sfid-20131109_013954_209384_04289E8F) Cc: "ath9k-devel@venema.h4ckr.net" , "simon@open-mesh.com" , "openwrt-devel@lists.openwrt.org" , "linux-wireless@vger.kernel.org" From: Julius Schulz-Zander Subject: Re: [ath9k-devel] ath9k: Deaf QCA9558 when setting rxchainmask Date: Sat, 9 Nov 2013 01:32:25 +0100 To: Sven Eckelmann Sender: linux-wireless-owner@vger.kernel.org List-ID: Hi Sven, I've asked nbd about this some time ago. It doesn't work if you have gaps in the chain mask! Try chain mask 3 (110) and it should work with 2x2. Regards, -Julius On 06.11.2013, at 16:04, Sven Eckelmann wrote: > Hi, > > I've needed to test some problems with a QCA9558 Rev 0 based 3x3 2.4G device. > During these tests I've wanted to try different antenna configurations to > reduce the complexity of the problem. This was done by setting the > rxchainmask/txchainsmask to settings like 1, 5 and 7. Unfortunatelly, the > setting 5 (antenna 0 and 1) turned the device completely deaf. Here an > overview of the settings (excerpt) > > chainmask | ant 0 | ant 1 | ant 2 | Status > 1 | 1 | 0 | 0 | works > 5 | 1 | 0 | 1 | deaf > 7 | 1 | 1 | 1 | works > > The antenna setting is used in ath9k at different places but trigger seems to > be the AR_PHY_RX_CHAINMASK register write in ar9003_phy.c in the function > ar9003_hw_set_chain_masks. Forcing it to 7 instead of the requested 5 avoids > this deaf state (but makes the rx chainmask setting useless). Of course, this > is not a valid workaround and quite unexpected. > > The test platform was a current trunk OpenWrt build together with compat- > wireless 2013-02-22, compat-wireless 2013-06-27 and backports 2013-10-31. The > settings were configured using the txantenna and rxantenna of the OpenWrt > wireless config system. Both were always set to the same values during the > tests. > > The deaf state was identified using 1x1 and 2x2 clients which could receive > the beacons of the device. The QCA9558 device was then unable to receive the > probe request from the clients or any other traffic on the air. This was also > checked by a monitor (flags: control) interface on the same phy. > > Maybe someone knows whether this is a known problem with this SoC or what > information can be gathered to debug this problem further. > > Kind regards, > Sven > _______________________________________________ > ath9k-devel mailing list > ath9k-devel@lists.ath9k.org > https://lists.ath9k.org/mailman/listinfo/ath9k-devel