• Emmanuel Grumbach's avatar
    iwlwifi: mvm: don't warn on normal BAR sending · 2470b36e
    Emmanuel Grumbach authored
    This flow happens when we get a failed single Tx response
    on an AMPDU queue. In this case, the frame won't be sent
    any more. So we need to move the window on the recipient
    side. This is done by a BAR.
    
    Now if we are in the following case: 10, 12 and 13 are ACKed
    and 11 isn't.
    
     10  11  12  13.
     V   X   V   V
    
    Then, 11 will be sent 16 times as an MPDU (as oppsed to
    A-MPDU). If this failed, we are entering the flow described
    above. So we need to send a BAR with ssn = 12.
    But in this case, the scheduler will tell us to free frames
    up to 13 (included).
    
    So, it is perfectly possible to get a failed single Tx
    response on an AMPDU queue that makes the scheduler's ssn
    jump by more than 1 single packet.
    Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
    Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
    2470b36e
tx.c 26.8 KB