[rt2x00-users] [PATCH 1/3] rt2x00: Reduce tx status reading timeout
helmut.schaa at googlemail.com
Mon Apr 18 18:09:22 EST 2011
Am Montag, 18. April 2011 schrieb Ivo Van Doorn:
> > Am Sonntag, 17. April 2011 schrieb Ivo van Doorn:
> >> When no TX status was available, the default timeout
> >> of 20ms is a bit high. The frame is highly likely already
> >> send out, so the TX status should be available within
> >> only a few milliseconds.
> > Isn't 2ms quite a bit too small? I mean, sending a 1500Byte
> > frame at 1Mbps requires around 10ms (and only if no backoff is
> > required). Also if the tx queue is filling up faster the hw is
> > sending the frames out (due to a low tx rate for example) it can
> > take much longer for the frames to get available in the tx status
> > register.
> What would be a more appropriate value then?
Now you've got me :)
> Please keep in mind, that when the timer has expired, and it
> doesn't found any TX status registered, but the queue indicates
> that we are waiting for TX status reports, the timer will automatically
> be refired.
Ahh, haven't looked at the code yet. It will retry as long as either
there is no tx status pending anymore or a timeout is reached, correct?
In that case I'm fine with the 2ms timeout.
More information about the users