qcacmn: Add initial support for word mask compaction

Add initial support for word mask compaction.

Change-Id: Ife05e355395fbc6c6804c34f62954a2b04a2cd03
CRs-Fixed: 3398292
This commit is contained in:
nobelj
2023-02-06 15:04:27 -08:00
کامیت شده توسط Madan Koyyalamudi
والد 3377c445f8
کامیت 20db7b641f
3فایلهای تغییر یافته به همراه55 افزوده شده و 23 حذف شده

مشاهده پرونده

@@ -512,22 +512,28 @@ struct dp_tx_mon_upstream_tlv_config {
/**
* struct dp_tx_mon_wordmask_config - Tx monitor word mask
* @tx_fes_setup: TX_FES_SETUP TLV word mask
* @pcu_ppdu_setup_init: PCU_PPDU_SETUP TLV word mask
* @tx_peer_entry: TX_PEER_ENTRY TLV word mask
* @tx_queue_ext: TX_QUEUE_EXTENSION TLV word mask
* @tx_fes_status_end: TX_FES_STATUS_END TLV word mask
* @response_end_status: RESPONSE_END_STATUS TLV word mask
* @tx_fes_status_prot: TX_FES_STATUS_PROT TLV word mask
* @tx_fes_setup: TX_FES_SETUP TLV word mask
* @tx_msdu_start: TX_MSDU_START TLV word mask
* @tx_mpdu_start: TX_MPDU_START TLV word mask
* @pcu_ppdu_setup_init: PCU_PPDU_SETUP TLV word mask
* @rxpcu_user_setup: RXPCU_USER_SETUP TLV word mask
*/
struct dp_tx_mon_wordmask_config {
uint16_t tx_fes_setup;
uint32_t pcu_ppdu_setup_init;
uint16_t tx_peer_entry;
uint16_t tx_queue_ext;
uint16_t tx_msdu_start;
uint16_t tx_mpdu_start;
uint32_t pcu_ppdu_setup_init;
uint16_t rxpcu_user_setup;
uint16_t tx_fes_status_end;
uint16_t response_end_status;
uint16_t tx_fes_status_prot;
uint8_t tx_fes_setup;
uint8_t tx_msdu_start;
uint8_t tx_mpdu_start;
uint8_t rxpcu_user_setup;
};
/**
@@ -536,6 +542,7 @@ struct dp_tx_mon_wordmask_config {
* @dtlvs: enable/disable downstream TLVs
* @utlvs: enable/disable upstream TLVs
* @wmask: enable/disable word mask subscription
* @compaction_enable: word mask compaction enable
* @mgmt_filter: enable/disable mgmt packets
* @data_filter: enable/disable data packets
* @ctrl_filter: enable/disable ctrl packets
@@ -565,6 +572,7 @@ struct htt_tx_ring_tlv_filter {
struct dp_tx_mon_downstream_tlv_config dtlvs;
struct dp_tx_mon_upstream_tlv_config utlvs;
struct dp_tx_mon_wordmask_config wmask;
uint8_t compaction_enable;
uint16_t mgmt_filter;
uint16_t data_filter;
uint16_t ctrl_filter;