From owner-freebsd-wireless@FreeBSD.ORG Fri Aug 3 02:40:08 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C48AD106566C for ; Fri, 3 Aug 2012 02:40:08 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 68E968FC15 for ; Fri, 3 Aug 2012 02:40:08 +0000 (UTC) Received: by yhfs35 with SMTP id s35so316756yhf.13 for ; Thu, 02 Aug 2012 19:40:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=YxiQ+2EDe9cjTx4PnGMA1GuCHAoSGU4O86axO5S5qWs=; b=CmxX1f31lqHzBXfXkKc2iGNe3D3bCmKNOxEYra/JXHVq89H9r5KgaXzHGqXvkEWb0O QuFu5k+uIRffV4udZtdH9kyB8sYjhAMvfQwQpVe4PVAHj/HTyqdkNAEulM4pDZY+TwgR SOHMYwwbsy/UGp+GZUVYr3vOgBt44JGioL0UcsovOkVoCYxgu+cXsBEAjBbOIF9N3Ylt sfW8Tkze8npwoKE4h2yJFd2aWfzNedC/hQZIDSvrBVEklIq0Bd1rm2kUUNktH5fj3pA9 Kt0zv/+C5V679hMmH9fubGTzjXaW+Z64RaY4zsL/w8RPf2F7PrOeJ6pitzyRBHIa6O01 uSIA== MIME-Version: 1.0 Received: by 10.60.21.198 with SMTP id x6mr310454oee.24.1343961607897; Thu, 02 Aug 2012 19:40:07 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.76.151.3 with HTTP; Thu, 2 Aug 2012 19:40:07 -0700 (PDT) Received: by 10.76.151.3 with HTTP; Thu, 2 Aug 2012 19:40:07 -0700 (PDT) In-Reply-To: <475A4E02EFF4724A9E58F55A56AC1316063F7161@APEVS1.ap.ci.root> 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> <475A4E02EFF4724A9E58F55A56AC1316063F7161@APEVS1.ap.ci.root> Date: Thu, 2 Aug 2012 19:40:07 -0700 X-Google-Sender-Auth: 5oLSJShTud3_BVNhZ2vaBlqnUX4 Message-ID: From: Adrian Chadd To: "Wright, Brett" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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:40:08 -0000 That looks right for fast diversity. Have you tried any plain nics? The ar5212 has a honking great amp plugged into it... Asrian On Aug 2, 2012 7:14 PM, "Wright, Brett" wrote: > > > > -----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 > > > > How've you been testing with diversity turned off? > > > > 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)? > > 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) > > > > > Which legacy NICs are you using too? I can give it a whirl locally and > > see if I see the same issues as you. > > > > I am using AR5213A on a ubiquity SR5. > > Thanks > Brett > >