On 7/21/05, Sam Leffler <[EMAIL PROTECTED]> 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.
> 
>         Sam

So like in ath_tx_start:

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

This is still just for the first tx desc though.

The following bit then comes:

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

Should I nix this?

-Sam
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to