• Felix Fietkau's avatar
    ath9k: fix powersave response handling for BA session packets · f69727fd
    Felix Fietkau authored
    When a packet is passed from mac80211 to the driver with the
    IEEE80211_TX_CTL_PS_RESPONSE flag set, it bypasses the normal driver
    internal queueing and goes directly to the UAPSD queue.
    
    When that happens, packets that are part of a BlockAck session still
    need to be tracked as such inside the driver, otherwise it will create
    discrepancies in the receiver BA reorder window, causing traffic stalls.
    This only happens in AP mode with powersave-enabled clients.
    
    This patch fixes the regression introduced in the commit
    "ath9k: use software queues for un-aggregated data packets"
    Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    f69727fd
xmit.c 68.8 KB