Lines Matching refs:tx_info
934 struct mt76_tx_info *tx_info) in mt7996_tx_prepare_skb() argument
936 struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)tx_info->skb->data; in mt7996_tx_prepare_skb()
938 struct ieee80211_tx_info *info = IEEE80211_SKB_CB(tx_info->skb); in mt7996_tx_prepare_skb()
943 int id, i, pid, nbuf = tx_info->nbuf - 1; in mt7996_tx_prepare_skb()
947 if (unlikely(tx_info->skb->len <= ETH_HLEN)) in mt7996_tx_prepare_skb()
954 t->skb = tx_info->skb; in mt7996_tx_prepare_skb()
960 pid = mt76_tx_status_skb_add(mdev, wcid, tx_info->skb); in mt7996_tx_prepare_skb()
961 mt7996_mac_write_txwi(dev, txwi_ptr, tx_info->skb, wcid, key, in mt7996_tx_prepare_skb()
968 len = FIELD_PREP(MT_TXP_BUF_LEN, tx_info->buf[i + 1].len); in mt7996_tx_prepare_skb()
971 tx_info->buf[i + 1].addr >> 32); in mt7996_tx_prepare_skb()
974 txp->fw.buf[i] = cpu_to_le32(tx_info->buf[i + 1].addr); in mt7996_tx_prepare_skb()
997 tx_info->skb = NULL; in mt7996_tx_prepare_skb()
1000 tx_info->buf[1].len = MT_CT_PARSE_LEN; in mt7996_tx_prepare_skb()
1001 tx_info->buf[1].skip_unmap = true; in mt7996_tx_prepare_skb()
1002 tx_info->nbuf = MT_CT_DMA_BUF_NUM; in mt7996_tx_prepare_skb()