• Felix Fietkau's avatar
    ath9k: use software queues for un-aggregated data packets · 2800e82b
    Felix Fietkau authored
    This is a first step for improving fairness between legacy and 802.11n
    traffic, and it should also improve reliability of resets and channel
    changes by keeping the hardware queue depth very short.
    
    When an aggregation session is torn down, all packets in the retry queue
    will be removed from the BAW and freed.
    
    For all subframes that have not been transmitted yet, the A-MPDU flag
    will be cleared, and a sequence number allocated. This ensures that the
    next A-MPDU session will get the correct initial sequence number.
    This happens both on aggregation session start and stop.
    Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    2800e82b
ath9k.h 26.1 KB