From owner-freebsd-wireless@FreeBSD.ORG Fri Aug 24 17:52:00 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 2138F1065673 for ; Fri, 24 Aug 2012 17:52:00 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id E104D8FC0C for ; Fri, 24 Aug 2012 17:51:59 +0000 (UTC) Received: by pbbrp2 with SMTP id rp2so3985166pbb.13 for ; Fri, 24 Aug 2012 10:51:59 -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=tVpul+8VPvKS7gXeEv9fwGH6BGu5LhBwr15EgVrm/bc=; b=s9a6rxkjbxGWqzcYw5nn/QPBgwE1pKOdHB9liqSN4RSRpvUxANWi1dLTsoDH0MNfoq fUHkLoDgujPrM3wIhVCQQ4j8E7GZmji0Z6IWdPXusyQqBPZocZEkMuXmyMLyC/efUCKt cX7JxohJhvsW8xM1r4+eVaDVhKIJhhXYzbmFxf4GtXDFvjGpGt2uH+kOY9bzHrXup07a TUcjARj4RhQ2GRr/pucLR0gke2sz2RrrPBy/y54OAkDRxhOmVsvRNmJf8qIS6hLba8vF 2p2TzbI96ZAmR4Z/49mwVR82ZEinB+ptd5NOS8BpsvcAdM6NQ9sbrDqRitvuxKogi+aI JUAQ== MIME-Version: 1.0 Received: by 10.66.76.227 with SMTP id n3mr12297443paw.53.1345830719530; Fri, 24 Aug 2012 10:51:59 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.36.106 with HTTP; Fri, 24 Aug 2012 10:51:59 -0700 (PDT) In-Reply-To: <475A4E02EFF4724A9E58F55A56AC131606667F85@APEVS1.ap.ci.root> References: <475A4E02EFF4724A9E58F55A56AC13160641D618@APEVS1.ap.ci.root> <475A4E02EFF4724A9E58F55A56AC13160661E6AC@APEVS1.ap.ci.root> <475A4E02EFF4724A9E58F55A56AC13160661F137@APEVS1.ap.ci.root> <475A4E02EFF4724A9E58F55A56AC131606667F85@APEVS1.ap.ci.root> Date: Fri, 24 Aug 2012 10:51:59 -0700 X-Google-Sender-Auth: zKMLi9GwGpvGJ11zTb3FfoIjkEY Message-ID: From: Adrian Chadd To: "Wright, Brett" Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org, Kim Culhan 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, 24 Aug 2012 17:52:00 -0000 Hi Brett, I've been productive! * I've added a default radar parameter method to the AR5212 and AR5416 HALs, so now the default parameters are stored there; * I've extended dfs_null (behind #if 0 for now) to fetch these parameters and program them in - as well as only doing it for NICs where DFS is supported. * I've taught my pktlog/libradarpkt code (in user/adrian/ath_radar_stuff) to parse the AR5212 records - so all you need to do is set dev.ath.X.monpass=0xff, then run my pktlog program to see what's going on I haven't yet sat down and done actual radar pulse train detection with the AR5212 and I know it's just going to plain suck at doing chirps in a busy environment (as they just look like long pulses; there's no FFT data to assist the software in decoding what's going on) but it should be enough to get you started. Have you tried these NICs on different hardware? I wonder if you're seeing some kind of spur or board noise that's contributing to both the false detections and the high noise floor calibration value. I don't have an SR-5 here to test against I'm afraid.. Thanks, Adrian