• I
    wl12xx: Restart TX when TX descriptors are available · ef2e3004
    Ido Yariv 提交于
    The driver stops sending TX packets when either there aren't enough
    memory blocks, or it runs out of TX descriptors. The driver continues to
    send packets to the FW only when more memory blocks are available.
    
    The FW might free TX descriptors without freeing the corresponding
    memory blocks, especially when dynamic memory is enabled. In cases where
    memory blocks are not freed at all, the driver will keep waiting for
    more memory blocks indefinitely.
    
    Fix this by clearing the WL1271_FLAG_FW_TX_BUSY flag when there are
    available TX descriptors.
    Signed-off-by: NIdo Yariv <ido@wizery.com>
    Signed-off-by: NLuciano Coelho <coelho@ti.com>
    ef2e3004
tx.c 22.3 KB