qcacmn: Move monitor related fields from soc/pdev to mon_soc/mon_pdev
PATCH[6/7]: This patch consists following changes: -Move monitor related pdev variables to struct dp_mon_pdev -Move monitor relted soc variables to struct dp_mon_soc -Move cookie to monitor link desc va to monitor file -Add APIs to access monitor related variables -Add dummy APIs to build without monitor support. Change-Id: I032a480b1383d061f984cee3ba6b10ac7a0ff350 CRs-Fixed: 2983781
This commit is contained in:

committed by
Madan Koyyalamudi

parent
c4796962ca
commit
53fe7000ba
@@ -34,9 +34,6 @@
|
||||
#endif
|
||||
#include "enet.h"
|
||||
#include "dp_internal.h"
|
||||
#ifdef FEATURE_WDS
|
||||
#include "dp_txrx_wds.h"
|
||||
#endif
|
||||
#ifdef ATH_SUPPORT_IQUE
|
||||
#include "dp_txrx_me.h"
|
||||
#endif
|
||||
@@ -47,6 +44,9 @@
|
||||
#ifdef WIFI_MONITOR_SUPPORT
|
||||
#include <dp_mon.h>
|
||||
#endif
|
||||
#ifdef FEATURE_WDS
|
||||
#include "dp_txrx_wds.h"
|
||||
#endif
|
||||
|
||||
/* Flag to skip CCE classify when mesh or tid override enabled */
|
||||
#define DP_TX_SKIP_CCE_CLASSIFY \
|
||||
@@ -1994,7 +1994,7 @@ dp_tx_send_msdu_single(struct dp_vdev *vdev, qdf_nbuf_t nbuf,
|
||||
HTT_TX_TCL_METADATA_VALID_HTT_SET(htt_tcl_metadata, 1);
|
||||
|
||||
dp_tx_desc_update_fast_comp_flag(soc, tx_desc,
|
||||
!pdev->enhanced_stats_en);
|
||||
!monitor_is_enable_enhanced_stats(pdev));
|
||||
|
||||
dp_tx_update_mesh_flags(soc, vdev, tx_desc);
|
||||
|
||||
@@ -3837,7 +3837,7 @@ static inline void dp_tx_sojourn_stats_process(struct dp_pdev *pdev,
|
||||
uint64_t delta_ms;
|
||||
struct cdp_tx_sojourn_stats *sojourn_stats;
|
||||
|
||||
if (qdf_unlikely(pdev->enhanced_stats_en == 0))
|
||||
if (qdf_unlikely(!monitor_is_enable_enhanced_stats(pdev)))
|
||||
return;
|
||||
|
||||
if (qdf_unlikely(tid == HTT_INVALID_TID ||
|
||||
|
Reference in New Issue
Block a user