qcacmn: Set fast_tx flag when ol_stats are disabled
Set fast_tx when ol_stats are disabled in ultra_fastpath to avoid Tx completion overhead. And also includes following fixes: cdp support to get jitter stats cdp support to set/get vow stats cdp support to get Sojourn Stats Change-Id: I8bdb176edbdf210b4dedfaa117f058f57bd17241 CRs-Fixed: 3604215
This commit is contained in:

committed by
Rahul Choudhary

父節點
6bb232bd38
當前提交
37c16635b1
@@ -16,6 +16,7 @@
|
||||
*/
|
||||
#include <dp_types.h>
|
||||
#include "dp_rx.h"
|
||||
#include "dp_tx.h"
|
||||
#include "dp_peer.h"
|
||||
#include <dp_htt.h>
|
||||
#include <dp_mon_filter.h>
|
||||
@@ -1824,6 +1825,11 @@ dp_enable_enhanced_stats(struct cdp_soc_t *soc, uint8_t pdev_id)
|
||||
|
||||
dp_mon_tx_enable_enhanced_stats(pdev);
|
||||
|
||||
/* reset the tx fast path flag, as enhanced stats are enabled */
|
||||
pdev->tx_fast_flag &= ~DP_TX_DESC_FLAG_SIMPLE;
|
||||
if (dp_soc->hw_txrx_stats_en)
|
||||
pdev->tx_fast_flag &= ~DP_TX_DESC_FLAG_FASTPATH_SIMPLE;
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
@@ -1857,6 +1863,7 @@ dp_disable_enhanced_stats(struct cdp_soc_t *soc, uint8_t pdev_id)
|
||||
struct dp_pdev *pdev =
|
||||
dp_get_pdev_from_soc_pdev_id_wifi3((struct dp_soc *)soc,
|
||||
pdev_id);
|
||||
struct dp_soc *dp_soc = cdp_soc_t_to_dp_soc(soc);
|
||||
struct dp_mon_pdev *mon_pdev;
|
||||
|
||||
if (!pdev || !pdev->monitor_pdev)
|
||||
@@ -1879,6 +1886,11 @@ dp_disable_enhanced_stats(struct cdp_soc_t *soc, uint8_t pdev_id)
|
||||
FL("Failed to reset enhanced mode filters"));
|
||||
}
|
||||
|
||||
/* set the tx fast path flag, as enhanced stats are disabled */
|
||||
pdev->tx_fast_flag |= DP_TX_DESC_FLAG_SIMPLE;
|
||||
if (dp_soc->hw_txrx_stats_en)
|
||||
pdev->tx_fast_flag |= DP_TX_DESC_FLAG_FASTPATH_SIMPLE;
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user