qcacmn: dp: Add support to update tsf timestamp in data packet

Add support to update tsf timestamp on driver entry and
exit in data packet. This helps debug latency issue in
XR usecases

Change-Id: I9c966c1b8cb09dc5eab6104fdad36c19a1d68045
CRs-Fixed: 3090108
This commit is contained in:
Nirav Shah
2022-01-24 18:38:30 +05:30
committed by Madan Koyyalamudi
parent 3e4c2182ff
commit 33528eaa41
7 changed files with 79 additions and 0 deletions

View File

@@ -996,6 +996,12 @@ typedef void (*ol_txrx_pktdump_cb)(ol_txrx_soc_handle soc,
uint8_t status,
uint8_t type);
/**
* ol_txrx_get_tsf_time - callback to get tsf time
*/
typedef QDF_STATUS(*ol_txrx_get_tsf_time)(void *osif_dev, uint64_t input_time,
uint64_t *tsf_time);
/**
* ol_txrx_ops - (pointers to) the functions used for tx and rx
* data xfer
@@ -1083,6 +1089,7 @@ struct ol_txrx_ops {
ol_txrx_mcast_me_fp me_convert;
ol_txrx_get_key_fp get_key;
ol_txrx_get_tsf_time get_tsf_time;
};
/**