aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-tx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-tx.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-tx.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-tx.c b/drivers/net/wireless/iwlwifi/iwl-tx.c
index cfe6f4b233dd..1aa19f4a8bcb 100644
--- a/drivers/net/wireless/iwlwifi/iwl-tx.c
+++ b/drivers/net/wireless/iwlwifi/iwl-tx.c
@@ -36,8 +36,6 @@
36#include "iwl-io.h" 36#include "iwl-io.h"
37#include "iwl-helpers.h" 37#include "iwl-helpers.h"
38 38
39#ifdef CONFIG_IWL4965_HT
40
41static const u16 default_tid_to_tx_fifo[] = { 39static const u16 default_tid_to_tx_fifo[] = {
42 IWL_TX_FIFO_AC1, 40 IWL_TX_FIFO_AC1,
43 IWL_TX_FIFO_AC0, 41 IWL_TX_FIFO_AC0,
@@ -58,9 +56,6 @@ static const u16 default_tid_to_tx_fifo[] = {
58 IWL_TX_FIFO_AC3 56 IWL_TX_FIFO_AC3
59}; 57};
60 58
61#endif /*CONFIG_IWL4965_HT */
62
63
64 59
65/** 60/**
66 * iwl_hw_txq_free_tfd - Free all chunks referenced by TFD [txq->q.read_ptr] 61 * iwl_hw_txq_free_tfd - Free all chunks referenced by TFD [txq->q.read_ptr]
@@ -848,12 +843,10 @@ int iwl_tx_skb(struct iwl_priv *priv, struct sk_buff *skb)
848 (hdr->seq_ctrl & 843 (hdr->seq_ctrl &
849 __constant_cpu_to_le16(IEEE80211_SCTL_FRAG)); 844 __constant_cpu_to_le16(IEEE80211_SCTL_FRAG));
850 seq_number += 0x10; 845 seq_number += 0x10;
851#ifdef CONFIG_IWL4965_HT
852 /* aggregation is on for this <sta,tid> */ 846 /* aggregation is on for this <sta,tid> */
853 if (info->flags & IEEE80211_TX_CTL_AMPDU) 847 if (info->flags & IEEE80211_TX_CTL_AMPDU)
854 txq_id = priv->stations[sta_id].tid[tid].agg.txq_id; 848 txq_id = priv->stations[sta_id].tid[tid].agg.txq_id;
855 priv->stations[sta_id].tid[tid].tfds_in_queue++; 849 priv->stations[sta_id].tid[tid].tfds_in_queue++;
856#endif /* CONFIG_IWL4965_HT */
857 } 850 }
858 851
859 /* Descriptor for chosen Tx queue */ 852 /* Descriptor for chosen Tx queue */
@@ -1196,8 +1189,6 @@ void iwl_tx_cmd_complete(struct iwl_priv *priv, struct iwl_rx_mem_buffer *rxb)
1196} 1189}
1197EXPORT_SYMBOL(iwl_tx_cmd_complete); 1190EXPORT_SYMBOL(iwl_tx_cmd_complete);
1198 1191
1199
1200#ifdef CONFIG_IWL4965_HT
1201/* 1192/*
1202 * Find first available (lowest unused) Tx Queue, mark it "active". 1193 * Find first available (lowest unused) Tx Queue, mark it "active".
1203 * Called only when finding queue for aggregation. 1194 * Called only when finding queue for aggregation.
@@ -1359,7 +1350,6 @@ int iwl_txq_check_empty(struct iwl_priv *priv, int sta_id, u8 tid, int txq_id)
1359 return 0; 1350 return 0;
1360} 1351}
1361EXPORT_SYMBOL(iwl_txq_check_empty); 1352EXPORT_SYMBOL(iwl_txq_check_empty);
1362#endif /* CONFIG_IWL4965_HT */
1363 1353
1364#ifdef CONFIG_IWLWIF_DEBUG 1354#ifdef CONFIG_IWLWIF_DEBUG
1365#define TX_STATUS_ENTRY(x) case TX_STATUS_FAIL_ ## x: return #x 1355#define TX_STATUS_ENTRY(x) case TX_STATUS_FAIL_ ## x: return #x