TX error due to colision or erroneous TX

Amit Jain amitj at engin.umich.edu
Tue Feb 19 20:02:54 EST 2002


Hi,
I am using tests inolving TX on Lucent/Orinoco card.
I am trying to log the TX errors either due to collision OR packet
getting corrupted in TX. I need these types of error as a measure of  the
congestion in link. But i am not able to know the plae where i shld log
such errors.

In orinoco.c
------------
There are three places where TX errors are reported

1> WHen transmit fails at the tim of using function "hermes_docmd_wait()"
   in dldwd_xmit().

2> In ISR when the "__dldwd_ev_txexc()" is called

        if (events & HERMES_EV_TXEXC)
			__dldwd_ev_txexc(priv, hw);

3> On tx_timeout.

I need to know which of these three errors coorespond to what I am trying
to log i.e. errors due to collision or erroneous TX.


(1> is ruled out because that logs the error when transmit cannot be
triggered, thus it is error due to some h/w problem)

(3> is ruled out because it can be due to h/w lockups or missing an
interupt)

2> seems to be the right choice..... is it really... ?????????

But in wavelan2_cs.c, the ISR logs only successful TX events and not the
bad ones...Why ??????

I need to know the answers to these two questions.
Any help would be greatly appreciated.
Thanks,
Regards,
Amit






More information about the wireless mailing list