Re: Atheros, hardware access layer, collisions

From: Sam Leffler (sam_at_errno.com)
Date: 07/22/05

  • Next message: B: "Bus Driver probe and attach device"
    Date: Thu, 21 Jul 2005 17:31:23 -0700
    To: David Malone <dwmalone@maths.tcd.ie>
    
    

    David Malone wrote:
    >>I was looking for this in the ah.h and the ah_desc.h files. Are they
    >>someplace else, or maybe this is a system call? I can't find anything
    >>about the retry limit (<-- CWmin = retry?) Thanks,
    >
    >
    > CWmin is a setting that controls the random delay before packets
    > are transmitted. Search for tqi_cwmin in the driver. The retry limit
    > says how many times the MAC should retry if it gets a collision
    > while trying to transmit - I think it is controled by the tqi_shretry
    > and tqi_lgretry values. In the driver in 6.X you can (in principle)
    > set these values at the time the transmit queues are configured.

    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

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


  • Next message: B: "Bus Driver probe and attach device"