[rt2x00-users] [PATCH v2 1/3] rt2x00: Serialize TX operations on a queue.

Andreas Hartmann andihartmann at 01019freenet.de
Sat Jun 4 01:20:21 AEST 2011


Helmut Schaa schrieb:
> Am Donnerstag, 2. Juni 2011 schrieb Gertjan van Wingerde:
>> The rt2x00 driver gets frequent occurrences of the following error
>> message when operating under load: phy0 ->
>> rt2x00queue_write_tx_frame: Error - Arrived at non-free entry in
>> the non-full queue 2.
>> 
>> This is caused by simultaneous attempts from mac80211 to send a
>> frame via rt2x00, which are not properly serialized inside
>> rt2x00queue_write_tx_frame, causing the second frame to fail
>> sending with the above mentioned error message.
>> 
>> Fix this by introducing a per-queue spinlock to serialize the TX
>> operations on that queue.
>> 
>> Reported-by: Andreas Hartmann <andihartmann at 01019freenet.de> 
>> Signed-off-by: Gertjan van Wingerde <gwingerde at gmail.com>
> 
> Acked-by: Helmut Schaa <helmut.schaa at googlemail.com>

I tested against this version again and could find no problems.


Andreas




More information about the users mailing list