From owner-freebsd-wireless@FreeBSD.ORG Fri Aug 3 02:13:35 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E79E10656E6; Fri, 3 Aug 2012 02:13:35 +0000 (UTC) (envelope-from prvs=555b80879=Brett.Wright@cooperindustries.com) Received: from cooperlighting-sw.cooperlighting.com (cooperlighting-sw.cooperlighting.com [216.130.131.68]) by mx1.freebsd.org (Postfix) with ESMTP id 9CD638FC15; Fri, 3 Aug 2012 02:13:34 +0000 (UTC) Authentication-Results: cooperlighting-sw.cooperlighting.com; dkim=neutral (message not signed) header.i=none X-IronPort-AV: E=Sophos;i="4.77,704,1336363200"; d="scan'208";a="63937507" Received: from cipt0175.nam.ci.root ([10.132.108.175]) by cooperlighting-sw.cooperlighting.com with ESMTP; 02 Aug 2012 22:13:34 -0400 Received: from APEVS1.AP.CI.ROOT ([10.180.2.21]) by cipt0175.NAM.CI.ROOT with Microsoft SMTPSVC(6.0.3790.4675); Thu, 2 Aug 2012 22:13:33 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable x-cr-hashedpuzzle: A/Cw A/8e DF66 Ekgh EtJx FWJs KeYQ LzFg L8ee Mg4w N5Sd OjFw PqaL RC8G Risa TvgF; 2; YQBkAHIAaQBhAG4AQABmAHIAZQBlAGIAcwBkAC4AbwByAGcAOwBmAHIAZQBlAGIAcwBkAC0AdwBpAHIAZQBsAGUAcwBzAEAAZgByAGUAZQBiAHMAZAAuAG8AcgBnAA==; Sosha1_v1; 7; {64218848-CFFA-4D8A-93C7-88E3D93D18FA}; YgByAGUAdAB0AC4AdwByAGkAZwBoAHQAQABjAG8AbwBwAGUAcgBpAG4AZAB1AHMAdAByAGkAZQBzAC4AYwBvAG0A; Fri, 03 Aug 2012 02:11:06 GMT; UgBFADoAIABBAHQAaABlAHIAbwBzACAARABGAFMAIAByAGEAZABhAHIAIABkAGUAdABlAGMAdABpAG8AbgA= x-cr-puzzleid: {64218848-CFFA-4D8A-93C7-88E3D93D18FA} Content-class: urn:content-classes:message Date: Fri, 3 Aug 2012 10:11:06 +0800 Message-ID: <475A4E02EFF4724A9E58F55A56AC1316063F7161@APEVS1.ap.ci.root> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Atheros DFS radar detection Thread-Index: Ac1xFY2WXCNJhqvcRTqiu4/nn1TSbgAAlUsQ References: <475A4E02EFF4724A9E58F55A56AC1316063B3323@APEVS1.ap.ci.root><475A4E02EFF4724A9E58F55A56AC1316063B35EB@APEVS1.ap.ci.root><475A4E02EFF4724A9E58F55A56AC1316063D6752@APEVS1.ap.ci.root><475A4E02EFF4724A9E58F55A56AC1316063D7105@APEVS1.ap.ci.root><475A4E02EFF4724A9E58F55A56AC1316063F6E27@APEVS1.ap.ci.root><475A4E02EFF4724A9E58F55A56AC1316063F6E74@APEVS1.ap.ci.root> From: "Wright, Brett" To: "Adrian Chadd" X-OriginalArrivalTime: 03 Aug 2012 02:13:33.0511 (UTC) FILETIME=[95387D70:01CD711D] Cc: freebsd-wireless@freebsd.org Subject: RE: Atheros DFS radar detection X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Aug 2012 02:13:35 -0000 > -----Original Message----- > From: adrian.chadd@gmail.com [mailto:adrian.chadd@gmail.com] On Behalf > Of Adrian Chadd > Sent: Friday, 3 August 2012 11:16 AM > To: Wright, Brett > Cc: freebsd-wireless@freebsd.org > Subject: Re: Atheros DFS radar detection >=20 > How've you been testing with diversity turned off? >=20 > It looks like the FreeBSD HAL doesn't have the bits to disable fast > diversity. Let me go hunt down what the code is and try it out. #define AR_PHY_CCK_DETECT_BB_ENABLE_ANT_FAST_DIV 0x2000 #define AR_PHY_CCK_DETECT 0xA208 I am turning diversity off by clearing AR_PHY_CCK_DETECT_BB_ENABLE_ANT_FAST_DIV bit in register AR_PHY_CCK_DETECT (not sure if the CCK labeling indicates this stuff is invalid for an 802.11a only radio)?=20 Also setting the rx antenna using: #define AR_DEF_ANTENNA 0x8058 The above register and setting bits 0..2 to either 1 or 2 (for main or aux) >=20 > Which legacy NICs are you using too? I can give it a whirl locally and > see if I see the same issues as you. >=20 I am using AR5213A on a ubiquity SR5. Thanks Brett