| /freebsd/sys/contrib/dev/mediatek/mt76/ |
| H A D | trace.h | 27 #define TXID_ENTRY __field(u8, wcid) __field(u8, pktid) 28 #define TXID_ASSIGN __entry->wcid = wcid; __entry->pktid = pktid 30 #define TXID_PR_ARG __entry->wcid, __entry->pktid 83 TP_PROTO(struct mt76_dev *dev, u8 wcid, u8 pktid), 84 TP_ARGS(dev, wcid, pktid), 100 TP_PROTO(struct mt76_dev *dev, u8 wcid, u8 pktid), 101 TP_ARGS(dev, wcid, pktid)
|
| H A D | mt76x02_trace.h | 22 #define TXID_ENTRY __field(u8, wcid) __field(u8, pktid) 24 #define TXID_PR_ARG __entry->wcid, __entry->pktid 65 __entry->pktid = stat->pktid;
|
| H A D | tx.c | 150 pid = idr_alloc(&wcid->pktid, skb, MT_PACKET_ID_FIRST, in mt76_tx_status_skb_add() 158 cb->pktid = pid; in mt76_tx_status_skb_add() 171 mt76_tx_status_skb_get(struct mt76_dev *dev, struct mt76_wcid *wcid, int pktid, in mt76_tx_status_skb_get() argument 179 skb = idr_remove(&wcid->pktid, pktid); in mt76_tx_status_skb_get() 184 idr_for_each_entry(&wcid->pktid, skb, id) { in mt76_tx_status_skb_get() 187 if (pktid >= 0) { in mt76_tx_status_skb_get() 199 idr_remove(&wcid->pktid, cb->pktid); in mt76_tx_status_skb_get() 205 if (idr_is_empty(&wcid->pktid)) in mt76_tx_status_skb_get() 271 if (cb->pktid < MT_PACKET_ID_FIRST) { in __mt76_tx_complete_skb()
|
| H A D | mt76x02_mac.c | 271 stat->pktid = FIELD_GET(MT_TX_STAT_FIFO_EXT_PKTID, stat2); in mt76x02_mac_load_tx_status() 492 if (st->pktid & MT_PACKET_ID_HAS_RATE) { in mt76x02_mac_fill_tx_status() 494 first_rate |= st->pktid & MT_PKTID_RATE; in mt76x02_mac_fill_tx_status() 562 if (stat->pktid == MT_PACKET_ID_NO_ACK) in mt76x02_send_tx_status() 579 if (mt76_is_skb_pktid(stat->pktid)) in mt76x02_send_tx_status() 581 stat->pktid, &list); in mt76x02_send_tx_status() 586 if (!status.skb && !(stat->pktid & MT_PACKET_ID_HAS_RATE)) { in mt76x02_send_tx_status() 607 cur_pktid = msta->status.pktid; in mt76x02_send_tx_status() 615 cur_pktid = stat->pktid; in mt76x02_send_tx_status() 921 trace_mac_txdone(mdev, txwi->wcid, txwi->pktid); in mt76x02_tx_complete_skb()
|
| H A D | mt76x02_mac.h | 18 u8 pktid; member 146 u8 pktid; member
|
| H A D | mt76x02_usb_core.c | 92 txwi->pktid = pid; in mt76x02u_tx_prepare_skb() 113 idr_remove(&wcid->pktid, pid); in mt76x02u_tx_prepare_skb()
|
| H A D | mt76x02_txrx.c | 164 txwi->pktid = pid; in mt76x02_tx_prepare_skb()
|
| H A D | mt76.h | 419 struct idr pktid; member 501 u8 pktid; member 1473 static inline bool mt76_is_skb_pktid(u8 pktid) in mt76_is_skb_pktid() argument 1475 if (pktid & MT_PACKET_ID_HAS_RATE) in mt76_is_skb_pktid() 1478 return pktid >= MT_PACKET_ID_FIRST; in mt76_is_skb_pktid() 1559 struct mt76_wcid *wcid, int pktid,
|
| H A D | mac80211.c | 1736 idr_init(&wcid->pktid); in mt76_wcid_init() 1753 idr_destroy(&wcid->pktid); in mt76_wcid_cleanup()
|
| /freebsd/sys/contrib/dev/broadcom/brcm80211/brcmfmac/ |
| H A D | msgbuf.c | 376 struct brcmf_msgbuf_pktid *pktid; in brcmf_msgbuf_get_pktid() local 385 pktid = &pktids->array[idx]; in brcmf_msgbuf_get_pktid() 386 dma_unmap_single(dev, pktid->physaddr, in brcmf_msgbuf_get_pktid() 387 pktid->skb->len - pktid->data_offset, in brcmf_msgbuf_get_pktid() 389 skb = pktid->skb; in brcmf_msgbuf_get_pktid() 390 pktid->allocated.counter = 0; in brcmf_msgbuf_get_pktid() 405 struct brcmf_msgbuf_pktid *pktid; in brcmf_msgbuf_release_array() local 412 pktid = &array[count]; in brcmf_msgbuf_release_array() 413 dma_unmap_single(dev, pktid->physaddr, in brcmf_msgbuf_release_array() 414 pktid->skb->len - pktid->data_offset, in brcmf_msgbuf_release_array() [all …]
|
| /freebsd/sys/contrib/dev/mediatek/mt76/mt7615/ |
| H A D | usb_sdio.c | 191 int pad, err, pktid; in mt7663_usb_sdio_tx_prepare_skb() local 206 pktid = mt76_tx_status_skb_add(&dev->mt76, wcid, skb); in mt7663_usb_sdio_tx_prepare_skb() 207 mt7663_usb_sdio_write_txwi(dev, wcid, qid, sta, key, pktid, skb); in mt7663_usb_sdio_tx_prepare_skb() 220 idr_remove(&wcid->pktid, pktid); in mt7663_usb_sdio_tx_prepare_skb()
|
| /freebsd/sys/netpfil/ipfw/nat64/ |
| H A D | nat64clat.c | 68 static uint32_t pktid = 0; in nat64clat_log() local 76 pktid++; in nat64clat_log() 77 plog->subrulenr = htonl(pktid); in nat64clat_log()
|
| H A D | nat64stl.c | 67 static uint32_t pktid = 0; in nat64stl_log() local 75 pktid++; in nat64stl_log() 76 plog->subrulenr = htonl(pktid); in nat64stl_log()
|
| /freebsd/sys/contrib/dev/mediatek/mt76/mt7921/ |
| H A D | mac.c | 787 int err, pad, pktid, type; in mt7921_usb_sdio_tx_prepare_skb() local 808 pktid = mt76_tx_status_skb_add(&dev->mt76, wcid, skb); in mt7921_usb_sdio_tx_prepare_skb() 809 mt7921_usb_sdio_write_txwi(dev, wcid, qid, sta, key, pktid, skb); in mt7921_usb_sdio_tx_prepare_skb() 820 idr_remove(&wcid->pktid, pktid); in mt7921_usb_sdio_tx_prepare_skb()
|
| /freebsd/sys/contrib/dev/mediatek/mt76/mt7925/ |
| H A D | mac.c | 1411 int err, pad, pktid; in mt7925_usb_sdio_tx_prepare_skb() local 1428 pktid = mt76_tx_status_skb_add(&dev->mt76, wcid, skb); in mt7925_usb_sdio_tx_prepare_skb() 1429 mt7925_usb_sdio_write_txwi(dev, wcid, qid, sta, key, pktid, skb); in mt7925_usb_sdio_tx_prepare_skb() 1439 idr_remove(&wcid->pktid, pktid); in mt7925_usb_sdio_tx_prepare_skb()
|
| /freebsd/sys/contrib/dev/rtw89/ |
| H A D | mac.h | 698 u16 pktid; member 749 u16 pktid; member
|
| H A D | mac.c | 1887 cfg->pktid = dle_info->ple_free_pg; in rtw89_mac_get_dle_rsvd_qt_cfg() 1891 cfg->pktid = dle_info->ple_free_pg + rsvd_qt->mpdu_info_tbl; in rtw89_mac_get_dle_rsvd_qt_cfg() 1895 cfg->pktid = dle_info->ple_free_pg + in rtw89_mac_get_dle_rsvd_qt_cfg() 1900 cfg->pktid = dle_info->ple_free_pg + in rtw89_mac_get_dle_rsvd_qt_cfg() 1905 cfg->pktid = dle_info->ple_free_pg + in rtw89_mac_get_dle_rsvd_qt_cfg() 1911 cfg->pktid = dle_info->ple_free_pg + in rtw89_mac_get_dle_rsvd_qt_cfg() 1917 cfg->pktid = dle_info->ple_free_pg + in rtw89_mac_get_dle_rsvd_qt_cfg() 3473 ctrl_para->pktid = FIELD_GET(B_AX_WD_CPUQ_OP_PKTID_MASK, val); in set_cpuio_ax()
|
| H A D | mac_be.c | 1071 val32 = u32_replace_bits(val32, qt_cfg.pktid, B_BE_MPDUINFO_PKTID_MASK); in txpktctrl_init_be() 1559 rtw89_write32_mask(rtwdev, reg, B_BE_CSI_RESERVED_START_PAGE_MASK, qt_cfg.pktid); in resp_pktctl_init_be() 1886 ctrl_para->pktid = u32_get_bits(val, B_BE_WD_CPUQ_OP_PKTID_MASK); in set_cpuio_be()
|