Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jul 2005 15:05:53 -0500
From:      Sam Pierson <samuel.pierson@gmail.com>
To:        Sam Leffler <sam@errno.com>
Cc:        David Malone <dwmalone@maths.tcd.ie>, FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: Atheros, hardware access layer, collisions
Message-ID:  <d9204e4c05072713055f9cec4@mail.gmail.com>
In-Reply-To: <42E03E5B.80905@errno.com>
References:  <200507211849.aa11934@salmon.maths.tcd.ie> <42E03E5B.80905@errno.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 7/21/05, Sam Leffler <sam@errno.com> wrote:
> You need to set cwmin on the tx q as David describes.  Be sure to set
> the parameters you set into the hardware; check the wme update code for
> the correct logic.  For the other thing just set the tx descriptor to do
> 1 try.
>=20
>         Sam

So like in ath_tx_start:

=09ath_hal_setuptxdesc(ah, ds
=09=09, pktlen=09=09/* packet length */
=09=09, hdrlen=09=09/* header length */
=09=09, atype=09=09=09/* Atheros packet type */
=09=09, ni->ni_txpower=09/* txpower */
   -->=09      , txrate, 0=09=09/* series 0 rate/tries */  /*  originally:
txrate, try0 */
=09=09, keyix=09=09=09/* key cache index */
=09=09, sc->sc_txantenna=09/* antenna mode */
=09=09, flags=09=09=09/* flags */
=09=09, ctsrate=09=09/* rts/cts rate */
=09=09, ctsduration=09=09/* rts/cts duration */
=09);

This is still just for the first tx desc though.

The following bit then comes:

=09if (try0 !=3D ATH_TXMAXTRY)
=09=09ath_rate_setupxtxdesc(sc, an, ds, shortPreamble, rix);

Should I nix this?

-Sam



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d9204e4c05072713055f9cec4>