From owner-freebsd-wireless@FreeBSD.ORG Thu Mar 28 20:15:27 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2EE116E5 for ; Thu, 28 Mar 2013 20:15:27 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wi0-x22b.google.com (mail-wi0-x22b.google.com [IPv6:2a00:1450:400c:c05::22b]) by mx1.freebsd.org (Postfix) with ESMTP id B9D57D8 for ; Thu, 28 Mar 2013 20:15:26 +0000 (UTC) Received: by mail-wi0-f171.google.com with SMTP id hn17so3687480wib.4 for ; Thu, 28 Mar 2013 13:15:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=S4NaiD27bTotC05fdVn701S1eLWcSkhExQvDT1xuGEM=; b=mCobylJgzDQID13zOARm1tFa2oLrSW8deJ6TvmDabaguSGSi50NWlzXu1jJEmE7+CV kDW2b+2jjKw9x6inKKUfryFD9aAZM09vbENhtg6Dgw5jsGGdeJO6JwyE0ajIXR7PZWZ+ 6Q5ZxBspmAa+M6mTR8M1wtsj4Nqghhu4r1tv4bX8WqOF5T8RvQK3XicJ2Op0ytbfkS68 1ksk3Z6LTvtu8uQ1DLik+k3Utpw3PNx074BLmSQTlqiJ4E4RfwK3r4JpfKu7m/Lqql7t J20yBtHOjju/W1PJCexeTKUtoHpZj8Jlk7diPgibBaqZhdqWqgbiXgkwLAfioOyDfAQc 4NtQ== MIME-Version: 1.0 X-Received: by 10.181.11.164 with SMTP id ej4mr18879128wid.29.1364501725922; Thu, 28 Mar 2013 13:15:25 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.216.108.130 with HTTP; Thu, 28 Mar 2013 13:15:25 -0700 (PDT) In-Reply-To: <5154A3F1.1090200@gmail.com> References: <51522277.6040107@gmail.com> <51523B6F.5010506@gmail.com> <51538239.9030903@gmail.com> <5153852A.1040508@gmail.com> <5154A3F1.1090200@gmail.com> Date: Thu, 28 Mar 2013 13:15:25 -0700 X-Google-Sender-Auth: 6cLEaUL-0BfO_suCloUcdHn5TFY Message-ID: Subject: Re: [wip] ar9300 hostap support From: Adrian Chadd To: Joshua Isom Content-Type: text/plain; charset=ISO-8859-1 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:15:27 -0000 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. >> Also, whats the output if 'ifconfig wlan0 list sta'? I wonder what the >> RSSI is and I do wonder why you see frequent disconnects. >> > > My RSSI tends to be between 7.0 and 8.5, I don't think I've seen 9.0 yet. > I'm still working on improving my signal but at least for right now it's > stable enough to be usable. Try making a little Faraday cage around your > router, or put openwrt on it and drop your signal down for your connection. > Don't forget to add a dozen random wifi APs and devices. 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. Adrian