Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[ath] AR9285/AR2427 users - please test -HEAD

15 views
Skip to first unread message

Adrian Chadd

unread,
Mar 13, 2011, 8:46:26 PM3/13/11
to
Hi all,

I've been working on AR9285 and AR2427 specific fixes. I seem to have
fixed the issues I've seen with my AR9285 and AR2427 (and my AR2427
actually performs better under FreeBSD than Linux. Hah!)

Just to be clear - the AR2427 support now seems to work and be stable.
I'm seeing 24mbit in iperf TCP tests in both TX and RX test.

Would people please give -head a test and report back to the list(s) ?

Thanks,


Adrian
_______________________________________________
freebsd...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "freebsd-mobil...@freebsd.org"

Vinícius Zavam

unread,
Mar 14, 2011, 9:00:54 PM3/14/11
to
2011/3/13 Adrian Chadd <adr...@freebsd.org>:

> Hi all,
>
> I've been working on AR9285 and AR2427 specific fixes. I seem to have
> fixed the issues I've seen with my AR9285 and AR2427 (and my AR2427
> actually performs better under FreeBSD than Linux. Hah!)
>
> Just to be clear - the AR2427 support now seems to work and be stable.
> I'm seeing 24mbit in iperf TCP tests in both TX and RX test.
>
> Would people please give -head a test and report back to the list(s) ?
>
> Thanks,
>
>
> Adrian

minimoose# uname -a
FreeBSD minimoose 9.0-CURRENT FreeBSD 9.0-CURRENT #7: Mon Mar 14
17:54:28 BRT 2011 root@minimoose:/usr/obj/usr/src/sys/MINIMOOSE
i386

minimoose# ifconfig wlan0 list scan
SSID/MESH ID BSSID CHAN RATE S:N INT CAPS
Zavam 00:26:5a:b1:da:92 1 54M -86:-96 100 EPS WPA RSN WME WPS
MRAZ d8:5d:4c:c8:57:60 1 54M -94:-96 100 EPS
fortalnet 00:0a:52:01:78:53 1 11M -95:-96 100 EP
Edvar 00:25:86:f8:5e:a8 6 54M -90:-96 100 EPS ATH TDMA
Almir Filho 00:21:91:6d:cd:7c 6 54M -90:-96 100 EPS
Marcelo Melo 00:1c:f0:7f:df:b8 11 54M -88:-96 100 EPS RSN
cervantes-rep1 00:0e:2e:bf:f1:91 7 11M -91:-96 100 EP

minimoose# dmesg | tail -11
wlan0: Ethernet address: 1c:4b:d6:a3:a3:d5

[1c:4b:d6:a3:a3:d5] refcnt 3 static_rix 0 ratemask 0x0
[ 250] cur rix 0 (6 Mb ) since switch: packets 0 ticks 0
[ 250] last sample 0 cur sample 0 packets sent 0
[ 250] packets since sample 0 sample tt 0
[1600] cur rix 0 (6 Mb ) since switch: packets 0 ticks 0
[1600] last sample 0 cur sample 0 packets sent 0
[1600] packets since sample 0 sample tt 0
wlan0: link state changed to UP
ath0: bb hang detected (0x80), resetting

minimoose# ifconfig wlan0
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 1c:4b:d6:a3:a3:d5
inet 192.168.136.245 netmask 0xfffffff0 broadcast 192.168.136.255
media: IEEE 802.11 Wireless Ethernet OFDM/48Mbps mode 11g
status: associated
ssid Zavam channel 1 (2412 MHz 11g) bssid 00:26:5a:b1:da:92
regdomain 96 indoor ecm authmode WPA2/802.11i privacy ON
deftxkey UNDEF TKIP 2:128-bit TKIP 3:128-bit txpower 20 bmiss 7
scanvalid 450 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7
roam:rate 5 protmode CTS wme burst roaming MANUAL

minimoose# egrep -i fbsdid /usr/src/sys/dev/ath/*
/usr/src/sys/dev/ath/if_ath.c:__FBSDID("$FreeBSD:
src/sys/dev/ath/if_ath.c,v 1.302 2011/03/02 17:19:54 adrian Exp $");
/usr/src/sys/dev/ath/if_ath_debug.c:__FBSDID("$FreeBSD:
src/sys/dev/ath/if_ath_debug.c,v 1.1 2011/01/29 05:08:21 adrian Exp
$");
/usr/src/sys/dev/ath/if_ath_keycache.c:__FBSDID("$FreeBSD:
src/sys/dev/ath/if_ath_keycache.c,v 1.1 2011/03/02 17:19:54 adrian Exp
$");
/usr/src/sys/dev/ath/if_ath_pci.c:__FBSDID("$FreeBSD:
src/sys/dev/ath/if_ath_pci.c,v 1.25 2009/05/15 17:02:11 imp Exp $");
/usr/src/sys/dev/ath/if_ath_sysctl.c:__FBSDID("$FreeBSD:
src/sys/dev/ath/if_ath_sysctl.c,v 1.1 2011/03/02 16:03:19 adrian Exp
$");
/usr/src/sys/dev/ath/if_ath_tx.c:__FBSDID("$FreeBSD:
src/sys/dev/ath/if_ath_tx.c,v 1.6 2011/02/22 00:37:53 adrian Exp $");
/usr/src/sys/dev/ath/if_ath_tx_ht.c:__FBSDID("$FreeBSD:
src/sys/dev/ath/if_ath_tx_ht.c,v 1.11 2011/03/13 08:23:59 adrian Exp
$");

minimoose# fetch -4pv
ftp://ftp4.br.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/8.2/FreeBSD-8.2-RELEASE-i386-bootonly.iso
looking up ftp4.br.freebsd.org
connecting to ftp4.br.freebsd.org:21
setting passive mode
opening data connection
initiating transfer
remote size / mtime: 49262592 / 1298157572
FreeBSD-8.2-RELEASE-i386-bootonly.iso 100% of 46 MB 1058 kBps 00m00s

<3


--
Vinícius Zavam
profiles.google.com/egypcio

Adrian Chadd

unread,
Mar 14, 2011, 9:27:57 PM3/14/11
to
Hi!

Thanks for the information.

Please (re) include the chipset details, and what's in dmesg for ath0.
Please also re-run sysctl dev.ath.0.sample_stats=1 (and check dmesg)
after doing a few transfers; that'll give statistics on the TX side
after it's actually done some TX'ing.

Thanks,


Adrian

2011/3/15 Vinícius Zavam <egy...@googlemail.com>:

> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-curre...@freebsd.org"

Vinícius Zavam

unread,
Mar 14, 2011, 10:51:12 PM3/14/11
to
2011/3/14 Adrian Chadd <adr...@freebsd.org>:

> Hi!
>
> Thanks for the information.
>
> Please (re) include the chipset details, and what's in dmesg for ath0.
> Please also re-run sysctl dev.ath.0.sample_stats=1 (and check dmesg)
> after doing a few transfers; that'll give statistics on the TX side
> after it's actually done some TX'ing.
>
> Thanks,
>
>
> Adrian

i've rebooted since last reply. rebuilded full kernel.
there's no "bb hang" warnings till now. everything works just fine and smooth...

ath0@pci0:2:0:0: class=0x028000 card=0x10891a3b chip=0x002b168c
rev=0x01 hdr=0x00
vendor = 'Atheros Communications Inc.'
device = 'Atheros AR9285 Wireless LAN 802.11 a/b/g/n
Controller (AR928x)'
class = network

minimoose# dmesg | tail -21
[00:26:5a:b1:da:92] refcnt 4 static_rix -1 ratemask 0xfcf
[ 250] cur rix 8 (24 Mb ) since switch: packets 9 ticks 88281
[ 250] last sample 10 cur sample -1 packets sent 2821
[ 250] packets since sample 6 sample tt 690
[1600] cur rix 10 (48 Mb ) since switch: packets 1 ticks 86973
[1600] last sample 11 cur sample -1 packets sent 445
[1600] packets since sample 27 sample tt 3502
[ 1 Mb : 250] 4:4 (100%) T 4 F 0 avg 3216 last 2246
[ 5 Mb : 250] 1:0 ( 0%) T 12 F 1 avg 100122 last 59031
[ 5 Mb :1600] 1:0 ( 0%) T 12 F 1 avg 3355 last 59031
[12 Mb : 250] 2:2 (100%) T 2 F 0 avg 950 last 55036
[18 Mb : 250] 58:57 ( 98%) T 64 F 0 avg 1184 last 2303
[18 Mb :1600] 1:0 ( 0%) T 5 F 1 avg 2038 last 7062
[24 Mb : 250] 399:398 ( 99%) T 424 F 0 avg 807 last 0
[24 Mb :1600] 1:0 ( 0%) T 5 F 1 avg 1674 last 447
[36 Mb : 250] 1503:1499 ( 99%) T 1568 F 0 avg 832 last 444
[36 Mb :1600] 15:11 ( 73%) T 31 F 0 avg 1322 last 54852
[48 Mb : 250] 254:249 ( 98%) T 280 F 0 avg 956 last 78
[48 Mb :1600] 320:315 ( 98%) T 361 F 0 avg 1202 last 1386
[54 Mb : 250] 604:603 ( 99%) T 639 F 0 avg 991 last 53723
[54 Mb :1600] 120:119 ( 99%) T 148 F 0 avg 1514 last 53555

minimoose# dmesg | egrep -i ath
ath0: <Atheros 9285> mem 0xfbff0000-0xfbffffff irq 17 at device 0.0 on pci2
ath0: AR9285 mac 192.2 RF5133 phy 14.0
alc0: <Atheros AR8132 PCIe Fast Ethernet> port 0xec00-0xec7f mem
0xf7fc0000-0xf7ffffff irq 19 at device 0.0 on pci1
atphy0: <Atheros F1 10/100/1000 PHY> PHY 0 on miibus0


--
Vinícius Zavam
profiles.google.com/egypcio
_______________________________________________
freebsd...@freebsd.org mailing list

Adrian Chadd

unread,
Mar 14, 2011, 11:41:15 PM3/14/11
to
Cool, so you're also seeing the hilariously garbage results when
transmitting low-rate packets (11b rate.) Cool. I'll investigate that.


adrian

2011/3/15 Vinícius Zavam <egy...@googlemail.com>:

0 new messages