[PATCH] Re: throughput and tx rate in marginal signal conditions

Jouni Malinen jkmaline
Thu Jun 5 20:36:10 PDT 2003


Martin Lamb:
> Here's a patch that allows you to set the number of consective dropped
> packets before lowering the transmit rate.  This patch defaults to 2 (per
> Jean Tourrilhes' suggestion on June 3), but you can change that easily
> enough via WLAN_RATE_DECREASE_THRESHOLD.  My colleagues and I are still
> testing it, but so far so good.

Thanks! Applied with a small change: I changed greater-than comparison
to greater-than or equal when comparing tx_consecutive_exc to
WLAN_RATE_UPDATE_COUNT. In other words, if this is defined to be 2, rate
will be dropped after two dropped packets, not three. (I did similar
change for the WLAN_RATE_UPDATE_COUNT, too).

I did not do any performance testing for this change, so I would be
interested in results if someone compares the performance of the new
version to the old one. Old behavior can be configured by setting
WLAN_RATE_DECREASE_THRESHOLD to 1.

-- 
Jouni Malinen                                            PGP id EFC895FA




More information about the Hostap mailing list