qcacmn: Remove rx packet capture events processing if feature is disabled

Currently, rx packet capture events processing happens even
when feature is disabled by ini. This incurs per packet overhead
in rx path.

The fix is to move all the processing from rx path to packet capture mode
component. Send only wdi event from rx path, when feature is enabled by
ini.

Change-Id: I647256b85117cd3373950c78a5a0ae7d6710e4e2
CRs-Fixed: 2969123
This commit is contained in:
Surabhi Vishnoi
2021-07-14 12:36:50 +05:30
committed by Madan Koyyalamudi
parent e1708ea080
commit 9aaf9e8110
5 changed files with 39 additions and 25 deletions

View File

@@ -371,6 +371,7 @@ enum WDI_EVENT {
WDI_EVENT_PEER_QOS_STATS,
WDI_EVENT_PKT_CAPTURE_TX_DATA,
WDI_EVENT_PKT_CAPTURE_RX_DATA,
WDI_EVENT_PKT_CAPTURE_RX_DATA_NO_PEER,
WDI_EVENT_PKT_CAPTURE_OFFLOAD_TX_DATA,
WDI_EVENT_RX_CBF,
/* End of new event items */