ath 802.11n ampdutx progress ??

Adrian Chadd adrian at freebsd.org
Mon Sep 5 13:27:20 UTC 2011


:-) You mean my code currently has bugs? Never! :)

It's still definitely a work in progress.

Just note - the AR5416 support is definitely not being tested during
this pass; there are limitations which I've not yet worked around. :)

In this instance - I know there are issues with the BAW (Block-ack
window) tracking. Specifically, when the interface is scanning, the
software TX queue is purged and the BAW isn't adjusted correctly.

I'm working on adapting ath_rate_sample to "mostly work" with 802.11n
(specifically, just enough to pick a low-error rate for 11n TX) and
when that's done, I'll continue working on fixing up the BAW tracking.
There's a bunch of rather invasive changes I think I'll have to do to
net80211 and ath in order to get it working properly.

That said, I'm glad it's working for you. :) I'm getting about
130mbit/sec via TCP at the moment as well. I just need to fix up the
rate control stuff a little more.. :)


Adrian

On 5 September 2011 21:11, Berislav Purgar <bpurgar at gmail.com> wrote:
> On Sun, Sep 4, 2011 at 11:06 PM, Adrian Chadd <adrian at freebsd.org> wrote:
>
>> On 5 September 2011 02:27, Berislav Purgar <bpurgar at gmail.com> wrote:
>> > I am interested in the progress of the implementation code for the
>> AMPD-TX ?
>>
>> Hi!
>>
>> My atheros work is in SVN - svn://
>> svn.freebsd.org/base/user/adrian/if_ath_tx .
>> iwn, mwl and ral already support AMPDU-TX.
>>
>>
>> adrian
>>
>
> ok tnx. i tried and it works but i have bunch of error in log :
>
> <snip>ath0: ath_tx_default_comp: dobaw should've been cleared!
> ath0: ath_tx_tid_drain: wasn't added: seqno 3328
> ath0: ath_tx_default_comp: dobaw should've been cleared!
> ath0: ath_tx_tid_drain: wasn't added: seqno 3329
> ath0: ath_tx_default_comp: dobaw should've been cleared!
> ath0: ath_tx_tid_drain: wasn't added: seqno 3330
> ath0: ath_tx_default_comp: dobaw should've been cleared!
> ath0: ath_tx_tid_drain: wasn't added: seqno 3341
> ath0: ath_tx_default_comp: dobaw should've been cleared!
> ath0: ath_tx_addto_baw: ba packet dup (index=0, cindex=120, head=120,
> tail=8)
> ath0: ath_tx_tid_drain: wasn't added: seqno 3359
> ath0: ath_tx_default_comp: dobaw should've been cleared!
> ath0: ath_tx_addto_baw: ba packet dup (index=0, cindex=125, head=125,
> tail=26)
> ath0: ath_tx_addto_baw: ba packet dup (index=0, cindex=126, head=126,
> tail=30)
> ath0: ath_tx_addto_baw: ba packet dup (index=0, cindex=3, head=3, tail=30)
> ath0: ath_tx_addto_baw: ba packet dup (index=0, cindex=4, head=4, tail=30)
> ath0: ath_tx_addto_baw: ba packet dup (index=0, cindex=7, head=7, tail=30)
> ath0: ath_tx_addto_baw: ba packet dup (index=0, cindex=8, head=8, tail=30)
> ath0: ath_tx_addto_baw: ba packet dup (index=0, cindex=17, head=17, tail=30)
> ath0: ath_tx_addto_baw: ba packet dup (index=0, cindex=18, head=18, tail=30)
> ath0: ath_tx_addto_baw: ba packet dup (index=0, cindex=25, head=25, tail=30)
> ath0: ath_tx_addto_baw: ba packet dup (index=0, cindex=26, head=26, tail=30)
> ath0: ath_tx_addto_baw: ba packet dup (index=0, cindex=29, head=29, tail=30)
> ath0: device timeout
> ath0: ath_tx_tid_drain: wasn't added: seqno 3302
> ath0: ath_tx_default_comp: dobaw should've been cleared!
> ath0: ath_tx_tid_drain: wasn't added: seqno 3303
> ath0: ath_tx_default_comp: dobaw should've been cleared!
> ath0: ath_tx_tid_drain: wasn't added: seqno 3304
> ath0: ath_tx_default_comp: dobaw should've been cleared!
> <snip>
>
> card is linksys WPC-300N ver2 - AR5008/5416 .. freebsd-9-beta2
> i managed to get speed on TCP  120Mbits/s - UDP 170Mbits/s (tested with
> iperf) ..
>
> Beri
> _______________________________________________
> freebsd-wireless at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe at freebsd.org"
>


More information about the freebsd-wireless mailing list