• Michal Kazior's avatar
    mac80211: fix offloaded BA session traffic after hw restart · 4549cf2b
    Michal Kazior authored
    When starting an offloaded BA session it is
    unknown what starting sequence number should be
    used. Using last_seq worked in most cases except
    after hw restart.
    When hw restart is requested last_seq is
    (rightfully so) kept unmodified. This ended up
    with BA sessions being restarted with an aribtrary
    BA window values resulting in dropped frames until
    sequence numbers caught up.
    Instead of last_seq pick seqno of a first Rxed
    frame of a given BA session.
    This fixes stalled traffic after hw restart with
    offloaded BA sessions (currently only ath10k).
    Signed-off-by: default avatarMichal Kazior <michal.kazior@tieto.com>
    Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>