qcacmn: Add CBF support for pktlog

Fix issue on enabling packet log.
Fix issue on logging CBF pkt in AP/STA mode.
Fix issue on setting data length 4 bytes aligned in pktlog header
, htt stats indication message header and Rx management TLV header.
Add CBF support for pktlog WMI enable command for firmware to enable
CBF receive.

Change-Id: Ib0067f32d7414be96503c4c67846c1312a59586e
This commit is contained in:
Kai Chen
2021-02-05 12:11:11 -08:00
committed by snandini
parent 4ea435bd55
commit 2667f112d8
7 changed files with 49 additions and 19 deletions

View File

@@ -521,6 +521,10 @@ static const uint32_t vdev_param_tlv[] = {
};
#endif
#ifndef WMI_PKTLOG_EVENT_CBF
#define WMI_PKTLOG_EVENT_CBF 0x100
#endif
/**
* Populate the pktlog event tlv array, where
* the values are the FW WMI events, which host
@@ -539,6 +543,7 @@ static const uint32_t pktlog_event_tlv[] = {
[WMI_HOST_PKTLOG_EVENT_STEERING_BIT] = 0,
[WMI_HOST_PKTLOG_EVENT_TX_DATA_CAPTURE_BIT] = 0,
[WMI_HOST_PKTLOG_EVENT_PHY_LOGGING_BIT] = WMI_PKTLOG_EVENT_PHY,
[WMI_HOST_PKTLOG_EVENT_CBF_BIT] = WMI_PKTLOG_EVENT_CBF,
};
/**