diff options
author | Ron Rindjunsky <ron.rindjunsky@intel.com> | 2008-01-28 07:07:25 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-02-29 15:19:19 -0500 |
commit | 995564382f9d177214b6ec64db6b9109d4cd41dd (patch) | |
tree | d65b0ad05881d6a5efeabf4e4eab2933e16b05d8 /drivers/net/wireless/iwlwifi/iwl-4965.c | |
parent | fe01b477bbd23e69c3bdc6bce5be510ddad8297d (diff) |
iwlwifi: A-MPDU Tx conform block Ack rate scaling to mac80211
This patch uses the changes in ieee80211_tx_status to pass Block Ack data
to rate scaling module, and uses this data in rate scaling calculations
Signed-off-by: Ron Rindjunsky <ron.rindjunsky@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-4965.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-4965.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c index b315a099d1a0..89aff4aae45f 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965.c +++ b/drivers/net/wireless/iwlwifi/iwl-4965.c | |||
@@ -4286,12 +4286,9 @@ static int iwl4965_tx_status_reply_compressed_ba(struct iwl4965_priv *priv, | |||
4286 | 4286 | ||
4287 | tx_status = &priv->txq[scd_flow].txb[agg->start_idx].status; | 4287 | tx_status = &priv->txq[scd_flow].txb[agg->start_idx].status; |
4288 | tx_status->flags = IEEE80211_TX_STATUS_ACK; | 4288 | tx_status->flags = IEEE80211_TX_STATUS_ACK; |
4289 | tx_status->retry_count++; | 4289 | tx_status->flags |= IEEE80211_TX_STATUS_AMPDU; |
4290 | #ifdef CONFIG_IWL4965_HT_AGG | 4290 | tx_status->ampdu_ack_map = successes; |
4291 | tx_status->flags |= IEEE80211_TX_STATUS_AGG_STATS; | 4291 | tx_status->ampdu_ack_len = agg->frame_count; |
4292 | tx_status->successes = successes; | ||
4293 | tx_status->frame_count = agg->frame_count; | ||
4294 | #endif /* CONFIG_IWL4965_HT_AGG */ | ||
4295 | tx_status->control.tx_rate = agg->rate_n_flags; | 4292 | tx_status->control.tx_rate = agg->rate_n_flags; |
4296 | 4293 | ||
4297 | IWL_DEBUG_TX_REPLY("Bitmap %llx\n", bitmap); | 4294 | IWL_DEBUG_TX_REPLY("Bitmap %llx\n", bitmap); |