Lines Matching refs:tx_info
18 mt7615_write_fw_txp(struct mt7615_dev *dev, struct mt76_tx_info *tx_info,
21 struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)tx_info->skb->data;
22 struct ieee80211_tx_info *info = IEEE80211_SKB_CB(tx_info->skb);
27 int nbuf = tx_info->nbuf - 1;
31 txp->buf[i] = cpu_to_le32(tx_info->buf[i + 1].addr);
32 txp->len[i] = cpu_to_le16(tx_info->buf[i + 1].len);
37 tx_info->buf[0].len = MT_TXD_SIZE + sizeof(*txp);
38 tx_info->buf[1].len = MT_CT_PARSE_LEN;
39 tx_info->buf[1].skip_unmap = true;
40 tx_info->nbuf = MT_CT_DMA_BUF_NUM;
63 struct mt76_tx_info *tx_info)
66 struct ieee80211_tx_info *info = IEEE80211_SKB_CB(tx_info->skb);
92 t->skb = tx_info->skb;
98 pid = mt76_tx_status_skb_add(mdev, wcid, tx_info->skb);
99 mt7615_mac_write_txwi(dev, txwi_ptr, tx_info->skb, wcid, sta,
105 mt7615_write_fw_txp(dev, tx_info, txp, id);
107 mt76_connac_write_hw_txp(mdev, tx_info, txp, id);
109 tx_info->skb = NULL;