qcacmn: Conditionally compile monitor related features and issue fixes
PATCH[7/7]: This patch consists following changes: -Conditionally compile all monitor destination ring related code Macro used QCA_MONITOR_PKT_SUPPORT -Add QCA_ENHANCED_STATS_SUPPORT macro to conditionally compile enhanced stats support -Use QCA_MCOPY_SUPPORT and QCA_TX_CAPTURE_SUPPORT macros to conditionally compile MCOPY and Tx capture features respectively -Use QCN_IE macro to conditionally compile BPR feature -Use QCA_ADVANCE_MON_FILTER_SUPPORT macro to conditionally compile advance monitor filter feature -Fix vdev attach issue for special and smart monitor vap -Fix status ring initialization issue. Change-Id: I0deaa28a9a54bf34b0f41e6dd510fdd8d4992db2 CRs-Fixed: 2983780
这个提交包含在:
@@ -21,7 +21,6 @@
|
||||
#include "dp_internal.h"
|
||||
#include "htt_stats.h"
|
||||
#include "htt_ppdu_stats.h"
|
||||
|
||||
#ifdef QCA_PEER_EXT_STATS
|
||||
#include <cdp_txrx_hist_struct.h>
|
||||
#include "dp_hist.h"
|
||||
@@ -4344,35 +4343,6 @@ void dp_peer_stats_update_protocol_cnt(struct cdp_soc_t *soc_hdl,
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef WDI_EVENT_ENABLE
|
||||
QDF_STATUS dp_peer_qos_stats_notify(struct dp_pdev *dp_pdev,
|
||||
struct cdp_rx_stats_ppdu_user *ppdu_user)
|
||||
{
|
||||
struct cdp_interface_peer_qos_stats qos_stats_intf;
|
||||
|
||||
if (ppdu_user->peer_id == HTT_INVALID_PEER) {
|
||||
dp_err("Invalid peer id");
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
qdf_mem_zero(&qos_stats_intf, sizeof(qos_stats_intf));
|
||||
|
||||
qdf_mem_copy(qos_stats_intf.peer_mac, ppdu_user->mac_addr,
|
||||
QDF_MAC_ADDR_SIZE);
|
||||
qos_stats_intf.frame_control = ppdu_user->frame_control;
|
||||
qos_stats_intf.frame_control_info_valid =
|
||||
ppdu_user->frame_control_info_valid;
|
||||
qos_stats_intf.qos_control = ppdu_user->qos_control;
|
||||
qos_stats_intf.qos_control_info_valid =
|
||||
ppdu_user->qos_control_info_valid;
|
||||
qos_stats_intf.vdev_id = ppdu_user->vdev_id;
|
||||
dp_wdi_event_handler(WDI_EVENT_PEER_QOS_STATS, dp_pdev->soc,
|
||||
(void *)&qos_stats_intf, 0,
|
||||
WDI_NO_VAL, dp_pdev->pdev_id);
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef QCA_ENH_V3_STATS_SUPPORT
|
||||
/**
|
||||
* dp_vow_str_fw_to_hw_delay() - Return string for a delay
|
||||
|
在新工单中引用
屏蔽一个用户