From owner-freebsd-wireless@FreeBSD.ORG Mon Sep 5 13:27:20 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BAA131065672 for ; Mon, 5 Sep 2011 13:27:20 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 768D98FC0C for ; Mon, 5 Sep 2011 13:27:20 +0000 (UTC) Received: by vxh11 with SMTP id 11so4911846vxh.13 for ; Mon, 05 Sep 2011 06:27:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=g3d29Y91EtaXo/Ymemp38KIdXyt/ymsjiB5QWifFrzk=; b=UPq2Oyw+dg7u+Git9+CuhFfnaUZTeiGPMPoZ6reNQcLFy+xu9DUWuHDTzQvYh/q7Rg yXDyvVcE99jQPkE3gT5ZQRMbB4sEvV6I/VwruPib3CVOt5L1q4g57UXD+h6Qst14tipH bIrT622tevBZtFydk8eQhoyg/RKH86aaWqwP8= MIME-Version: 1.0 Received: by 10.52.72.16 with SMTP id z16mr3643840vdu.395.1315229239675; Mon, 05 Sep 2011 06:27:19 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.52.33.49 with HTTP; Mon, 5 Sep 2011 06:27:19 -0700 (PDT) In-Reply-To: References: Date: Mon, 5 Sep 2011 21:27:19 +0800 X-Google-Sender-Auth: f5OQgRjOBdeSd4dns9drYqyQ0AY Message-ID: From: Adrian Chadd To: Berislav Purgar Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-wireless@freebsd.org Subject: Re: ath 802.11n ampdutx progress ?? X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Sep 2011 13:27:20 -0000 :-) 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 wrote: > On Sun, Sep 4, 2011 at 11:06 PM, Adrian Chadd wrote: > >> On 5 September 2011 02:27, Berislav Purgar 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 : > > 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=3D0, cindex=3D120, head=3D12= 0, > tail=3D8) > 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=3D0, cindex=3D125, head=3D12= 5, > tail=3D26) > ath0: ath_tx_addto_baw: ba packet dup (index=3D0, cindex=3D126, head=3D12= 6, > tail=3D30) > ath0: ath_tx_addto_baw: ba packet dup (index=3D0, cindex=3D3, head=3D3, t= ail=3D30) > ath0: ath_tx_addto_baw: ba packet dup (index=3D0, cindex=3D4, head=3D4, t= ail=3D30) > ath0: ath_tx_addto_baw: ba packet dup (index=3D0, cindex=3D7, head=3D7, t= ail=3D30) > ath0: ath_tx_addto_baw: ba packet dup (index=3D0, cindex=3D8, head=3D8, t= ail=3D30) > ath0: ath_tx_addto_baw: ba packet dup (index=3D0, cindex=3D17, head=3D17,= tail=3D30) > ath0: ath_tx_addto_baw: ba packet dup (index=3D0, cindex=3D18, head=3D18,= tail=3D30) > ath0: ath_tx_addto_baw: ba packet dup (index=3D0, cindex=3D25, head=3D25,= tail=3D30) > ath0: ath_tx_addto_baw: ba packet dup (index=3D0, cindex=3D26, head=3D26,= tail=3D30) > ath0: ath_tx_addto_baw: ba packet dup (index=3D0, cindex=3D29, head=3D29,= tail=3D30) > 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! > > > card is linksys WPC-300N ver2 - AR5008/5416 .. freebsd-9-beta2 > i managed to get speed on TCP =A0120Mbits/s - UDP 170Mbits/s (tested with > iperf) .. > > Beri > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.or= g" >