From owner-freebsd-wireless@freebsd.org Mon Apr 17 15:20:04 2017 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D2E27D41F01 for ; Mon, 17 Apr 2017 15:20:04 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wr0-x233.google.com (mail-wr0-x233.google.com [IPv6:2a00:1450:400c:c0c::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 591841F33 for ; Mon, 17 Apr 2017 15:20:04 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-wr0-x233.google.com with SMTP id z109so85087339wrb.1 for ; Mon, 17 Apr 2017 08:20:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=TTRJzdpfnwWsH7dCyGP3wNXg3KKZ7OY7TvRQBRBx4HU=; b=IZ9o+lC1Py3PUY4f4oI3Q1toFYeHkgIy1pmAXH1obzIV4zk1lUzDg09HLN6Ob24WH0 D1Rbk2nMihReqjs16ftgluEvF7aaMzbY5QahMyCHfY/gQFWbnNHACz0ScA23ZjzxDhLl SgFM04HgIl9OJPB43KLv5rI+4Cx94I7Hedboxne9+ZPXpRz3RqZm0zseJpvxh9jd1B5Y hEIbispDvq9/xryDgXIEiIWbcwWb/NT6IQo49iiKI++H8Gz71vfbmO8Ojduq+HmfvTZS K9PJcjPV30XPW2N7zkQk9XkQf28R1a3XdYccmNbqQwMzBWdIDaYcNrjuJtaMlbzg2Wq3 m3gA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=TTRJzdpfnwWsH7dCyGP3wNXg3KKZ7OY7TvRQBRBx4HU=; b=ArccPV7gD9Riv0pBlEZT4XhZ4mUDM9V6Yts+KxTFUJ+RkPrycYBM8VIX/zCF3CgOn4 mo5uD3oMqQ8UBFmq/cg+N3N3W6Hsn44rpKF5bViGe+dRx6Pgy09rF+qPhLD+EKz0Q0OS VsQTUOu/2nOgRaBQp2ZkSTJeiI4gkpoDsYR9ONLrag0wgIdwcXcKYh1O1EWpkQg7DygW 92NkAVaaq3bQDZPWe1Vh+nWm6MwYkRIu1Bnvlo58pJx1gGOVLVWPthSi7xKrdCNYX7Dj PLj9u+d1fYn5zLiOpTOSXr0YxVRXZeP8NJ81JUwVn0jzYnJ3GvIgAk4E1OpE+2XK+ezi jnFA== X-Gm-Message-State: AN3rC/5/s8S/Cc1Sg7ZBPFZSFENiO4R6EflQG71jiuuCqr4DT3F7qRr9 9idxOw3iE/8X9r+q4971z5FObLSs1hRV X-Received: by 10.223.152.107 with SMTP id v98mr17965777wrb.60.1492442402663; Mon, 17 Apr 2017 08:20:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.185.66 with HTTP; Mon, 17 Apr 2017 08:20:01 -0700 (PDT) Received: by 10.28.185.66 with HTTP; Mon, 17 Apr 2017 08:20:01 -0700 (PDT) In-Reply-To: <20170417090805.GA3532@c720-r314251> References: <20170416174731.GA5470@c720-r314251> <20170416194740.GB2459@c720-r314251> <20170417090805.GA3532@c720-r314251> From: Adrian Chadd Date: Mon, 17 Apr 2017 08:20:01 -0700 Message-ID: Subject: Re: poor WLAN throughput in only one direction To: Matthias Apitz Cc: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.23 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: Mon, 17 Apr 2017 15:20:04 -0000 Sorry I meant wlandebug +rate and check dmesg On Apr 17, 2017 2:08 AM, "Matthias Apitz" wrote: > El d=C3=ADa domingo, abril 16, 2017 a las 01:11:51p. m. -0700, Adrian Cha= dd > escribi=C3=B3: > > > hi, sorry, was on my phone > > > > * recompile with IEEE80211_DEBUG > > Hello, > > It seems that the option is already enabled in the CURRENT kernel: > > [root@e6330-r314251 /usr/src]# grep IEEE80211_DEBUG > ./sys/amd64/conf/GENERIC > options IEEE80211_DEBUG # enable debug msgs > > > > * then compile src/tools/tools/net80211, (cd in there, type 'make') > > and it'll build wlanstats. Then run that. :) > > I made the tool and run it parralel to the SCP (from the rtwn0 to the ath= 0) > which is going dowm from around 2MB/s to some 100KB/s; see below; > > > > > wlanstats +rate will log rate control statistics, which hopefully for > > rtwn will tell us what's going on. > > # /usr/src/tools/tools/net80211/wlanstats/wlanstats -i wlan0 +rate > input mgmt output rxkid ascan bgscn bmiss rssi noise rate > 7036 7458 13354 0 1 0 0 22.5 -95 6.0M > 0 10 0 0 0 0 0 23.0 -95 6.0M > 0 9 0 0 0 0 0 23.0 -95 6.0M > 11 10 12 0 0 0 0 25.5 -95 9.0M > 82 8 179 0 0 0 0 25.5 -95 9.0M > 98 9 199 0 0 0 0 26.5 -95 9.0M > 122 10 250 0 0 0 0 26.0 -95 9.0M > 88 8 177 0 0 0 0 26.0 -95 9.0M > 89 7 178 0 0 0 0 26.5 -95 9.0M > 95 10 191 0 0 0 0 26.5 -95 11.0M > 98 10 198 0 0 0 0 26.5 -95 11.0M > 125 9 250 0 0 0 0 26.0 -95 11.0M > 123 9 246 0 0 0 0 26.0 -95 6.0M > 86 9 172 0 0 0 0 26.0 -95 6.0M > 99 7 198 0 0 0 0 26.0 -95 5.5M > 54 8 110 0 0 0 0 26.0 -95 2.0M > 48 10 94 0 0 0 0 25.5 -95 5.5M > 64 7 131 0 0 0 0 25.5 -95 1.0M > 21 9 42 0 0 0 0 25.0 -95 1.0M > 31 10 63 0 0 0 0 24.5 -95 1.0M > 36 9 69 0 0 0 0 25.0 -95 1.0M > input mgmt output rxkid ascan bgscn bmiss rssi noise rate > 8430 7645 16159 0 1 0 0 25.0 -95 1.0M > 32 8 65 0 0 0 0 25.0 -95 1.0M > 22 9 43 0 0 0 0 25.0 -95 2.0M > 60 10 121 0 0 0 0 25.0 -95 2.0M > 37 10 73 0 0 0 0 25.0 -95 2.0M > 36 8 72 0 0 0 0 25.0 -95 2.0M > 75 9 151 0 0 0 0 24.5 -95 5.5M > 69 7 136 0 0 0 0 26.0 -95 5.5M > 80 9 159 0 0 0 0 25.5 -95 5.5M > 75 7 151 0 0 0 0 26.0 -95 5.5M > 65 8 128 0 0 0 0 25.0 -95 2.0M > 52 9 107 0 0 0 0 25.5 -95 5.5M > 61 8 121 0 0 0 0 26.0 -95 2.0M > 44 7 88 0 0 0 0 26.0 -95 2.0M > 54 8 107 0 0 0 0 26.0 -95 2.0M > 40 10 80 0 0 0 0 25.5 -95 2.0M > 50 9 100 0 0 0 0 25.5 -95 2.0M > 52 9 103 0 0 0 0 25.5 -95 2.0M > 69 9 120 0 0 0 0 26.0 -95 2.0M > 24 9 24 0 0 0 0 25.0 -95 2.0M > 0 10 0 0 0 0 0 24.0 -95 2.0M > > Anything else? > > matthias > > > -- > Matthias Apitz, =E2=9C=89 guru@unixarea.de, =E2=8C=82 http://www.unixarea= .de/ =E2=98=8E > +49-176-38902045 >