• Sara Sharon's avatar
    iwlwifi: mvm: do not trust NSSN for amsdu sub-frames · e7e14089
    Sara Sharon authored
    We cannot trust NSSN for AMSDU sub-frames that are not the
    last.
    The reason is that NSSN advances on the first sub-frame,
    and may cause the reorder buffer to advance before all the
    sub-frames arrive.
    Example:
    Reorder buffer contains SN 0 & 2.
    We receive AMSDU with SN 1 and NSSN for first sub frame 3.
    The result us that driver releases SN 0,1, 2.
    When sub-frame 1 arrives - reorder buffer is already ahead and
    it will be dropped.
    If the last sub-frame is not on this queue - we will get frame
    release notification with up to date NSSN.
    Signed-off-by: default avatarSara Sharon <sara.sharon@intel.com>
    Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
    e7e14089
rxmq.c 28.9 KB