From owner-freebsd-wireless@FreeBSD.ORG Thu Aug 2 02:13:12 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 3FB9E1065670; Thu, 2 Aug 2012 02:13:12 +0000 (UTC) (envelope-from prvs=554b31a00=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 DA2778FC0A; Thu, 2 Aug 2012 02:13:11 +0000 (UTC) Authentication-Results: cooperlighting-sw.cooperlighting.com; dkim=neutral (message not signed) header.i=none X-IronPort-AV: E=Sophos;i="4.77,697,1336363200"; d="scan'208";a="63781170" Received: from cipt0175.nam.ci.root ([10.132.108.175]) by cooperlighting-sw.cooperlighting.com with ESMTP; 01 Aug 2012 22:13:11 -0400 Received: from APEVS1.AP.CI.ROOT ([10.180.2.21]) by cipt0175.NAM.CI.ROOT with Microsoft SMTPSVC(6.0.3790.4675); Wed, 1 Aug 2012 22:13:10 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Thu, 2 Aug 2012 10:12:56 +0800 Message-ID: <475A4E02EFF4724A9E58F55A56AC1316063D7105@APEVS1.ap.ci.root> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Atheros DFS radar detection Thread-Index: Ac1wILPQeW4Dxn6qS6W4Oq8qVHT4UQAMwovg References: <475A4E02EFF4724A9E58F55A56AC1316063B3323@APEVS1.ap.ci.root><475A4E02EFF4724A9E58F55A56AC1316063B35EB@APEVS1.ap.ci.root><475A4E02EFF4724A9E58F55A56AC1316063D6752@APEVS1.ap.ci.root> From: "Wright, Brett" To: "Adrian Chadd" X-OriginalArrivalTime: 02 Aug 2012 02:13:10.0688 (UTC) FILETIME=[5D343A00:01CD7054] 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: Thu, 02 Aug 2012 02:13:12 -0000 Hi, > -----Original Message----- > From: adrian.chadd@gmail.com [mailto:adrian.chadd@gmail.com] On Behalf > Of Adrian Chadd > Sent: Thursday, 2 August 2012 6:03 AM > To: Wright, Brett > Cc: freebsd-wireless@freebsd.org > Subject: Re: Atheros DFS radar detection >=20 > Hi, >=20 > These are the AR5212 HAL defaults: >=20 > FIRPWR: -41 > RRSSI: 12 > HEIGHT: 20 > PRSSI: 22 > INBAND: 6 Yes they are the same values that are being set by default. =20 >=20 > I'd suggest you bring up an AR5212 on FreeBSD and look at what's done > in dev/ath/ath_dfs/null/dfs_null.c - I have a set of default > parameters (but for the AR5416 and later chips, with a specific > antenna config) which you can change for the AR5212. Then just change > #if 0 to #if 1 in the dfs enable routine. Thanks - I will try the parameters you are using for the ar5416 and see if that reduces the number of false detect pulses. > I also have a tool in tools/tools/ath/athradar/ which lets you view > and set the radar parameters. You should tinker with that whilst doing > some traffic. OK I will experiment with different values and see if that helps too. Thanks Brett =20