Searched refs:tx_info (Results 1 - 25 of 54) sorted by relevance

123

/freebsd-current/sys/contrib/dev/mediatek/mt76/mt7615/
H A Dpci_mac.c18 mt7615_write_fw_txp(struct mt7615_dev *dev, struct mt76_tx_info *tx_info, argument
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
60 mt7615_tx_prepare_skb(struct mt76_dev *mdev, void *txwi_ptr, enum mt76_txq_id qid, struct mt76_wcid *wcid, struct ieee80211_sta *sta, struct mt76_tx_info *tx_info) argument
[all...]
H A Dusb_sdio.c122 if (!(sta->wcid.tx_info & MT_WCID_TX_INFO_SET))
126 sta->wcid.tx_info |= MT_WCID_TX_INFO_SET;
184 struct mt76_tx_info *tx_info)
187 struct sk_buff *skb = tx_info->skb;
181 mt7663_usb_sdio_tx_prepare_skb(struct mt76_dev *mdev, void *txwi_ptr, enum mt76_txq_id qid, struct mt76_wcid *wcid, struct ieee80211_sta *sta, struct mt76_tx_info *tx_info) argument
/freebsd-current/sys/contrib/dev/mediatek/mt76/mt7921/
H A Dpci_mac.c11 struct mt76_tx_info *tx_info)
14 struct ieee80211_tx_info *info = IEEE80211_SKB_CB(tx_info->skb);
21 if (unlikely(tx_info->skb->len <= ETH_HLEN))
28 t->skb = tx_info->skb;
43 pid = mt76_tx_status_skb_add(mdev, wcid, tx_info->skb);
44 mt76_connac2_mac_write_txwi(mdev, txwi_ptr, tx_info->skb, wcid, key,
49 mt76_connac_write_hw_txp(mdev, tx_info, txp, id);
51 tx_info->skb = DMA_DUMMY_DATA;
8 mt7921e_tx_prepare_skb(struct mt76_dev *mdev, void *txwi_ptr, enum mt76_txq_id qid, struct mt76_wcid *wcid, struct ieee80211_sta *sta, struct mt76_tx_info *tx_info) argument
H A Dmac.c497 __le32 *tx_info = (__le32 *)(data + sizeof(*free)); local
499 __le32 *tx_info = (__le32 *)((u8 *)data + sizeof(*free)); local
520 if (WARN_ON_ONCE((void *)&tx_info[count] > end))
524 u32 msdu, info = le32_to_cpu(tx_info[i]);
781 struct mt76_tx_info *tx_info)
784 struct ieee80211_tx_info *info = IEEE80211_SKB_CB(tx_info->skb);
786 struct sk_buff *skb = tx_info->skb;
789 if (unlikely(tx_info->skb->len <= ETH_HLEN))
778 mt7921_usb_sdio_tx_prepare_skb(struct mt76_dev *mdev, void *txwi_ptr, enum mt76_txq_id qid, struct mt76_wcid *wcid, struct ieee80211_sta *sta, struct mt76_tx_info *tx_info) argument
H A Dmt7921.h264 struct mt76_tx_info *tx_info);
319 struct mt76_tx_info *tx_info);
/freebsd-current/sys/contrib/dev/mediatek/mt76/
H A Dmt76x02_usb_core.c67 struct mt76_tx_info *tx_info)
70 int pid, len = tx_info->skb->len, ep = q2ep(dev->mphy.q_tx[qid]->hw_idx);
72 bool ampdu = IEEE80211_SKB_CB(tx_info->skb)->flags & IEEE80211_TX_CTL_AMPDU;
77 mt76_insert_hdr_pad(tx_info->skb);
79 txwi = (struct mt76x02_txwi *)(tx_info->skb->data - sizeof(*txwi));
80 mt76x02_mac_write_txwi(dev, txwi, tx_info->skb, wcid, sta, len);
81 skb_push(tx_info->skb, sizeof(*txwi));
83 pid = mt76_tx_status_skb_add(mdev, wcid, tx_info->skb);
90 skb_get_queue_mapping(tx_info->skb));
107 ewma_pktlen_add(&msta->pktlen, tx_info
64 mt76x02u_tx_prepare_skb(struct mt76_dev *mdev, void *data, enum mt76_txq_id qid, struct mt76_wcid *wcid, struct ieee80211_sta *sta, struct mt76_tx_info *tx_info) argument
[all...]
H A Dmt76x02_txrx.c140 struct mt76_tx_info *tx_info)
143 struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)tx_info->skb->data;
145 bool ampdu = IEEE80211_SKB_CB(tx_info->skb)->flags & IEEE80211_TX_CTL_AMPDU;
152 len = tx_info->skb->len - (hdrlen & 2);
153 mt76x02_mac_write_txwi(dev, txwi, tx_info->skb, wcid, sta, len);
155 pid = mt76_tx_status_skb_add(mdev, wcid, tx_info->skb);
162 skb_get_queue_mapping(tx_info->skb));
169 tx_info->info = FIELD_PREP(MT_TXD_INFO_QSEL, qsel) |
173 tx_info->info |= MT_TXD_INFO_WIV;
178 ewma_pktlen_add(&msta->pktlen, tx_info
137 mt76x02_tx_prepare_skb(struct mt76_dev *mdev, void *txwi_ptr, enum mt76_txq_id qid, struct mt76_wcid *wcid, struct ieee80211_sta *sta, struct mt76_tx_info *tx_info) argument
[all...]
H A Dmt76x02_usb.h21 struct mt76_tx_info *tx_info);
H A Ddma.c468 struct sk_buff *skb, u32 tx_info)
488 mt76_dma_add_buf(dev, q, &buf, 1, tx_info, skb, NULL);
507 struct mt76_tx_info tx_info = { local
535 tx_info.buf[n].addr = t->dma_addr;
536 tx_info.buf[n++].len = dev->drv->txwi_size;
537 tx_info.buf[n].addr = addr;
538 tx_info.buf[n++].len = len;
541 if (n == ARRAY_SIZE(tx_info.buf))
549 tx_info.buf[n].addr = addr;
550 tx_info
467 mt76_dma_tx_queue_skb_raw(struct mt76_dev *dev, struct mt76_queue *q, struct sk_buff *skb, u32 tx_info) argument
[all...]
H A Dmt76x02_mcu.c40 u32 tx_info; local
57 tx_info = MT_MCU_MSG_TYPE_CMD |
63 ret = mt76_tx_queue_skb_raw(dev, mdev->q_mcu[MT_MCUQ_WM], skb, tx_info);
H A Dsdio.c521 struct mt76_tx_info tx_info = { local
531 err = dev->drv->tx_prepare_skb(dev, NULL, qid, wcid, sta, &tx_info);
535 q->entry[q->head].skb = tx_info.skb;
549 struct sk_buff *skb, u32 tx_info)
548 mt76s_tx_queue_skb_raw(struct mt76_dev *dev, struct mt76_queue *q, struct sk_buff *skb, u32 tx_info) argument
H A Dmt76x02_mac.c233 u32 tx_info; local
237 tx_info = FIELD_PREP(MT_WCID_TX_INFO_RATE, rateval) |
241 wcid->tx_info = tx_info;
382 wcid_tx_info = wcid->tx_info;
502 mt76x02_mac_process_tx_rate(&rate[0], msta->wcid.tx_info,
H A Dmt76_connac_mac.c177 struct mt76_tx_info *tx_info,
182 int i, nbuf = tx_info->nbuf - 1;
185 tx_info->buf[0].len = MT_TXD_SIZE + sizeof(*txp);
186 tx_info->nbuf = 1;
197 u16 len = tx_info->buf[i + 1].len & MT_TXD_LEN_MASK;
198 u32 addr = tx_info->buf[i + 1].addr;
176 mt76_connac_write_hw_txp(struct mt76_dev *dev, struct mt76_tx_info *tx_info, void *txp_ptr, u32 id) argument
/freebsd-current/sys/dev/mlx4/mlx4_en/
H A Dmlx4_en_tx.c98 ring->tx_info = kzalloc_node(tmp, GFP_KERNEL, node);
99 if (!ring->tx_info) {
100 ring->tx_info = kzalloc(tmp, GFP_KERNEL);
101 if (!ring->tx_info) {
110 &ring->tx_info[x].dma_map);
114 ring->tx_info[x].dma_map);
120 en_dbg(DRV, priv, "Allocated tx_info ring at addr:%p size:%d\n",
121 ring->tx_info, tmp);
180 bus_dmamap_destroy(ring->dma_tag, ring->tx_info[x].dma_map);
182 vfree(ring->tx_info);
274 struct mlx4_en_tx_info *tx_info = &ring->tx_info[index]; local
293 struct mlx4_en_tx_info *tx_info; local
644 struct mlx4_en_tx_info *tx_info; local
[all...]
/freebsd-current/sys/dev/ena/
H A Dena_netmap.c391 struct ena_tx_buffer *tx_info; local
408 tx_info = &tx_ring->tx_buffer_info[req_id];
409 tx_info->num_of_bufs = 0;
410 tx_info->nm_info.sockets_used = 0;
412 rc = ena_netmap_tx_map_slots(ctx, tx_info, &push_hdr, &header_len,
420 ena_tx_ctx.ena_bufs = tx_info->bufs;
422 ena_tx_ctx.num_bufs = tx_info->num_of_bufs;
446 ena_netmap_unmap_last_socket_chain(ctx, tx_info);
457 tx_info->tx_descs = nb_hw_desc;
461 for (unsigned int i = 0; i < tx_info
548 ena_netmap_tx_map_slots(struct ena_netmap_ctx *ctx, struct ena_tx_buffer *tx_info, void **push_hdr, uint16_t *header_len, uint16_t *packet_len) argument
764 ena_netmap_unmap_last_socket_chain(struct ena_netmap_ctx *ctx, struct ena_tx_buffer *tx_info) argument
823 struct ena_tx_buffer *tx_info; local
[all...]
H A Dena_datapath.c220 "tx_info doesn't have valid mbuf. req_id %hu qid %hu\n",
265 struct ena_tx_buffer *tx_info; local
272 tx_info = &tx_ring->tx_buffer_info[req_id];
274 mbuf = tx_info->mbuf;
276 tx_info->mbuf = NULL;
277 bintime_clear(&tx_info->timestamp);
279 bus_dmamap_sync(adapter->tx_buf_tag, tx_info->dmamap,
281 bus_dmamap_unload(adapter->tx_buf_tag, tx_info->dmamap);
288 total_done += tx_info->tx_descs;
845 ena_tx_map_mbuf(struct ena_ring *tx_ring, struct ena_tx_buffer *tx_info, argument
964 struct ena_tx_buffer *tx_info; local
[all...]
/freebsd-current/sys/dev/liquidio/
H A Dlio_rxtx.c56 union lio_tx_info *tx_info; local
187 tx_info = (union lio_tx_info *)&ndata.cmd.cmd3.ossp[0];
190 tx_info->s.gso_size = m_head->m_pkthdr.tso_segsz;
191 tx_info->s.gso_segs = howmany(m_head->m_pkthdr.len,
206 if (tx_info->s.gso_segs)
207 stats->tx_done += tx_info->s.gso_segs;
/freebsd-current/sys/contrib/dev/rtw89/
H A Drtw8852a.h99 struct rtw8852a_bb_pmac_info *tx_info,
H A Drtw8852a.c1476 struct rtw8852a_bb_pmac_info *tx_info,
1480 if (tx_info->mode == CONT_TX)
1483 else if (tx_info->mode == PKTS_TX)
1489 struct rtw8852a_bb_pmac_info *tx_info,
1492 enum rtw8852a_pmac_mode mode = tx_info->mode;
1493 u32 pkt_cnt = tx_info->tx_cnt;
1494 u16 period = tx_info->period;
1496 if (mode == CONT_TX && !tx_info->is_cck) {
1514 struct rtw8852a_bb_pmac_info *tx_info,
1519 if (!tx_info
1475 rtw8852a_stop_pmac_tx(struct rtw89_dev *rtwdev, struct rtw8852a_bb_pmac_info *tx_info, enum rtw89_phy_idx idx) argument
1488 rtw8852a_start_pmac_tx(struct rtw89_dev *rtwdev, struct rtw8852a_bb_pmac_info *tx_info, enum rtw89_phy_idx idx) argument
1513 rtw8852a_bb_set_pmac_tx(struct rtw89_dev *rtwdev, struct rtw8852a_bb_pmac_info *tx_info, enum rtw89_phy_idx idx) argument
1542 struct rtw8852a_bb_pmac_info tx_info = {0}; local
[all...]
H A Drtw8852b.h120 struct rtw8852b_bb_pmac_info *tx_info,
H A Drtw8852b.c1778 struct rtw8852b_bb_pmac_info *tx_info,
1782 if (tx_info->mode == CONT_TX)
1784 else if (tx_info->mode == PKTS_TX)
1789 struct rtw8852b_bb_pmac_info *tx_info,
1792 enum rtw8852b_pmac_mode mode = tx_info->mode;
1793 u32 pkt_cnt = tx_info->tx_cnt;
1794 u16 period = tx_info->period;
1796 if (mode == CONT_TX && !tx_info->is_cck) {
1813 struct rtw8852b_bb_pmac_info *tx_info,
1818 if (!tx_info
1777 rtw8852b_stop_pmac_tx(struct rtw89_dev *rtwdev, struct rtw8852b_bb_pmac_info *tx_info, enum rtw89_phy_idx idx) argument
1788 rtw8852b_start_pmac_tx(struct rtw89_dev *rtwdev, struct rtw8852b_bb_pmac_info *tx_info, enum rtw89_phy_idx idx) argument
1812 rtw8852b_bb_set_pmac_tx(struct rtw89_dev *rtwdev, struct rtw8852b_bb_pmac_info *tx_info, enum rtw89_phy_idx idx) argument
1843 struct rtw8852b_bb_pmac_info tx_info = {0}; local
[all...]
/freebsd-current/sys/dev/mana/
H A Dmana_en.c350 struct mana_send_buf_info *tx_info,
359 err = bus_dmamap_load_mbuf_sg(apc->tx_buf_tag, tx_info->dma_map,
377 tx_info->dma_map, m, segs, &nsegs, BUS_DMA_NOWAIT);
387 tx_info->mbuf = *m_head;
389 bus_dmamap_sync(apc->tx_buf_tag, tx_info->dma_map,
398 struct mana_send_buf_info *tx_info)
400 bus_dmamap_sync(apc->tx_buf_tag, tx_info->dma_map,
402 bus_dmamap_unload(apc->tx_buf_tag, tx_info->dma_map);
403 if (tx_info->mbuf) {
404 m_freem(tx_info
349 mana_tx_map_mbuf(struct mana_port_context *apc, struct mana_send_buf_info *tx_info, struct mbuf **m_head, struct mana_tx_package *tp, struct mana_stats *tx_stats) argument
397 mana_tx_unmap_mbuf(struct mana_port_context *apc, struct mana_send_buf_info *tx_info) argument
491 struct mana_send_buf_info *tx_info; local
1432 struct mana_send_buf_info *tx_info; local
[all...]
/freebsd-current/sys/contrib/dev/mediatek/mt76/mt7915/
H A Dmac.c752 struct mt76_tx_info *tx_info)
754 struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)tx_info->skb->data;
756 struct ieee80211_tx_info *info = IEEE80211_SKB_CB(tx_info->skb);
761 int id, i, nbuf = tx_info->nbuf - 1;
765 if (unlikely(tx_info->skb->len <= ETH_HLEN))
783 t->skb = tx_info->skb;
789 pid = mt76_tx_status_skb_add(mdev, wcid, tx_info->skb);
790 mt7915_mac_write_txwi(mdev, txwi_ptr, tx_info->skb, wcid, pid, key,
795 txp->buf[i] = cpu_to_le32(tx_info->buf[i + 1].addr);
796 txp->len[i] = cpu_to_le16(tx_info
749 mt7915_tx_prepare_skb(struct mt76_dev *mdev, void *txwi_ptr, enum mt76_txq_id qid, struct mt76_wcid *wcid, struct ieee80211_sta *sta, struct mt76_tx_info *tx_info) argument
896 __le32 *tx_info = (__le32 *)(data + sizeof(*free)); local
898 __le32 *tx_info = (__le32 *)((u8 *)data + sizeof(*free)); local
[all...]
/freebsd-current/sys/contrib/dev/mediatek/mt76/mt7996/
H A Dmac.c935 struct mt76_tx_info *tx_info)
937 struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)tx_info->skb->data;
939 struct ieee80211_tx_info *info = IEEE80211_SKB_CB(tx_info->skb);
944 int id, i, pid, nbuf = tx_info->nbuf - 1;
948 if (unlikely(tx_info->skb->len <= ETH_HLEN))
964 t->skb = tx_info->skb;
970 pid = mt76_tx_status_skb_add(mdev, wcid, tx_info->skb);
971 mt7996_mac_write_txwi(dev, txwi_ptr, tx_info->skb, wcid, key,
976 txp->fw.buf[i] = cpu_to_le32(tx_info->buf[i + 1].addr);
977 txp->fw.len[i] = cpu_to_le16(tx_info
932 mt7996_tx_prepare_skb(struct mt76_dev *mdev, void *txwi_ptr, enum mt76_txq_id qid, struct mt76_wcid *wcid, struct ieee80211_sta *sta, struct mt76_tx_info *tx_info) argument
[all...]
/freebsd-current/sys/contrib/dev/iwlwifi/mvm/
H A Dtx.c1927 struct ieee80211_tx_info *tx_info, u32 rate,
2006 tx_info->status.status_driver_data[0] =
2008 tx_info->status.status_driver_data[0]);
2009 tx_info->status.status_driver_data[1] = (void *)(uintptr_t)rate;
2026 memcpy(&info->status, &tx_info->status,
2027 sizeof(tx_info->status));
2050 tx_info->band = chanctx_conf->def.chan->band;
2051 iwl_mvm_hwrate_to_tx_status(mvm->fw, rate, tx_info);
2054 iwl_mvm_rs_tx_status(mvm, sta, tid, tx_info, false);
2276 struct ieee80211_tx_info tx_info local
1925 iwl_mvm_tx_reclaim(struct iwl_mvm *mvm, int sta_id, int tid, int txq, int index, struct ieee80211_tx_info *tx_info, u32 rate, bool is_flush) argument
[all...]

Completed in 315 milliseconds

123