From owner-freebsd-wireless@FreeBSD.ORG Tue Dec 3 09:34:47 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0846AF98 for ; Tue, 3 Dec 2013 09:34:47 +0000 (UTC) Received: from mail-qa0-x22d.google.com (mail-qa0-x22d.google.com [IPv6:2607:f8b0:400d:c00::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B8D95130B for ; Tue, 3 Dec 2013 09:34:46 +0000 (UTC) Received: by mail-qa0-f45.google.com with SMTP id o15so5401952qap.11 for ; Tue, 03 Dec 2013 01:34:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=sNw82hoY9OQLnfD2LUl5dtPK0a9wqQpJNRIQK73kUTA=; b=ng+Q6a9W9HdjiyQ8Y190rtH7U9ncaqbIZurT1Ug8mG0E0+MZAo8IJ9p0YSILmz994/ UqZmDZD4DCQXehnDg2hCvsTRSHkn5qn817pPZsj6wXte0nK1ToExXBeDzM0rB6ByfoLL UwFrrYY3aboLLXpgm1SJRWmM97rOvC9efzZYLJzLypK53z0Pi8HejcWs0caebltJczkc bds/bLfpTSZiTRjoYpqvAQoXJIR7bbdW+QcdDsZag7QcIBleWhe6iPZkWn/lF+n/1MsY m9y6YDan5RtnWpIjLnw/c1DGHszNzBZXNnmD4ZMf3Q8WGgs8wN9s0kYrglOCBXCOCKB2 1WYA== MIME-Version: 1.0 X-Received: by 10.49.17.232 with SMTP id r8mr123323478qed.74.1386063285991; Tue, 03 Dec 2013 01:34:45 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.53.200 with HTTP; Tue, 3 Dec 2013 01:34:45 -0800 (PST) Received: by 10.224.53.200 with HTTP; Tue, 3 Dec 2013 01:34:45 -0800 (PST) In-Reply-To: <20131203074749.GE14900@kiwi.coupleofllamas.com> References: <20131203074749.GE14900@kiwi.coupleofllamas.com> Date: Tue, 3 Dec 2013 01:34:45 -0800 X-Google-Sender-Auth: xXNxtxSosyf_s6-1bubUsVMK8EM Message-ID: Subject: Re: iwn(4) driver showing poor performance, variable media selection on 10.0-BETA3 From: Adrian Chadd To: "R. Tyler Croy" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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: Tue, 03 Dec 2013 09:34:47 -0000 What's the pci id string? Pciconf -lv On Dec 2, 2013 11:48 PM, "R. Tyler Croy" wrote: > I recently installed FreeBSD 10.0-BETA3 onto my Thinkpad X200, everything > is > largely running fine except the wireless performance leaves a lot to be > desired. > > I've got an older Thinkpad T43 running -CURRENT next to the X200 in the > same > exact room, same distance from the AP, but with an iwi(4) card in it. > > The T43 will download large files between 100-200KB/s, and the "media" > mode for > wlan0 is "OFDM/48Mbps" which seems non-crazy. > > The X200 however will get between 20-90KB/s on the same files, and the > "media" > mode will oscillate *dramatically* during the transfer. I've watched it go > from > OFDM/54Mbps, down to 48Mbps, to 16Mbps, to DS/1Mbps which is where it > seems to > idle. > > I've started looking at the output of wlanstats(1) and nothing jumps out > at me, > then again, I'm a noob so what do I know: > > [23:35:28] tyler:~ $ wlanstats > 8 rx frame too short > 30 rx from wrong bssid > 802156 rx discard 'cuz dup > 4 rx discard 'cuz mcast echo > 172272 rx beacon frames > 175177 rx element unknown > 996 rx frame chan mismatch > 61 rx seq# violation (TKIP) > 42 active scans started > 41 background scans started > 1072961 tkip crypto done in s/w > 405918 tkip tx MIC done in s/w > 667043 tkip rx MIC done in s/w > 173976 rx management frames > 667045 total data frames received > 663976 unicast data frames received > 3069 multicast data frames received > 406278 total data frames transmit > 405920 unicast data frames sent > 1M current transmit rate > 22 current rssi > -86 current noise floor (dBm) > -64 current signal (dBm) > > The only thing that looks removely suspicious is the "rx discard" segment, > but > again, I plead noob. > > > Any pointers would be useful and appreciated! > > - R. Tyler Croy > ------------------ > Code: https://github.com/rtyler > Chatter: https://twitter.com/agentdero > rtyler@jabber.org > >