From owner-freebsd-wireless@FreeBSD.ORG Sat Sep 22 19:33:26 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 4BED8106564A for ; Sat, 22 Sep 2012 19:33:26 +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 1EE718FC18 for ; Sat, 22 Sep 2012 19:33:25 +0000 (UTC) Received: by pbbrp8 with SMTP id rp8so627892pbb.13 for ; Sat, 22 Sep 2012 12:33:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Kcx27XNkp8Tts/9HhQ6z157oJ025aBG75RmUNSw5Ie4=; b=FVRUAGb+KiDXpx0MGcIP+CufF7goHV8QKBX+zml6RQ0u6Rq5f24vgtmjqLVOE1khWC shTCz40pA+8mn9pnDbW4oGhSEtJBNbv3KJ8FG9y0JKiRO801E5oC5ETaI90E+0UVM6Gf ohddmquWH+IFZ8k/l7EKK5dHbJeN17vSAu/05u88fNZY6mIfRzyXbG6mJ9aoKmVs7GN1 KKDQNV9n9DtVPaTC757klfbtdnjQdTPrACWR6aOmB8pgjriMe3Zu1faVfaUTlmfS/55y Qn+w3FXIRsL0YuSXp/SeQW7AF/WBRaaliCmnGQmfjkvE89TPqXlJnlF7UQfnOcXnJVzu 2UYg== MIME-Version: 1.0 Received: by 10.66.75.232 with SMTP id f8mr21885512paw.59.1348342405775; Sat, 22 Sep 2012 12:33:25 -0700 (PDT) Received: by 10.68.36.106 with HTTP; Sat, 22 Sep 2012 12:33:25 -0700 (PDT) In-Reply-To: <201209221104.43360.jhugo@meraka.csir.co.za> References: <201209202357.06358.dantavious313@gmail.com> <201209221020.16702.jhugo@meraka.csir.co.za> <201209221104.43360.jhugo@meraka.csir.co.za> Date: Sat, 22 Sep 2012 12:33:25 -0700 Message-ID: From: Adrian Chadd To: Johann Hugo Content-Type: text/plain; charset=ISO-8859-1 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 19:33:26 -0000 Ah. athctrl.sh ? adrian On 22 September 2012 02:04, Johann Hugo wrote: > 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