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.c17
1 files changed, 6 insertions, 11 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-tx.c b/drivers/net/wireless/iwlwifi/iwl-tx.c
index 907a53ebc6e4..37ebcff409e2 100644
--- a/drivers/net/wireless/iwlwifi/iwl-tx.c
+++ b/drivers/net/wireless/iwlwifi/iwl-tx.c
@@ -830,10 +830,8 @@ int iwl_tx_skb(struct iwl_priv *priv, struct sk_buff *skb)
830 /* Find (or create) index into station table for destination station */ 830 /* Find (or create) index into station table for destination station */
831 sta_id = iwl_get_sta_id(priv, hdr); 831 sta_id = iwl_get_sta_id(priv, hdr);
832 if (sta_id == IWL_INVALID_STATION) { 832 if (sta_id == IWL_INVALID_STATION) {
833 DECLARE_MAC_BUF(mac); 833 IWL_DEBUG_DROP("Dropping - INVALID STATION: %pM\n",
834 834 hdr->addr1);
835 IWL_DEBUG_DROP("Dropping - INVALID STATION: %s\n",
836 print_mac(mac, hdr->addr1));
837 goto drop; 835 goto drop;
838 } 836 }
839 837
@@ -1248,15 +1246,14 @@ int iwl_tx_agg_start(struct iwl_priv *priv, const u8 *ra, u16 tid, u16 *ssn)
1248 int ret; 1246 int ret;
1249 unsigned long flags; 1247 unsigned long flags;
1250 struct iwl_tid_data *tid_data; 1248 struct iwl_tid_data *tid_data;
1251 DECLARE_MAC_BUF(mac);
1252 1249
1253 if (likely(tid < ARRAY_SIZE(default_tid_to_tx_fifo))) 1250 if (likely(tid < ARRAY_SIZE(default_tid_to_tx_fifo)))
1254 tx_fifo = default_tid_to_tx_fifo[tid]; 1251 tx_fifo = default_tid_to_tx_fifo[tid];
1255 else 1252 else
1256 return -EINVAL; 1253 return -EINVAL;
1257 1254
1258 IWL_WARNING("%s on ra = %s tid = %d\n", 1255 IWL_WARNING("%s on ra = %pM tid = %d\n",
1259 __func__, print_mac(mac, ra), tid); 1256 __func__, ra, tid);
1260 1257
1261 sta_id = iwl_find_station(priv, ra); 1258 sta_id = iwl_find_station(priv, ra);
1262 if (sta_id == IWL_INVALID_STATION) 1259 if (sta_id == IWL_INVALID_STATION)
@@ -1301,7 +1298,6 @@ int iwl_tx_agg_stop(struct iwl_priv *priv , const u8 *ra, u16 tid)
1301 struct iwl_tid_data *tid_data; 1298 struct iwl_tid_data *tid_data;
1302 int ret, write_ptr, read_ptr; 1299 int ret, write_ptr, read_ptr;
1303 unsigned long flags; 1300 unsigned long flags;
1304 DECLARE_MAC_BUF(mac);
1305 1301
1306 if (!ra) { 1302 if (!ra) {
1307 IWL_ERROR("ra = NULL\n"); 1303 IWL_ERROR("ra = NULL\n");
@@ -1467,7 +1463,6 @@ void iwl_rx_reply_compressed_ba(struct iwl_priv *priv,
1467 int index; 1463 int index;
1468 struct iwl_tx_queue *txq = NULL; 1464 struct iwl_tx_queue *txq = NULL;
1469 struct iwl_ht_agg *agg; 1465 struct iwl_ht_agg *agg;
1470 DECLARE_MAC_BUF(mac);
1471 1466
1472 /* "flow" corresponds to Tx queue */ 1467 /* "flow" corresponds to Tx queue */
1473 u16 scd_flow = le16_to_cpu(ba_resp->scd_flow); 1468 u16 scd_flow = le16_to_cpu(ba_resp->scd_flow);
@@ -1489,10 +1484,10 @@ void iwl_rx_reply_compressed_ba(struct iwl_priv *priv,
1489 1484
1490 /* TODO: Need to get this copy more safely - now good for debug */ 1485 /* TODO: Need to get this copy more safely - now good for debug */
1491 1486
1492 IWL_DEBUG_TX_REPLY("REPLY_COMPRESSED_BA [%d]Received from %s, " 1487 IWL_DEBUG_TX_REPLY("REPLY_COMPRESSED_BA [%d]Received from %pM, "
1493 "sta_id = %d\n", 1488 "sta_id = %d\n",
1494 agg->wait_for_ba, 1489 agg->wait_for_ba,
1495 print_mac(mac, (u8 *) &ba_resp->sta_addr_lo32), 1490 (u8 *) &ba_resp->sta_addr_lo32,
1496 ba_resp->sta_id); 1491 ba_resp->sta_id);
1497 IWL_DEBUG_TX_REPLY("TID = %d, SeqCtl = %d, bitmap = 0x%llx, scd_flow = " 1492 IWL_DEBUG_TX_REPLY("TID = %d, SeqCtl = %d, bitmap = 0x%llx, scd_flow = "
1498 "%d, scd_ssn = %d\n", 1493 "%d, scd_ssn = %d\n",