Re: Retransmissions

From: Jouni Malinen (
Date: 2002-10-12 15:19:21 UTC

On Sat, Oct 12, 2002 at 10:15:39AM -0400, Arunchandar Vasan wrote:

> Is there anyway I can get the number of retransmissions a frame underwent
> from the driver ?

I'm not aware of such mechanism in the current firmware version. If this were available, it would probably be stored in TX frame description that can be read in TX event (i.e., successful transmit). TX desc has retry_count field, but it is apparently not yet implemented.

Anyway, I modified the driver a bit to make it more clear where this information would be available. hostap_hw.c now has a function, prism2_tx_ev() that takes care of TX events. If prism2_param 'dump' is set to have bit1 set (TX hdr dump), some fields from the TX descriptor are shown in this function. Please note, that TX event is not used in the default configuration; it can be enabled by defining PRISM2_USE_TX_INTERRUPT (see hostap_config.h).

Jouni Malinen                                            PGP id EFC895FA

This archive was generated by hypermail 2.1.4.