• Juuso Oikarinen's avatar
    wl12xx: Change TX queue to be per AC · 6742f554
    Juuso Oikarinen authored
    With the current single-queue implementation traffic priorization is not
    working correctly - when using multiple BE streams and one, say VI stream,
    the VI stream will share bandwidth almost equally with the BE streams.
    
    To fix the issue, implement per AC queues, which are emptied in priority
    order to the firmware. To keep it relatively simple, maintain a global
    buffer count and global queue stop/wake instead of per-AC.
    
    With these changes, priorization appears to work just fine.
    Signed-off-by: default avatarJuuso Oikarinen <juuso.oikarinen@nokia.com>
    Signed-off-by: default avatarLuciano Coelho <luciano.coelho@nokia.com>
    6742f554
tx.c 13.6 KB