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

Commit 3235427e authored by Ron Rindjunsky's avatar Ron Rindjunsky Committed by John W. Linville
Browse files

iwlwifi: request Tx of block ack request if necessary



This patch sets the block ack request flag if needed

Signed-off-by: default avatarRon Rindjunsky <ron.rindjunsky@intel.com>
Signed-off-by: default avatarTomas Winkler <tomas.winkler@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent d96a7bc0
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -2285,9 +2285,9 @@ static void iwl4965_rx_reply_tx(struct iwl_priv *priv,


		iwl4965_tx_status_reply_tx(priv, agg, tx_resp, txq_id, index);
		iwl4965_tx_status_reply_tx(priv, agg, tx_resp, txq_id, index);


		if ((tx_resp->frame_count == 1) && !iwl_is_tx_success(status)) {
		/* check if BAR is needed */
			/* TODO: send BAR */
		if ((tx_resp->frame_count == 1) && !iwl_is_tx_success(status))
		}
			info->flags |= IEEE80211_TX_STAT_AMPDU_NO_BACK;


		if (txq->q.read_ptr != (scd_ssn & 0xff)) {
		if (txq->q.read_ptr != (scd_ssn & 0xff)) {
			int freed, ampdu_q;
			int freed, ampdu_q;
+3 −3
Original line number Original line Diff line number Diff line
@@ -1278,9 +1278,9 @@ static void iwl5000_rx_reply_tx(struct iwl_priv *priv,


		iwl5000_tx_status_reply_tx(priv, agg, tx_resp, txq_id, index);
		iwl5000_tx_status_reply_tx(priv, agg, tx_resp, txq_id, index);


		if ((tx_resp->frame_count == 1) && !iwl_is_tx_success(status)) {
		/* check if BAR is needed */
			/* TODO: send BAR */
		if ((tx_resp->frame_count == 1) && !iwl_is_tx_success(status))
		}
			info->flags |= IEEE80211_TX_STAT_AMPDU_NO_BACK;


		if (txq->q.read_ptr != (scd_ssn & 0xff)) {
		if (txq->q.read_ptr != (scd_ssn & 0xff)) {
			int freed, ampdu_q;
			int freed, ampdu_q;