diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-04-29 11:19:00 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-05-07 15:02:26 -0400 |
commit | 36fc6757fe711def63ea3686bf6ed475d714e114 (patch) | |
tree | ffaff0160068b871c53c33c4d290cfafd73cc1c1 /drivers | |
parent | 57ffc589a92424f9def74fe0d49b2f7763ff07fd (diff) |
mac80211: remove queue info from ieee80211_tx_status
The queue info in struct ieee80211_tx_status is never used.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl4965-base.c | 7 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00dev.c | 3 |
2 files changed, 0 insertions, 10 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl4965-base.c b/drivers/net/wireless/iwlwifi/iwl4965-base.c index 64cb905cdaed..5363be7a305e 100644 --- a/drivers/net/wireless/iwlwifi/iwl4965-base.c +++ b/drivers/net/wireless/iwlwifi/iwl4965-base.c | |||
@@ -2522,8 +2522,6 @@ static void iwl4965_txstatus_to_ieee(struct iwl_priv *priv, | |||
2522 | 2522 | ||
2523 | tx_sta->status.ack_signal = 0; | 2523 | tx_sta->status.ack_signal = 0; |
2524 | tx_sta->status.excessive_retries = 0; | 2524 | tx_sta->status.excessive_retries = 0; |
2525 | tx_sta->status.queue_length = 0; | ||
2526 | tx_sta->status.queue_number = 0; | ||
2527 | 2525 | ||
2528 | if (in_interrupt()) | 2526 | if (in_interrupt()) |
2529 | ieee80211_tx_status_irqsafe(priv->hw, | 2527 | ieee80211_tx_status_irqsafe(priv->hw, |
@@ -2659,8 +2657,6 @@ static int iwl4965_tx_status_reply_tx(struct iwl_priv *priv, | |||
2659 | 2657 | ||
2660 | tx_status = &(priv->txq[txq_id].txb[idx].status); | 2658 | tx_status = &(priv->txq[txq_id].txb[idx].status); |
2661 | tx_status->retry_count = tx_resp->failure_frame; | 2659 | tx_status->retry_count = tx_resp->failure_frame; |
2662 | tx_status->queue_number = status & 0xff; | ||
2663 | tx_status->queue_length = tx_resp->failure_rts; | ||
2664 | tx_status->control.flags &= ~IEEE80211_TXCTL_AMPDU; | 2660 | tx_status->control.flags &= ~IEEE80211_TXCTL_AMPDU; |
2665 | tx_status->flags = iwl4965_is_tx_success(status)? | 2661 | tx_status->flags = iwl4965_is_tx_success(status)? |
2666 | IEEE80211_TX_STATUS_ACK : 0; | 2662 | IEEE80211_TX_STATUS_ACK : 0; |
@@ -2820,9 +2816,6 @@ static void iwl4965_rx_reply_tx(struct iwl_priv *priv, | |||
2820 | tx_status = &(txq->txb[txq->q.read_ptr].status); | 2816 | tx_status = &(txq->txb[txq->q.read_ptr].status); |
2821 | 2817 | ||
2822 | tx_status->retry_count = tx_resp->failure_frame; | 2818 | tx_status->retry_count = tx_resp->failure_frame; |
2823 | tx_status->queue_number = status; | ||
2824 | tx_status->queue_length = tx_resp->bt_kill_count; | ||
2825 | tx_status->queue_length |= tx_resp->failure_rts; | ||
2826 | tx_status->flags = | 2819 | tx_status->flags = |
2827 | iwl4965_is_tx_success(status) ? IEEE80211_TX_STATUS_ACK : 0; | 2820 | iwl4965_is_tx_success(status) ? IEEE80211_TX_STATUS_ACK : 0; |
2828 | iwl4965_hwrate_to_tx_control(priv, le32_to_cpu(tx_resp->rate_n_flags), | 2821 | iwl4965_hwrate_to_tx_control(priv, le32_to_cpu(tx_resp->rate_n_flags), |
diff --git a/drivers/net/wireless/rt2x00/rt2x00dev.c b/drivers/net/wireless/rt2x00/rt2x00dev.c index b1a324dead5f..9929b15e28ba 100644 --- a/drivers/net/wireless/rt2x00/rt2x00dev.c +++ b/drivers/net/wireless/rt2x00/rt2x00dev.c | |||
@@ -525,9 +525,6 @@ void rt2x00lib_txdone(struct queue_entry *entry, | |||
525 | rt2x00dev->low_level_stats.dot11ACKFailureCount++; | 525 | rt2x00dev->low_level_stats.dot11ACKFailureCount++; |
526 | } | 526 | } |
527 | 527 | ||
528 | tx_status.queue_length = entry->queue->limit; | ||
529 | tx_status.queue_number = tx_status.control.queue; | ||
530 | |||
531 | if (tx_status.control.flags & IEEE80211_TXCTL_USE_RTS_CTS) { | 528 | if (tx_status.control.flags & IEEE80211_TXCTL_USE_RTS_CTS) { |
532 | if (success) | 529 | if (success) |
533 | rt2x00dev->low_level_stats.dot11RTSSuccessCount++; | 530 | rt2x00dev->low_level_stats.dot11RTSSuccessCount++; |