Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932241AbcKUORv convert rfc822-to-8bit (ORCPT ); Mon, 21 Nov 2016 09:17:51 -0500 Received: from mail.neratec.com ([46.140.151.2]:45235 "EHLO mail.neratec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932226AbcKUORq (ORCPT ); Mon, 21 Nov 2016 09:17:46 -0500 X-Greylist: delayed 368 seconds by postgrey-1.27 at vger.kernel.org; Mon, 21 Nov 2016 09:17:46 EST Subject: Re: [PATCH 4.9.0-rc5] AR9300 calibration problems with antenna selected To: =?UTF-8?Q?Krzysztof_Ha=c5=82asa?= References: <61055e757c5645dfb69da3fc555cbcf5@aptaiexm02f.ap.qualcomm.com> <2ea016e563f5db553f201a7d4205c2c0@codeaurora.org> Cc: miaoqing@codeaurora.org, ath9k-devel , Kalle Valo , linux-wireless@vger.kernel.org, ath9k-devel@venema.h4ckr.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org From: Matthias May Message-ID: Date: Mon, 21 Nov 2016 15:11:34 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 841 Lines: 28 On 21/11/16 14:54, Krzysztof HaƂasa wrote: > miaoqing@codeaurora.org writes: > >>> rmmod ath9k >>> modprobe ath9k >>> iw dev wlan0 set type ibss >>> iw phy phyX set antenna 2 >> >> 2 is a bad mask. We use bitmap, the valid masks are 1, 3, 7. > > Thanks for your response. > > I have two antenna connections (and a single antenna). Is it possible to > select the secondary antenna connector only? How? > No this is not really possible. We have been playing around with this two, three years ago with this. There are just too many things which rely on chain0 Noise calibration, DFS, Temperature measurement, Spectrum measurement are just a few of the things I remember which don't work realiably anymore. See [1] for more. BR Matthias [1] http://ath9k-devel.ath9k.narkive.com/QZcobwy1/ath9k-deaf-qca9558-when-setting-rxchainmask#post1