• Ivo van Doorn's avatar
    rt2x00: Don't kick TX queue after each frame · b869767b
    Ivo van Doorn authored
    
    
    TX queues shouldn't be kicked after each frame that is put into the
    queue.  This could cause problems during RTS and CTS-to-self as well
    as with fragmentation. In all those cases you want all frames to be
    send out in a single burst. Off course we shouldn't let the queue fill
    up entirely, thus we introduce a 10% threshold which, when reached,
    will force the frames to be send out regardless of the frame.
    
    In addition we should prevent queues to become full in such a way
    that the tx() handler can fail. Instead of stopping the queue when
    it is full, we should stop it when it is below the threshold.
    Signed-off-by: default avatarIvo van Doorn <IvDoorn@gmail.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    b869767b
rt2400pci.c 47.3 KB