Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 664e968b authored by Liad Kaufman's avatar Liad Kaufman Committed by Luca Coelho
Browse files

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: default avatarLiad Kaufman <liad.kaufman@intel.com>
Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
parent 52f8c938
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -2814,8 +2814,13 @@ int iwl_mvm_sta_tx_agg_stop(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
				    "ssn = %d, next_recl = %d\n",
				    tid_data->ssn, tid_data->next_reclaimed);

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