From owner-freebsd-wireless@FreeBSD.ORG Fri Aug 3 02:42:36 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 BDCAD106564A for ; Fri, 3 Aug 2012 02:42:36 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7208C8FC0A for ; Fri, 3 Aug 2012 02:42:36 +0000 (UTC) Received: by obbun3 with SMTP id un3so421240obb.13 for ; Thu, 02 Aug 2012 19:42:35 -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=Iqe6GIeppt+4fgsXRiO+Gp28il+arYF+dDZg0BK2+vk=; b=Alg0/CjWs14/RVQZDrQCcOZoqobxj7Bu6PYdIcdUJ8f///lnxtPXZhl3j1HyBel0J7 iuRN3X57UOsjS5xBGYG49UFweF8A+taqclMPCPCGpsCgtt2WYzkqjemqCENOD5aG/Tdb XpeGGqWUCj7ldM5GeADkLpccDazc7gO7gPihbAxVuj8OM96JEYawtP2nX3lWyXpzr7R0 K/7nAc2P6/VEt60StQ/EmLW2YUcllxz8Mt59ppDx7mVdDy+CkBZXLMk8JrG7cZS3Z8BO ltmUeouIbtHR7hm1fFnr0kfFiIJ9Ke7Lbi+hdZs3QJIkpBRKZ9cIVG/YohFYJVJ/MnMG nEzw== MIME-Version: 1.0 Received: by 10.182.50.103 with SMTP id b7mr467256obo.15.1343961755715; Thu, 02 Aug 2012 19:42:35 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.76.151.3 with HTTP; Thu, 2 Aug 2012 19:42:35 -0700 (PDT) Received: by 10.76.151.3 with HTTP; Thu, 2 Aug 2012 19:42:35 -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:42:35 -0700 X-Google-Sender-Auth: fzeHkq8CLYYTt0QmptwLOBc7wQ0 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:42:36 -0000 Hm. Theres also strong signal diversity. Lemme dig that up. 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 > >