On Thu, Apr 14, 2005 at 02:34:16AM -0500, Jigar Doshi wrote:
> Hi,
>
> I am a newbie to this group.
>
> I am modifying the Orinoco driver for some measurements in our wireless
> testbed. In particular we need to measure the errors and the time loss due
> to errors in a multi ap environment. (i.e I need to measure errors only when
> multiple rts's are sent with no cts and hence the packet/frame is dropped)
>
> Looking at the source code .. I think only two functions are called If this
> event happens Its either __orinoco_ev_txexc or orinoco_tx_timeout . Could
> anybody please explain when these functions are called ? and the distinction
> between these functions.
__orinoco_ev_txexc is called when the firmware informs us of some sort
of error with transmission. For example if the firmware attempts the
maximum number of transmissions of a packet and still fails (no ACK),
this interrupt will occur. You'll need to consult firmware
documentation (which is not easy to obtain) to find all the exact
reasons for this interrupt.
orinoco_tx_timeout is quite different. It exists more to catch driver
or firmware bugs as to deal with transmission problems. If the Tx
queue has remained blocked for a certain amount of time (so a
transmission has commenced but we've never restarted the queue), this
callback is called to unblock the system. Usually (and in this case)
this performs some sort of reset of the card, and then tries to resume
communication.
> I am sorry about the basic nature of these questions, But I did try a small
> search on the archives before posting .
>
>
>
> Thanks in advance for any help !
>
>
>
> Jigar Doshi
>
>
>
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/people/dgibson
-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
|