Skip to content
  • Paul Stewart's avatar
    mwifiex: Track BA sequence number reset · 8acbea61
    Paul Stewart authored
    
    
    Some stations reset the sequence number for traffic-ids (TIDs)
    as they initiate a block-ACK session.  In order to detect such
    behavior, mwifiex must note the starting sequence number given
    during the ADDBA request.  If the first received sequence number
    after the ADDBA falls outside the receive window for this TID but
    after the the ADDBA starting sequence number, we can assume that
    this AP has reset its sequence number during the ADDBA.  In this
    case we must adjust the input window backward to incorporate this
    received sequence number instead of ignoring it.  Otherwise, we
    could fail to successfully retrieve an arbitrarily large number
    of downstream frames at the beginning of the block-ACK session.
    
    Signed-off-by: default avatarPaul Stewart <pstew@chromium.org>
    Acked-by: default avatarBing Zhao <bzhao@marvell.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    8acbea61