From owner-freebsd-wireless@FreeBSD.ORG Thu Mar 28 20:31:17 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 67B83E05; Thu, 28 Mar 2013 20:31:17 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: from mail-ie0-x230.google.com (mail-ie0-x230.google.com [IPv6:2607:f8b0:4001:c03::230]) by mx1.freebsd.org (Postfix) with ESMTP id 2DFA2171; Thu, 28 Mar 2013 20:31:17 +0000 (UTC) Received: by mail-ie0-f176.google.com with SMTP id x14so11872154ief.7 for ; Thu, 28 Mar 2013 13:31:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=GB90e3yT7fkRT+FpOfhMgwox85hkxhq64E608sO05Nw=; b=VWdg1z3LwZ5Ih+jUQxjki3uuR09pO+3w3ixWx7bIMRUcPUhI3yEfhbiDuqqfu+ukMA 4S4KaIfRHKZAjY5Q3MntGs3kgL/tUVoVklRKET5KiSJGijVB7LermWvoT14x8wHnEKDr EG3kouLEaaA2K+g9J12eX9WbQ5TXPSW/5iHierQVl0ANFkR1qmUXM0gkXwVUy/4Grmn0 iX5pywOxiQk5f1Qg656wRTbajubgfQzroZDdNGbER7r+P/22yyHiIN89K1c4srjrb2k/ pwEC8L6FqwA3at2aEtsBzzxgvAdKh0VTnJWgw+ejQxzcgmpZfQAZoGL8Y9Qbb0phdGgK WBZg== X-Received: by 10.50.176.129 with SMTP id ci1mr8459100igc.53.1364502676476; Thu, 28 Mar 2013 13:31:16 -0700 (PDT) Received: from [192.168.1.44] (c-98-212-197-211.hsd1.il.comcast.net. [98.212.197.211]) by mx.google.com with ESMTPS id wn10sm11996713igb.2.2013.03.28.13.31.15 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 28 Mar 2013 13:31:15 -0700 (PDT) Message-ID: <5154A891.2010303@gmail.com> Date: Thu, 28 Mar 2013 15:31:13 -0500 From: Joshua Isom User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 MIME-Version: 1.0 To: Adrian Chadd Subject: Re: [wip] ar9300 hostap support References: <51522277.6040107@gmail.com> <51523B6F.5010506@gmail.com> <51538239.9030903@gmail.com> <5153852A.1040508@gmail.com> <5154A3F1.1090200@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 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, 28 Mar 2013 20:31:17 -0000 On 3/28/2013 3:15 PM, Adrian Chadd wrote: > On 28 March 2013 13:11, Joshua Isom wrote: > >>> I'd like to see if any other TX queue has a frame hanging around in it >>> that hasn't been completed. >> >> >> I had syslogd pipe the output to a perl script to set the sysctl, not ideal >> but effective I hope. I've got two today. >> >>> Mar 28 07:03:01 jri kernel: ath0: ath_edma_tx_processq: Q1: empty? > > .. interesting. > > > This is the interesting bit. > >>> Mar 28 07:03:02 jri kernel: HW TXQ 0: axq_depth=0, axq_aggr_depth=0, >>> axq_fifo_depth=0, holdingbf=0 >>> Mar 28 07:03:02 jri kernel: HW TXQ 1: axq_depth=0, axq_aggr_depth=0, >>> axq_fifo_depth=0, holdingbf=0 >>> Mar 28 07:03:02 jri kernel: HW TXQ 2: axq_depth=0, axq_aggr_depth=0, >>> axq_fifo_depth=0, holdingbf=0 >>> Mar 28 07:03:02 jri kernel: HW TXQ 3: axq_depth=0, axq_aggr_depth=0, >>> axq_fifo_depth=0, holdingbf=0 >>> Mar 28 07:03:02 jri kernel: HW TXQ 8: axq_depth=0, axq_aggr_depth=0, >>> axq_fifo_depth=0, holdingbf=0 > > Right. None of these have any frames stuck in the FIFO. Good. Now, I > have to go chase down why we're seeing this. > I just noticed something odd, it counts from 0, 1, 2, 3, 8. It skips 4-7 and 9. Why aren't the rest set up? > > oh I have attenuators. :-) > > Is it plausibly 7-9 dB in your environment? :-) I'm worried that I've > not done the chip setup right and it's acting deaf-y. > Every device has poor reception in that room, but FreeBSD is the only one I can get numbers from. That's why the antenna I'm doing is directional. My laptop has an Intel chip, and even Intel's "Advanced Statistics" gives me no real numbers. The best I could give you is a "bar" count. > > Adrian >