mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: move mac_txdone tracepoint in mt76 module
Move mac_txdone tracepoint in common code in order to be reused by mt7603 and mt7615 drivers Signed-off-by: Lorenzo Bianconi <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
b06177ce38
commit
5ac9889c33
+2
-1
@@ -6,6 +6,7 @@
|
||||
|
||||
#include "mt76x02.h"
|
||||
#include "mt76x02_trace.h"
|
||||
#include "trace.h"
|
||||
|
||||
void mt76x02_mac_reset_counters(struct mt76x02_dev *dev)
|
||||
{
|
||||
@@ -910,7 +911,7 @@ void mt76x02_tx_complete_skb(struct mt76_dev *mdev, enum mt76_txq_id qid,
|
||||
|
||||
txwi_ptr = mt76_get_txwi_ptr(mdev, e->txwi);
|
||||
txwi = (struct mt76x02_txwi *)txwi_ptr;
|
||||
trace_mac_txdone_add(dev, txwi->wcid, txwi->pktid);
|
||||
trace_mac_txdone(mdev, txwi->wcid, txwi->pktid);
|
||||
|
||||
mt76_tx_complete_skb(mdev, e->skb);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user