aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRon Rindjunsky <ron.rindjunsky@intel.com>2008-07-01 03:44:51 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-07-08 10:21:34 -0400
commit3235427ecb092e4ff86528edd775e759dbeeecff (patch)
treefaa95a5021d55308248301794431c58b5111e947 /drivers
parentd96a7bc0499d0332cecb0a1d7d7d0d44f9c8cc28 (diff)
iwlwifi: request Tx of block ack request if necessary
This patch sets the block ack request flag if needed Signed-off-by: Ron Rindjunsky <ron.rindjunsky@intel.com> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-4965.c6
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-5000.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c
index 8c93f8d56a70..04365b39279c 100644
--- a/drivers/net/wireless/iwlwifi/iwl-4965.c
+++ b/drivers/net/wireless/iwlwifi/iwl-4965.c
@@ -2285,9 +2285,9 @@ static void iwl4965_rx_reply_tx(struct iwl_priv *priv,
2285 2285
2286 iwl4965_tx_status_reply_tx(priv, agg, tx_resp, txq_id, index); 2286 iwl4965_tx_status_reply_tx(priv, agg, tx_resp, txq_id, index);
2287 2287
2288 if ((tx_resp->frame_count == 1) && !iwl_is_tx_success(status)) { 2288 /* check if BAR is needed */
2289 /* TODO: send BAR */ 2289 if ((tx_resp->frame_count == 1) && !iwl_is_tx_success(status))
2290 } 2290 info->flags |= IEEE80211_TX_STAT_AMPDU_NO_BACK;
2291 2291
2292 if (txq->q.read_ptr != (scd_ssn & 0xff)) { 2292 if (txq->q.read_ptr != (scd_ssn & 0xff)) {
2293 int freed, ampdu_q; 2293 int freed, ampdu_q;
diff --git a/drivers/net/wireless/iwlwifi/iwl-5000.c b/drivers/net/wireless/iwlwifi/iwl-5000.c
index 7cc73e9a711c..717db0d5ffb3 100644
--- a/drivers/net/wireless/iwlwifi/iwl-5000.c
+++ b/drivers/net/wireless/iwlwifi/iwl-5000.c
@@ -1278,9 +1278,9 @@ static void iwl5000_rx_reply_tx(struct iwl_priv *priv,
1278 1278
1279 iwl5000_tx_status_reply_tx(priv, agg, tx_resp, txq_id, index); 1279 iwl5000_tx_status_reply_tx(priv, agg, tx_resp, txq_id, index);
1280 1280
1281 if ((tx_resp->frame_count == 1) && !iwl_is_tx_success(status)) { 1281 /* check if BAR is needed */
1282 /* TODO: send BAR */ 1282 if ((tx_resp->frame_count == 1) && !iwl_is_tx_success(status))
1283 } 1283 info->flags |= IEEE80211_TX_STAT_AMPDU_NO_BACK;
1284 1284
1285 if (txq->q.read_ptr != (scd_ssn & 0xff)) { 1285 if (txq->q.read_ptr != (scd_ssn & 0xff)) {
1286 int freed, ampdu_q; 1286 int freed, ampdu_q;