/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 | 149 pid = idr_alloc(&wcid->pktid, skb, MT_PACKET_ID_FIRST, in mt76_tx_status_skb_add() 157 cb->pktid = pid; in mt76_tx_status_skb_add() 170 mt76_tx_status_skb_get(struct mt76_dev *dev, struct mt76_wcid *wcid, int pktid, in mt76_tx_status_skb_get() argument 178 skb = idr_remove(&wcid->pktid, pktid); in mt76_tx_status_skb_get() 183 idr_for_each_entry(&wcid->pktid, skb, id) { in mt76_tx_status_skb_get() 186 if (pktid >= 0) { in mt76_tx_status_skb_get() 198 idr_remove(&wcid->pktid, cb->pktid); in mt76_tx_status_skb_get() 204 if (idr_is_empty(&wcid->pktid)) in mt76_tx_status_skb_get() 272 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() 581 if (mt76_is_skb_pktid(stat->pktid)) in mt76x02_send_tx_status() 583 stat->pktid, &list); in mt76x02_send_tx_status() 588 if (!status.skb && !(stat->pktid & MT_PACKET_ID_HAS_RATE)) { in mt76x02_send_tx_status() 609 cur_pktid = msta->status.pktid; in mt76x02_send_tx_status() 617 cur_pktid = stat->pktid; in mt76x02_send_tx_status() 923 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 | mt76.h | 345 struct idr pktid; member 410 u8 pktid; member 1234 static inline bool mt76_is_skb_pktid(u8 pktid) in mt76_is_skb_pktid() argument 1236 if (pktid & MT_PACKET_ID_HAS_RATE) in mt76_is_skb_pktid() 1239 return pktid >= MT_PACKET_ID_FIRST; in mt76_is_skb_pktid() 1320 struct mt76_wcid *wcid, int pktid, 1623 idr_init(&wcid->pktid); in mt76_packet_id_init() 1635 idr_destroy(&wcid->pktid); in mt76_packet_id_flush()
|
H A D | mt76x02_txrx.c | 164 txwi->pktid = pid; in mt76x02_tx_prepare_skb()
|
/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/rtw89/ |
H A D | mac.h | 653 u16 pktid; 704 u16 pktid; 586 u16 pktid; global() member
|
H A D | mac.c | 1723 cfg->pktid = dle_info->ple_free_pg; in wde_quota_cfg() 1727 cfg->pktid = dle_info->ple_free_pg + rsvd_qt->mpdu_info_tbl; 1731 cfg->pktid = dle_info->ple_free_pg + in ple_quota_cfg() 1736 cfg->pktid = dle_info->ple_free_pg + in ple_quota_cfg() 1741 cfg->pktid = dle_info->ple_free_pg + in ple_quota_cfg() 1747 cfg->pktid = dle_info->ple_free_pg + in ple_quota_cfg() 1753 cfg->pktid = dle_info->ple_free_pg + in rtw89_mac_resize_ple_rx_quota() 3200 ctrl_para->pktid = FIELD_GET(B_AX_WD_CPUQ_OP_PKTID_MASK, val); in rtw89_dispatcher_imr_enable()
|