From owner-freebsd-wireless@FreeBSD.ORG Sat Sep 22 09:04:49 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 EF2E91065674 for ; Sat, 22 Sep 2012 09:04:48 +0000 (UTC) (envelope-from jhugo@meraka.csir.co.za) Received: from marge.meraka.csir.co.za (marge.meraka.csir.co.za [IPv6:2001:4200:7000:3::1]) by mx1.freebsd.org (Postfix) with ESMTP id 867338FC18 for ; Sat, 22 Sep 2012 09:04:46 +0000 (UTC) Received: from jeep.localnet (unknown [IPv6:2001:4200:7000:3:223:aeff:fea7:a3c2]) by marge.meraka.csir.co.za (Postfix) with ESMTP id CD4E3D0CC65; Sat, 22 Sep 2012 11:04:44 +0200 (SAST) From: Johann Hugo To: Adrian Chadd Date: Sat, 22 Sep 2012 11:04:42 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.0-RELEASE-p3; KDE/4.7.3; amd64; ; ) References: <201209202357.06358.dantavious313@gmail.com> <201209221020.16702.jhugo@meraka.csir.co.za> In-Reply-To: X-KMail-Markup: true MIME-Version: 1.0 Message-Id: <201209221104.43360.jhugo@meraka.csir.co.za> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-wireless@freebsd.org Subject: Re: Performance of AR9287 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: Sat, 22 Sep 2012 09:04:49 -0000 I'm still using a utility from Sam. athctrl -d 8000 Setup IFS parameters on interface ath0 for 8000 meter p-2-p link dev.ath.0.slottime=36 dev.ath.0.acktimeout=75 dev.ath.0.ctstimeout=75 Are these settings still good ? Are there any way do detect these automatically ? Johann On Saturday 22 September 2012 10:24:43 Adrian Chadd wrote: > I assume you've tweaked the ack, slot, rtsctstimeout? > > The 11n rate control code is a little more jumpy. I've fixed that in > recent checkins. It's not optimal but now it's not as jumpy as before. > > Update to -HEAD, then use 'athratestats' on the peer MAC address. It's > quite useful to see what's actually going on. :-) > > > > Adrian > > On 22 September 2012 01:20, Johann Hugo wrote: > > On Saturday 22 September 2012 02:05:23 Derrick Edwards wrote: > >> Thanks again for looking into this. > >> > >> My main concern was the range of network performance that I was getting > >> > >> when the laptop was right in front of the access point. As you can see > >> > >> bandwith varied greatly. > > > > I don't know if it's related, but my RSSI and RATE jumps around quite a > > lot while transfering a large file. > > > > > > > > Output from loop doing "ifconfig wlan0 list sta" while transfering a big > > file. > > > > > > > > ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG > > > > 00:0c:42:6c:58:29 1 128 86M 16.5 0 842 9440 E AQHTR HTCAP WME > > > > ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG > > > > 00:0c:42:6c:58:29 1 128 43M 12.5 0 1063 14784 E AQHTR HTCAP WME > > > > ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG > > > > 00:0c:42:6c:58:29 1 128 43M 15.5 0 1362 21088 E AQHTR HTCAP WME > > > > ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG > > > > 00:0c:42:6c:58:29 1 128 86M 15.5 0 1627 27488 E AQHTR HTCAP WME > > > > ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG > > > > 00:0c:42:6c:58:29 1 128 86M 13.5 0 2150 38976 E AQHTR HTCAP WME > > > > ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG > > > > 00:0c:42:6c:58:29 1 128 86M 11.5 0 2289 42384 E AQHTR HTCAP WME > > > > ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG > > > > 00:0c:42:6c:58:29 1 128 29M 24.5 0 3075 60016 E AQHTR HTCAP WME > > > > ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG > > > > 00:0c:42:6c:58:29 1 128 86M 28.5 0 3369 1600 E AQHTR HTCAP WME > > > > ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG > > > > 00:0c:42:6c:58:29 1 128 86M 14.0 0 3839 11744 E AQHTR HTCAP WME > > > > ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG > > > > 00:0c:42:6c:58:29 1 128 29M 13.5 0 87 19936 E AQHTR HTCAP WME > > > > ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG > > > > 00:0c:42:6c:58:29 1 128 58M 11.5 0 403 27440 E AQHTR HTCAP WME > > > > ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG > > > > 00:0c:42:6c:58:29 1 128 58M 12.5 0 758 35200 E AQHTR HTCAP WME > > > > ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG > > > > 00:0c:42:6c:58:29 1 128 58M 11.0 0 1054 42320 E AQHTR HTCAP WME > > > > ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG > > > > 00:0c:42:6c:58:29 1 128 58M 23.5 0 1249 46512 E AQHTR HTCAP WME > > > > ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG > > > > 00:0c:42:6c:58:29 1 128 29M 11.0 0 1381 49312 E AQHTR HTCAP WME > > > > ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG > > > > 00:0c:42:6c:58:29 1 128 58M 11.5 0 1584 54224 E AQHTR HTCAP WME > > > > > > > > System info = hybrid > > > > HW = gateworks ARM > > > > OS = FreeBSD-9 with ath code from current > > > > Wifi = RouterBOARD R52nM = AR9220 > > > > Distance = 8km > > > > > > > > B.t.w if I use the same HW with FreeBSD-9 in 11a mode, then RSSI does not > > jump around and I get about the same throuput as with N. > > > > > > > > I don't have any athstats output, still working on it. > > > > > > > > Johann r