qcacmn: support UL delay report for KIWI

support Ul delay report for KIWI

Change-Id: If78be5b7d1fa29e522d1df1d4372115d8e00473c
CRs-Fixed: 3222167
This commit is contained in:
Jinwei Chen
2022-06-14 01:28:11 -07:00
committed by Madan Koyyalamudi
parent 7c157e8716
commit 45f5248753
2 changed files with 22 additions and 5 deletions

View File

@@ -71,16 +71,16 @@ void hal_rx_wbm_err_info_get_generic_li(void *wbm_desc,
#if defined(WLAN_FEATURE_TSF_UPLINK_DELAY) || defined(CONFIG_SAWF)
static inline void
hal_tx_comp_get_buffer_timestamp(void *desc,
struct hal_tx_completion_status *ts)
hal_tx_comp_get_buffer_timestamp_li(void *desc,
struct hal_tx_completion_status *ts)
{
ts->buffer_timestamp = HAL_TX_DESC_GET(desc, WBM_RELEASE_RING_4,
BUFFER_TIMESTAMP);
}
#else /* !WLAN_FEATURE_TSF_UPLINK_DELAY || CONFIG_SAWF */
static inline void
hal_tx_comp_get_buffer_timestamp(void *desc,
struct hal_tx_completion_status *ts)
hal_tx_comp_get_buffer_timestamp_li(void *desc,
struct hal_tx_completion_status *ts)
{
}
#endif /* WLAN_FEATURE_TSF_UPLINK_DELAY || CONFIG_SAWF */
@@ -266,7 +266,7 @@ hal_tx_comp_get_status_generic_li(void *desc, void *ts1,
ts->tsf = HAL_TX_DESC_GET(desc, UNIFIED_WBM_RELEASE_RING_6,
TX_RATE_STATS_INFO_TX_RATE_STATS);
hal_tx_comp_get_buffer_timestamp(desc, ts);
hal_tx_comp_get_buffer_timestamp_li(desc, ts);
}
/**