Date: Wed, 18 Jul 2012 16:43:12 -0700 From: Adrian Chadd <adrian.chadd@gmail.com> To: Kim Culhan <w8hdkim@gmail.com> Cc: freebsd-wireless@freebsd.org Subject: Re: AR9227 hostap on FreeBSD 10-current Message-ID: <CAJ-Vmo=2ZAFUiu07DND0NwnuwjmfPFcxEaro%2Bhe-MKjih6H=rw@mail.gmail.com> In-Reply-To: <CAKZxVQUZGx_MM%2Bc0PbSnLCn9=wHTRPTZbLREM_swqyF1sQ4-yg@mail.gmail.com> References: <CAKZxVQUKR1dcaQ%2BjK-%2BbF3hx8oehBkr5NEWWg4xRuuhSAPKHuA@mail.gmail.com> <CAJ-VmomCJb5v2juyUxbVk86ETY37K1iBdBAbHJ-njC9NxMS92g@mail.gmail.com> <CAKZxVQUZGx_MM%2Bc0PbSnLCn9=wHTRPTZbLREM_swqyF1sQ4-yg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 18 July 2012 16:32, Kim Culhan <w8hdkim@gmail.com> wrote: > On Wed, Jul 18, 2012 at 6:54 PM, Adrian Chadd <adrian.chadd@gmail.com> wrote: >> It says HT40, so it's 11n. >> >> Do 'ifconfig wlan0 list sta', see what speeds the stations are at. >> >> Do 'sysctl dev.ath.0.sample_stats=1' and check dmesg, see whether it's >> TXing using MCS or legacy rates. > > ifconfig list sta returns: > > ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG > 90:f6:52:76:ec:98 3 11 135M 20.0 0 872 22944 EPS AQEHTRS > WME HTCAP ATH RSN > f8:d1:11:39:4f:b4 1 11 243M 22.0 0 273 64208 EPS AQEHTRS > RSN WME HTCAP Yup! 11n rates. > The first sta is a TP-Link TL-WA701ND in client mode > > The second sta is the other AR9227 device which is a TP-Link TL-WN851ND V1 > > sysctl dev.ath.0.sample_stats=1 > > returns > > dev.ath.0.sample_stats: 0 -> 0 Then check 'dmesg'. I'd really like to export the ath and net80211 rate control information to userland in a sensible way, rather than constantly checking dmesg for this. Maybe I'll work on that tonight. Adrian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmo=2ZAFUiu07DND0NwnuwjmfPFcxEaro%2Bhe-MKjih6H=rw>