|
@@ -373,7 +373,7 @@ static void iwl_pcie_tfd_unmap(struct iwl_trans *trans,
|
|
{
|
|
{
|
|
struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans);
|
|
struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans);
|
|
int i, num_tbs;
|
|
int i, num_tbs;
|
|
- void *tfd = iwl_pcie_get_tfd(trans_pcie, txq, index);
|
|
|
|
|
|
+ void *tfd = iwl_pcie_get_tfd(trans, txq, index);
|
|
|
|
|
|
/* Sanity check on number of chunks */
|
|
/* Sanity check on number of chunks */
|
|
num_tbs = iwl_pcie_tfd_get_num_tbs(trans, tfd);
|
|
num_tbs = iwl_pcie_tfd_get_num_tbs(trans, tfd);
|
|
@@ -2018,7 +2018,7 @@ static int iwl_fill_data_tbs(struct iwl_trans *trans, struct sk_buff *skb,
|
|
}
|
|
}
|
|
|
|
|
|
trace_iwlwifi_dev_tx(trans->dev, skb,
|
|
trace_iwlwifi_dev_tx(trans->dev, skb,
|
|
- iwl_pcie_get_tfd(trans_pcie, txq, txq->write_ptr),
|
|
|
|
|
|
+ iwl_pcie_get_tfd(trans, txq, txq->write_ptr),
|
|
trans_pcie->tfd_size,
|
|
trans_pcie->tfd_size,
|
|
&dev_cmd->hdr, IWL_FIRST_TB_SIZE + tb1_len,
|
|
&dev_cmd->hdr, IWL_FIRST_TB_SIZE + tb1_len,
|
|
hdr_len);
|
|
hdr_len);
|
|
@@ -2092,7 +2092,7 @@ static int iwl_fill_data_tbs_amsdu(struct iwl_trans *trans, struct sk_buff *skb,
|
|
IEEE80211_CCMP_HDR_LEN : 0;
|
|
IEEE80211_CCMP_HDR_LEN : 0;
|
|
|
|
|
|
trace_iwlwifi_dev_tx(trans->dev, skb,
|
|
trace_iwlwifi_dev_tx(trans->dev, skb,
|
|
- iwl_pcie_get_tfd(trans_pcie, txq, txq->write_ptr),
|
|
|
|
|
|
+ iwl_pcie_get_tfd(trans, txq, txq->write_ptr),
|
|
trans_pcie->tfd_size,
|
|
trans_pcie->tfd_size,
|
|
&dev_cmd->hdr, IWL_FIRST_TB_SIZE + tb1_len, 0);
|
|
&dev_cmd->hdr, IWL_FIRST_TB_SIZE + tb1_len, 0);
|
|
|
|
|
|
@@ -2425,7 +2425,7 @@ int iwl_trans_pcie_tx(struct iwl_trans *trans, struct sk_buff *skb,
|
|
memcpy(&txq->first_tb_bufs[txq->write_ptr], &dev_cmd->hdr,
|
|
memcpy(&txq->first_tb_bufs[txq->write_ptr], &dev_cmd->hdr,
|
|
IWL_FIRST_TB_SIZE);
|
|
IWL_FIRST_TB_SIZE);
|
|
|
|
|
|
- tfd = iwl_pcie_get_tfd(trans_pcie, txq, txq->write_ptr);
|
|
|
|
|
|
+ tfd = iwl_pcie_get_tfd(trans, txq, txq->write_ptr);
|
|
/* Set up entry for this TFD in Tx byte-count array */
|
|
/* Set up entry for this TFD in Tx byte-count array */
|
|
iwl_pcie_txq_update_byte_cnt_tbl(trans, txq, le16_to_cpu(tx_cmd->len),
|
|
iwl_pcie_txq_update_byte_cnt_tbl(trans, txq, le16_to_cpu(tx_cmd->len),
|
|
iwl_pcie_tfd_get_num_tbs(trans, tfd));
|
|
iwl_pcie_tfd_get_num_tbs(trans, tfd));
|