AR9227 hostap on FreeBSD 10-current

Adrian Chadd adrian.chadd at gmail.com
Wed Jul 18 23:43:13 UTC 2012


On 18 July 2012 16:32, Kim Culhan <w8hdkim at gmail.com> wrote:
> On Wed, Jul 18, 2012 at 6:54 PM, Adrian Chadd <adrian.chadd at 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


More information about the freebsd-wireless mailing list