Date: Mon, 17 Apr 2017 11:08:05 +0200 From: Matthias Apitz <guru@unixarea.de> To: Adrian Chadd <adrian.chadd@gmail.com> Cc: "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org> Subject: Re: poor WLAN throughput in only one direction Message-ID: <20170417090805.GA3532@c720-r314251> In-Reply-To: <CAJ-VmomHrUkoTuNvC3oJ4KBibcp8irniCBP2FpC93dOWX4M-AQ@mail.gmail.com> References: <20170416174731.GA5470@c720-r314251> <CAJ-Vmo=CkveSKcYrzd=HaKFA5O9MfqiShMoEctf3vwUWm%2BmgyA@mail.gmail.com> <20170416194740.GB2459@c720-r314251> <CAJ-VmomHrUkoTuNvC3oJ4KBibcp8irniCBP2FpC93dOWX4M-AQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
El día domingo, abril 16, 2017 a las 01:11:51p. m. -0700, Adrian Chadd escribió:
> 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 ath0)
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, ✉ guru@unixarea.de, ⌂ http://www.unixarea.de/ ☎ +49-176-38902045
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170417090805.GA3532>
