iwlwifi: sta: defer ADDBA transmit in case reclaimed SN != next SN
This avoids cases that we have a lot of packets in the queue and until we are able to transmit SSN packet the other side sends DELBA due to timeout. Signed-off-by: Mordechay Goodstein <mordechay.goodstein@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Link: https://lore.kernel.org/r/iwlwifi.20200911204056.8a8481c60663.I353ab6f1bc04c7fdf873dead59f483454e2425ba@changeid Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
This commit is contained in:
parent
9c11d8a9d4
commit
7e0ca7230b
@ -2863,7 +2863,7 @@ int iwl_mvm_sta_tx_agg_start(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
|
|||||||
ret = IEEE80211_AMPDU_TX_START_IMMEDIATE;
|
ret = IEEE80211_AMPDU_TX_START_IMMEDIATE;
|
||||||
} else {
|
} else {
|
||||||
tid_data->state = IWL_EMPTYING_HW_QUEUE_ADDBA;
|
tid_data->state = IWL_EMPTYING_HW_QUEUE_ADDBA;
|
||||||
ret = 0;
|
ret = IEEE80211_AMPDU_TX_START_DELAY_ADDBA;
|
||||||
}
|
}
|
||||||
|
|
||||||
out:
|
out:
|
||||||
|
Loading…
Reference in New Issue
Block a user