mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
qcacld-3.0: Update pktcapture support
Update pktcapture support for packet capture mode. Change-Id: Id7281d57b7eb547027a999e9662e6ca3c612673d CRs-Fixed: 2700679
This commit is contained in:
parent
940be6b36c
commit
0570165f4e
1 changed files with 7 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue