Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jul 2012 19:53:39 -0400
From:      Kim Culhan <w8hdkim@gmail.com>
To:        Adrian Chadd <adrian.chadd@gmail.com>
Cc:        freebsd-wireless@freebsd.org
Subject:   Re: AR9227 hostap on FreeBSD 10-current
Message-ID:  <CAKZxVQXjwHo8q9xuDZdDJ1=ZxUedfLy=92BnUDcQ-yJ=1n4eAw@mail.gmail.com>
In-Reply-To: <CAJ-VmomCJb5v2juyUxbVk86ETY37K1iBdBAbHJ-njC9NxMS92g@mail.gmail.com>
References:  <CAKZxVQUKR1dcaQ%2BjK-%2BbF3hx8oehBkr5NEWWg4xRuuhSAPKHuA@mail.gmail.com> <CAJ-VmomCJb5v2juyUxbVk86ETY37K1iBdBAbHJ-njC9NxMS92g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 18, 2012 at 6:54 PM, Adrian Chadd <adrian.chadd@gmail.com> wrote:
>
> Do 'sysctl dev.ath.0.sample_stats=1' and check dmesg, see whether it's
> TXing using MCS or legacy rates.

I was so inclined to think the sysctl command returning 0

dev.ath.0.sample_stats: 0 -> 0

was a problem..

That I didn't notice the output to syslog:

Jul 18 19:43:35 foo kernel: [f8:d1:11:39:3d:e5] refcnt 4 static_rix (1
Mb ) ratemask 0x0
Jul 18 19:43:35 foo kernel: [ 250] cur rix 0 (1 Mb ) since switch:
packets 0 ticks 0
Jul 18 19:43:35 foo kernel: [ 250] last sample (1 Mb ) cur sample (1
Mb ) packets sent 0
Jul 18 19:43:35 foo kernel: [ 250] packets since sample 0 sample tt 0
Jul 18 19:43:35 foo kernel: [1600] cur rix 0 (1 Mb ) since switch:
packets 0 ticks 0
Jul 18 19:43:35 foo kernel: [1600] last sample (1 Mb ) cur sample (1
Mb ) packets sent 0
Jul 18 19:43:35 foo kernel: [1600] packets since sample 0 sample tt 0
Jul 18 19:43:35 foo kernel:
Jul 18 19:43:35 foo kernel: [90:f6:52:76:ec:98] refcnt 3 static_rix
(-1 ) ratemask 0xfffcf
Jul 18 19:43:35 foo kernel: [ 250] cur rix 17 (5 MCS) since switch:
packets 1 ticks 6846806
Jul 18 19:43:35 foo kernel: [ 250] last sample (5 MCS) cur sample (-1
) packets sent 27
Jul 18 19:43:35 foo kernel: [ 250] packets since sample 16 sample tt 424
Jul 18 19:43:35 foo kernel: [1600] cur rix 18 (6 MCS) since switch:
packets 1 ticks 7137107
Jul 18 19:43:35 foo kernel: [1600] last sample (7 MCS) cur sample (-1
) packets sent 1075
Jul 18 19:43:35 foo kernel: [1600] packets since sample 2 sample tt 500
Jul 18 19:43:35 foo kernel: [ 1 Mb : 250]       16:16       (100%)
(EWMA 100.0%) T       17 F    0 avg  3455 last 519158
Jul 18 19:43:35 foo kernel: [ 1 MCS:1600]        1:1        (100%)
(EWMA 100.0%) T        1 F    0 avg   880 last 6524651
Jul 18 19:43:35 foo kernel: [ 2 MCS:1600]        4:4        (100%)
(EWMA 100.0%) T        4 F    0 avg   724 last 1497425
Jul 18 19:43:35 foo kernel: [ 3 MCS:1600]      234:234      (100%)
(EWMA 100.0%) T      234 F    0 avg   644 last 2009392
Jul 18 19:43:35 foo kernel: [ 4 MCS: 250]       10:10       (100%)
(EWMA 100.0%) T       10 F    0 avg   432 last 4132665
Jul 18 19:43:35 foo kernel: [ 4 MCS:1600]      123:123      (100%)
(EWMA 100.0%) T      123 F    0 avg   939 last 1078408
Jul 18 19:43:35 foo kernel: [ 5 MCS: 250]       17:17       (100%)
(EWMA 100.0%) T       17 F    0 avg   424 last 297595
Jul 18 19:43:35 foo kernel: [ 5 MCS:1600]      206:206      (100%)
(EWMA 100.0%) T      212 F    0 avg   802 last 938268
Jul 18 19:43:35 foo kernel: [ 6 MCS:1600]      240:239      ( 99%)
(EWMA  98.1%) T      247 F    0 avg   512 last 7296
Jul 18 19:43:35 foo kernel: [ 7 MCS:1600]      267:267      (100%)
(EWMA 100.0%) T      283 F    0 avg  1015 last 26908
Jul 18 19:43:35 foo kernel:
Jul 18 19:43:35 foo kernel: [f8:d1:11:38:4a:b3] refcnt 3 static_rix
(-1 ) ratemask 0xfffffcf
Jul 18 19:43:35 foo kernel: [ 250] cur rix 27 (15 MCS) since switch:
packets 1 ticks 7135118
Jul 18 19:43:35 foo kernel: [ 250] last sample (0 MCS) cur sample (-1
) packets sent 3407
Jul 18 19:43:35 foo kernel: [ 250] packets since sample 5 sample tt 556
Jul 18 19:43:35 foo kernel: [1600] cur rix 26 (14 MCS) since switch:
packets 1 ticks 7129062
Jul 18 19:43:35 foo kernel: [1600] last sample (15 MCS) cur sample (-1
) packets sent 3257
Jul 18 19:43:35 foo kernel: [1600] packets since sample 48 sample tt 5007
Jul 18 19:43:35 foo kernel: [ 1 Mb : 250]       16:16       (100%)
(EWMA 100.0%) T       16 F    0 avg  3216 last 519169
Jul 18 19:43:35 foo kernel: [ 0 MCS: 250]        3:3        (100%)
(EWMA 100.0%) T        3 F    0 avg   556 last 20979
Jul 18 19:43:35 foo kernel: [ 1 MCS: 250]       10:10       (100%)
(EWMA 100.0%) T       10 F    0 avg   538 last 237380
Jul 18 19:43:35 foo kernel: [ 1 MCS:1600]        5:5        (100%)
(EWMA 100.0%) T        4 F    0 avg   757 last 1236217
Jul 18 19:43:35 foo kernel: [ 2 MCS: 250]       35:35       (100%)
(EWMA 100.0%) T       32 F    0 avg   502 last 219938
Jul 18 19:43:35 foo kernel: [ 2 MCS:1600]        1:1        (100%)
(EWMA 100.0%) T        1 F    0 avg   724 last 6238090
Jul 18 19:43:35 foo kernel: [ 3 MCS: 250]       34:34       (100%)
(EWMA 100.0%) T       34 F    0 avg   705 last 219741
Jul 18 19:43:35 foo kernel: [ 3 MCS:1600]        3:3        (100%)
(EWMA 100.0%) T        3 F    0 avg   644 last 441418
Jul 18 19:43:35 foo kernel: [ 4 MCS: 250]       80:80       (100%)
(EWMA 100.0%) T       79 F    0 avg   612 last 215484
Jul 18 19:43:35 foo kernel: [ 4 MCS:1600]       10:10       (100%)
(EWMA 100.0%) T       10 F    0 avg   564 last 441209
Jul 18 19:43:35 foo kernel: [ 5 MCS: 250]       36:36       (100%)
(EWMA 100.0%) T       40 F    0 avg   685 last 211387
Jul 18 19:43:35 foo kernel: [ 5 MCS:1600]       13:13       (100%)
(EWMA 100.0%) T       13 F    0 avg   568 last 666168
Jul 18 19:43:35 foo kernel: [ 6 MCS: 250]       17:17       (100%)
(EWMA 100.0%) T       17 F    0 avg   559 last 210983
Jul 18 19:43:35 foo kernel: [ 6 MCS:1600]       13:13       (100%)
(EWMA 100.0%) T       13 F    0 avg   553 last 237212
Jul 18 19:43:35 foo kernel: [ 7 MCS: 250]      267:267      (100%)
(EWMA 100.0%) T      263 F    0 avg   682 last 172738
Jul 18 19:43:35 foo kernel: [ 7 MCS:1600]       33:33       (100%)
(EWMA 100.0%) T       30 F    0 avg   574 last 666004
Jul 18 19:43:35 foo kernel: [ 8 MCS: 250]      101:101      (100%)
(EWMA 100.0%) T      101 F    0 avg   844 last 154914
Jul 18 19:43:35 foo kernel: [ 9 MCS: 250]        9:9        (100%)
(EWMA 100.0%) T        9 F    0 avg  1481 last 152859
Jul 18 19:43:35 foo kernel: [ 9 MCS:1600]        6:6        (100%)
(EWMA 100.0%) T        6 F    0 avg   648 last 1178595
Jul 18 19:43:35 foo kernel: [10 MCS: 250]      245:245      (100%)
(EWMA 100.0%) T      243 F    0 avg  1471 last 149876
Jul 18 19:43:35 foo kernel: [10 MCS:1600]      209:209      (100%)
(EWMA 100.0%) T      207 F    0 avg   817 last 442919
Jul 18 19:43:35 foo kernel: [11 MCS: 250]      152:152      (100%)
(EWMA 100.0%) T      154 F    0 avg   992 last 147713
Jul 18 19:43:35 foo kernel: [11 MCS:1600]       59:59       (100%)
(EWMA 100.0%) T       57 F    0 avg   937 last 443308
Jul 18 19:43:35 foo kernel: [12 MCS: 250]      659:659      (100%)
(EWMA 100.0%) T      656 F    0 avg  1375 last 145350
Jul 18 19:43:35 foo kernel: [12 MCS:1600]       35:35       (100%)
(EWMA 100.0%) T       37 F    0 avg  1107 last 443266
Jul 18 19:43:35 foo kernel: [13 MCS: 250]      308:308      (100%)
(EWMA 100.0%) T      302 F    0 avg  1154 last 112784
Jul 18 19:43:35 foo kernel: [13 MCS:1600]      248:248      (100%)
(EWMA 100.0%) T      245 F    0 avg   758 last 232451
Jul 18 19:43:35 foo kernel: [14 MCS: 250]      881:879      ( 99%)
(EWMA  98.8%) T      876 F    0 avg  1097 last 80934
Jul 18 19:43:35 foo kernel: [14 MCS:1600]     1574:1572     ( 99%)
(EWMA  98.5%) T     1597 F    0 avg   571 last 15359
Jul 18 19:43:35 foo kernel: [15 MCS: 250]      632:630      ( 99%)
(EWMA  98.1%) T      671 F    0 avg   544 last 9304
Jul 18 19:43:35 foo kernel: [15 MCS:1600]     1166:1157     ( 99%)
(EWMA  98.1%) T     1195 F    0 avg  1324 last 215248



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKZxVQXjwHo8q9xuDZdDJ1=ZxUedfLy=92BnUDcQ-yJ=1n4eAw>