• Rajkumar Manoharan's avatar
    ath10k: fix throughput regression in multi client mode · f163372f
    Rajkumar Manoharan authored
    commit 18f53fe0 upstream.
    
    commit 7a0adc83 ("ath10k: improve tx scheduling") is causing
    severe throughput drop in multi client mode. This issue is originally
    reported in veriwave setup with 50 clients with TCP downlink traffic.
    While increasing number of clients, the average throughput drops
    gradually. With 50 clients, the combined peak throughput is decreased
    to 98 Mbps whereas reverting given commit restored it to 550 Mbps.
    
    Processing txqs for every tx completion is causing overhead. Ideally for
    management frame tx completion, pending txqs processing can be avoided.
    The change partly reverts the commit "ath10k: improve tx scheduling".
    Processing pending txqs after all skbs tx completion will yeild enough
    room to burst tx frames.
    
    Fixes: 7a0adc83 ("ath10k: improve tx scheduling")
    Signed-off-by: default avatarRajkumar Manoharan <rmanohar@qti.qualcomm.com>
    Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    f163372f
htt_rx.c 65.5 KB