qcacmn: Use CONFIG_SAWF macro for enabling HW Tx Delay

Use CONFIG_SAWF macro to prevent linking dp_set_delta_tsf in
low memory profile.

Change-Id: I07b75f893e6d043839225d9b7288823b6ef2f823
CRs-Fixed: 3211426
This commit is contained in:
Ripan Deuri
2022-06-07 12:50:43 +05:30
committed by Madan Koyyalamudi
parent 00f755c0ce
commit 0ffa79f0a4
8 changed files with 10 additions and 10 deletions

View File

@@ -69,7 +69,7 @@ void hal_rx_wbm_err_info_get_generic_li(void *wbm_desc,
wbm_er_info->rxdma_err_code = HAL_RX_WBM_RXDMA_ERROR_CODE_GET(wbm_desc);
}
#if defined(WLAN_FEATURE_TSF_UPLINK_DELAY) || defined(QCA_PEER_EXT_STATS)
#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)
@@ -77,13 +77,13 @@ hal_tx_comp_get_buffer_timestamp(void *desc,
ts->buffer_timestamp = HAL_TX_DESC_GET(desc, WBM_RELEASE_RING_4,
BUFFER_TIMESTAMP);
}
#else /* !WLAN_FEATURE_TSF_UPLINK_DELAY || QCA_PEER_EXT_STATS */
#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)
{
}
#endif /* WLAN_FEATURE_TSF_UPLINK_DELAY || QCA_PEER_EXT_STATS */
#endif /* WLAN_FEATURE_TSF_UPLINK_DELAY || CONFIG_SAWF */
#ifdef QCA_UNDECODED_METADATA_SUPPORT
static inline void