On Thu, Mar 07, 2013 at 07:06:35PM +0100, Simon Wunderlich wrote: > Are there any theoritical constraints to consider? I don't know too much > about minstrel theory, but from what I understand: > > The ieee80211_tx_rate array has 4 entries with rate + count number, where > the last entries may be empty (count = 0). >From what I understand, essentially all legacy Minstrel tries to do is pick more transmissions for higher rates (since airtime for those will generally be less) and then a certain base level for the minimal fallback rate.[1] My guess would be that it would be "better" to scale the retries by the desired number of total retries rather than just subtracting the same amount from each rate. I think you could do the scaling without divides. At the least, you'd want to keep some minimal number in the base rate slot so that it gets used if all else fails. [1] see minstrel_rate_init(); ostensibly, it does this by trying to fit as many retransmissions per slot that will take 6 ms on a 1200 byte frame. It doesn't seem to account for the backoff between slots though (it's all pre-computed per-rate), so the total tx time could be well over 6x4=24 ms if all the retries were used. Perhaps it's worth fixing that, too. -- Bob Copeland %% www.bobcopeland.com -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html