• Felix Fietkau's avatar
    ath9k: fix queue depth check for forming new aggregates · 4b3ba66a
    Felix Fietkau authored
    To improve aggregation length, there should not be more than two fully formed
    A-MPDU frames in the hardware queue. To ensure this, the code checks the tx
    queue length before forming new A-MPDUs. This can reduce the throughput (or
    maybe even starve out A-MPDU traffic) when too many non-aggregated frames are
    in the queue.
    Fix this by keeping track of pending A-MPDU frames (even when they're sent out
    as single frames), but exclude rate control probing frames to improve
    performance.
    Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    4b3ba66a
ath9k.h 20.4 KB