Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754671AbcKUNy7 (ORCPT ); Mon, 21 Nov 2016 08:54:59 -0500 Received: from ni.piap.pl ([195.187.100.4]:58970 "EHLO ni.piap.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753975AbcKUNy5 (ORCPT ); Mon, 21 Nov 2016 08:54:57 -0500 From: khalasa@piap.pl (Krzysztof =?utf-8?Q?Ha=C5=82asa?=) To: miaoqing@codeaurora.org Cc: ath9k-devel , Kalle Valo , linux-wireless@vger.kernel.org, ath9k-devel@venema.h4ckr.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 4.9.0-rc5] AR9300 calibration problems with antenna selected References: <61055e757c5645dfb69da3fc555cbcf5@aptaiexm02f.ap.qualcomm.com> <2ea016e563f5db553f201a7d4205c2c0@codeaurora.org> Date: Mon, 21 Nov 2016 14:54:52 +0100 In-Reply-To: <2ea016e563f5db553f201a7d4205c2c0@codeaurora.org> (miaoqing@codeaurora.org's message of "Mon, 21 Nov 2016 13:48:03 +0800") Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-KLMS-Rule-ID: 1 X-KLMS-Message-Action: clean X-KLMS-AntiSpam-Lua-Profiles: 105722 [Nov 21 2016] X-KLMS-AntiSpam-Version: 5.7.0.14 X-KLMS-AntiSpam-Envelope-From: khalasa@piap.pl X-KLMS-AntiSpam-Rate: 0 X-KLMS-AntiSpam-Status: not_detected X-KLMS-AntiSpam-Method: none X-KLMS-AntiSpam-Info: LuaCore: 150 150 8d82eb0993e3176b914ca0107c20facb88a3f1dc, Auth:dkim=none X-KLMS-AntiSpam-Interceptor-Info: scan successful X-KLMS-AntiPhishing: Clean, 2016/11/18 08:44:08 X-KLMS-AntiVirus: Kaspersky Security 8.0 for Linux Mail Server, version 8.0.1.721, bases: 2016/11/21 07:21:00 #8198057 X-KLMS-AntiVirus-Status: Clean, skipped Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 475 Lines: 18 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? -- Krzysztof Halasa Industrial Research Institute for Automation and Measurements PIAP Al. Jerozolimskie 202, 02-486 Warsaw, Poland