• Arik Nemtsov's avatar
    wl12xx: start/stop queues according to global per-AC counters · f1a46384
    Arik Nemtsov authored
    Split tx_queue_count to count per-AC skb's queued, instead of relying on
    the skb-queue len. The skb queues used were only valid in STA-mode, as
    AP-mode uses per-link queues.
    
    This fixes a major regression in AP-mode, caused by the patch
    "wl12xx: implement Tx watermarks per AC". With that patch applied, we
    effectively had no regulation of Tx queues in AP-mode. Therefore a
    sustained high rate of Tx could cause exhaustion of the skb memory pool.
    Signed-off-by: default avatarArik Nemtsov <arik@wizery.com>
    Signed-off-by: default avatarLuciano Coelho <coelho@ti.com>
    f1a46384
main.c 115 KB