Skip to content

Commit 664e968

Browse files
lkaufman-helucacoelho
authored andcommitted
iwlwifi: mvm: remove txq EMPTYING_DELBA state for DQA
In DQA mode, there is no need to wait for the TXQ to clear out after getting a DELBA, since traffic can continue running on the queue. Signed-off-by: Liad Kaufman <[email protected]> Signed-off-by: Luca Coelho <[email protected]>
1 parent 52f8c93 commit 664e968

File tree

1 file changed

+7
-2
lines changed
  • drivers/net/wireless/intel/iwlwifi/mvm

1 file changed

+7
-2
lines changed

drivers/net/wireless/intel/iwlwifi/mvm/sta.c

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2814,8 +2814,13 @@ int iwl_mvm_sta_tx_agg_stop(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
28142814
"ssn = %d, next_recl = %d\n",
28152815
tid_data->ssn, tid_data->next_reclaimed);
28162816

2817-
/* There are still packets for this RA / TID in the HW */
2818-
if (tid_data->ssn != tid_data->next_reclaimed) {
2817+
/*
2818+
* There are still packets for this RA / TID in the HW.
2819+
* Not relevant for DQA mode, since there is no need to disable
2820+
* the queue.
2821+
*/
2822+
if (!iwl_mvm_is_dqa_supported(mvm) &&
2823+
tid_data->ssn != tid_data->next_reclaimed) {
28192824
tid_data->state = IWL_EMPTYING_HW_QUEUE_DELBA;
28202825
err = 0;
28212826
break;

0 commit comments

Comments
 (0)