[rt2x00-users] [PATCH 4/5] rt2x00: Introduce ENTRY_DATA_STATUS_PENDING
Ivo Van Doorn
ivdoorn at gmail.com
Tue Aug 17 18:11:39 UTC 2010
On Tue, Aug 17, 2010 at 9:43 AM, Helmut Schaa
<helmut.schaa at googlemail.com> wrote:
> Am Saturday 14 August 2010 schrieb Ivo van Doorn:
>> Introduce a new flag for the entry_data structure, which
>> indicates that a frame has been successfully transfered
>> to the device, but the TX status hasn't been available
>> during the first attempt, but is expected to be recieved
>> If during the second attempt the status still isn't
>> available, the frame is reported with status UNKNOWN.
>> This situation happens frequently in rt2800usb, which
>> is caused by the device which skips the TX status information
>> for particular frames. But due insufficient information
>> in each TX status report, it is hard to predict to which
>> frame a TX status report belongs.
>> Signed-off-by: Ivo van Doorn <IvDoorn at gmail.com>
> Despite the fact that I don't like to clutter rt2x00 with even more
> flags ;) I don't have a better solution for you and if this really improves
> tx status reporting on rt2800usb I don't have any objections against
> this patch to go in.
> Acked-by: Helmut Schaa <helmut.schaa at googlemail.com>
I hate adding flags as well, but it is not a improvement, but actually
fixed a deadlock for me. :) It might be removed later when I manage to
fix the dead-queue problem.
More information about the users