|
@@ -10961,6 +10961,16 @@ static void dp_drain_txrx(struct cdp_soc_t *soc_handle)
|
|
|
}
|
|
|
#endif
|
|
|
|
|
|
+#ifdef WLAN_FEATURE_PKT_CAPTURE_V2
|
|
|
+static void
|
|
|
+dp_set_pkt_capture_mode(struct cdp_soc_t *soc_handle, bool val)
|
|
|
+{
|
|
|
+ struct dp_soc *soc = (struct dp_soc *)soc_handle;
|
|
|
+
|
|
|
+ soc->wlan_cfg_ctx->pkt_capture_mode = val;
|
|
|
+}
|
|
|
+#endif
|
|
|
+
|
|
|
static struct cdp_cmn_ops dp_ops_cmn = {
|
|
|
.txrx_soc_attach_target = dp_soc_attach_target_wifi3,
|
|
|
.txrx_vdev_attach = dp_vdev_attach_wifi3,
|
|
@@ -11067,6 +11077,9 @@ static struct cdp_cmn_ops dp_ops_cmn = {
|
|
|
.txrx_sysfs_fill_stats = dp_sysfs_fill_stats,
|
|
|
.txrx_sysfs_set_stat_type = dp_sysfs_set_stat_type,
|
|
|
#endif /* WLAN_SYSFS_DP_STATS */
|
|
|
+#ifdef WLAN_FEATURE_PKT_CAPTURE_V2
|
|
|
+ .set_pkt_capture_mode = dp_set_pkt_capture_mode,
|
|
|
+#endif
|
|
|
};
|
|
|
|
|
|
static struct cdp_ctrl_ops dp_ops_ctrl = {
|