qcacmn: Move core monitor and monitor dependent feature func

PATCH[4/7]:
This patch consists following changes:
 - Move core monitor and monitor dependent feature functions
   to monitor file
 - Move enhanced stats functions from htt to monitor file
 - Move vdev set monitor mode rings function to monitor file
 - Create and initialize relevant funct ptrs
 - Initialize cdp monitor related ops.

Change-Id: Iac1ab43eb1c4b98bd21bbb8a5741ee53034da2f1
CRs-Fixed: 2984635
This commit is contained in:
aloksing
2021-05-12 14:14:39 +05:30
committato da Madan Koyyalamudi
parent f20f31dc10
commit e7cc727374
14 ha cambiato i file con 5431 aggiunte e 4280 eliminazioni

Vedi File

@@ -19,6 +19,10 @@
#include "dp_internal.h"
#include "qdf_mem.h" /* qdf_mem_malloc,free */
#ifdef WIFI_MONITOR_SUPPORT
#include "dp_htt.h"
#include <dp_mon.h>
#endif
#ifdef WDI_EVENT_ENABLE
void *dp_get_pldev(struct cdp_soc_t *soc_hdl, uint8_t pdev_id)
@@ -192,7 +196,7 @@ dp_wdi_event_sub(
return -EINVAL;
}
dp_set_pktlog_wifi3(txrx_pdev, event, true);
monitor_set_pktlog_wifi3(txrx_pdev, event, true);
event_index = event - WDI_EVENT_BASE;
wdi_sub = txrx_pdev->wdi_event_list[event_index];
@@ -254,7 +258,7 @@ dp_wdi_event_unsub(
return -EINVAL;
}
dp_set_pktlog_wifi3(txrx_pdev, event, false);
monitor_set_pktlog_wifi3(txrx_pdev, event, false);
if (!event_cb_sub->priv.prev) {
txrx_pdev->wdi_event_list[event_index] = event_cb_sub->priv.next;