|
@@ -638,7 +638,7 @@ int iwlagn_tx_skb(struct iwl_priv *priv, struct sk_buff *skb)
|
|
|
|
|
|
/* Set up driver data for this TFD */
|
|
/* Set up driver data for this TFD */
|
|
memset(&(txq->txb[q->write_ptr]), 0, sizeof(struct iwl_tx_info));
|
|
memset(&(txq->txb[q->write_ptr]), 0, sizeof(struct iwl_tx_info));
|
|
- txq->txb[q->write_ptr].skb[0] = skb;
|
|
|
|
|
|
+ txq->txb[q->write_ptr].skb = skb;
|
|
|
|
|
|
/* Set up first empty entry in queue's array of Tx/cmd buffers */
|
|
/* Set up first empty entry in queue's array of Tx/cmd buffers */
|
|
out_cmd = txq->cmd[q->write_ptr];
|
|
out_cmd = txq->cmd[q->write_ptr];
|
|
@@ -1178,12 +1178,12 @@ int iwlagn_tx_queue_reclaim(struct iwl_priv *priv, int txq_id, int index)
|
|
q->read_ptr = iwl_queue_inc_wrap(q->read_ptr, q->n_bd)) {
|
|
q->read_ptr = iwl_queue_inc_wrap(q->read_ptr, q->n_bd)) {
|
|
|
|
|
|
tx_info = &txq->txb[txq->q.read_ptr];
|
|
tx_info = &txq->txb[txq->q.read_ptr];
|
|
- iwlagn_tx_status(priv, tx_info->skb[0]);
|
|
|
|
|
|
+ iwlagn_tx_status(priv, tx_info->skb);
|
|
|
|
|
|
- hdr = (struct ieee80211_hdr *)tx_info->skb[0]->data;
|
|
|
|
|
|
+ hdr = (struct ieee80211_hdr *)tx_info->skb->data;
|
|
if (hdr && ieee80211_is_data_qos(hdr->frame_control))
|
|
if (hdr && ieee80211_is_data_qos(hdr->frame_control))
|
|
nfreed++;
|
|
nfreed++;
|
|
- tx_info->skb[0] = NULL;
|
|
|
|
|
|
+ tx_info->skb = NULL;
|
|
|
|
|
|
if (priv->cfg->ops->lib->txq_inval_byte_cnt_tbl)
|
|
if (priv->cfg->ops->lib->txq_inval_byte_cnt_tbl)
|
|
priv->cfg->ops->lib->txq_inval_byte_cnt_tbl(priv, txq);
|
|
priv->cfg->ops->lib->txq_inval_byte_cnt_tbl(priv, txq);
|
|
@@ -1247,7 +1247,7 @@ static int iwlagn_tx_status_reply_compressed_ba(struct iwl_priv *priv,
|
|
agg->start_idx + i);
|
|
agg->start_idx + i);
|
|
}
|
|
}
|
|
|
|
|
|
- info = IEEE80211_SKB_CB(priv->txq[scd_flow].txb[agg->start_idx].skb[0]);
|
|
|
|
|
|
+ info = IEEE80211_SKB_CB(priv->txq[scd_flow].txb[agg->start_idx].skb);
|
|
memset(&info->status, 0, sizeof(info->status));
|
|
memset(&info->status, 0, sizeof(info->status));
|
|
info->flags |= IEEE80211_TX_STAT_ACK;
|
|
info->flags |= IEEE80211_TX_STAT_ACK;
|
|
info->flags |= IEEE80211_TX_STAT_AMPDU;
|
|
info->flags |= IEEE80211_TX_STAT_AMPDU;
|