qcacld-3.0: Update pktcapture support

Update pktcapture support for packet capture mode.

Change-Id: Id7281d57b7eb547027a999e9662e6ca3c612673d
CRs-Fixed: 2700679
This commit is contained in:
Vulupala Shashank Reddy 2020-06-02 18:49:11 +05:30 • committed by nshrivas
commit 0570165f4e

View file

@ -109,9 +109,7 @@
#include <target_if_direct_buf_rx_api.h>
#endif
#ifdef WLAN_FEATURE_PKT_CAPTURE
#include "wlan_pkt_capture_ucfg_api.h"
#endif
#define WMA_LOG_COMPLETION_TIMER 3000 /* 3 seconds */
#define WMI_TLV_HEADROOM 128
@ -6732,6 +6730,13 @@ int wma_rx_service_ready_ext_event(void *handle, uint8_t *event,
wma_update_num_peers_tids(wma_handle, wlan_res_cfg);
}
if (ucfg_pkt_capture_get_mode(wma_handle->psoc) &&
wmi_service_enabled(wmi_handle,
wmi_service_packet_capture_support))
wlan_res_cfg->pktcapture_support = true;
else
wlan_res_cfg->pktcapture_support = false;
WMA_LOGD("%s: num_vdevs: %u", __func__, wlan_res_cfg->num_vdevs);
wma_init_dbr_params(wma_handle);