qcacmn: Enable usage of delta_tsf for SAWF

Enable usage of delta_tsf for SAWF. This will be used to compute tx
delay. Also, add support to update sawf stats in tx completion.

Change-Id: Idab7fbd5217175167ecdeee21cf5dc9daf1415d6
CRs-Fixed: 3135773
This commit is contained in:
Ripan Deuri
2022-02-01 22:35:06 +05:30
committato da Madan Koyyalamudi
parent d9ce043299
commit eb543663d2
8 ha cambiato i file con 52 aggiunte e 15 eliminazioni

Vedi File

@@ -852,9 +852,11 @@ struct cdp_ctrl_ops {
#endif
#ifdef WLAN_FEATURE_TSF_UPLINK_DELAY
#if defined(WLAN_FEATURE_TSF_UPLINK_DELAY) || defined(CONFIG_SAWF)
void (*txrx_set_delta_tsf)(struct cdp_soc_t *soc, uint8_t vdev_id,
uint32_t delta_tsf);
#endif
#ifdef WLAN_FEATURE_TSF_UPLINK_DELAY
QDF_STATUS (*txrx_set_tsf_ul_delay_report)(struct cdp_soc_t *soc,
uint8_t vdev_id,
bool enable);