qcacmn: Word mask TLV support for monitor

Word mask TLV support for QCN9224.

Change-Id: I9e5d6cbb32cc7469dc367f6fc4bca4ce8adc9da8
CRs-Fixed: 3368626
This commit is contained in:
Sushant Butta
2022-12-25 22:55:35 +05:30
committed by Madan Koyyalamudi
父節點 91f844bfce
當前提交 42be95a6df
共有 11 個文件被更改,包括 488 次插入155 次删除

查看文件

@@ -1,6 +1,6 @@
/*
* Copyright (c) 2016-2021 The Linux Foundation. All rights reserved.
* Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -1672,21 +1672,31 @@ int htt_h2t_rx_ring_cfg(struct htt_soc *htt_soc, int pdev_id,
msg_word,
(void *)htt_tlv_filter);
dp_mon_rx_wmask_subscribe(soc->dp_soc, msg_word, htt_tlv_filter);
if (mon_drop_th > 0)
HTT_RX_RING_SELECTION_CFG_RX_DROP_THRESHOLD_SET(*msg_word,
mon_drop_th);
mon_drop_th);
dp_mon_rx_enable_mpdu_logging(soc->dp_soc, msg_word, htt_tlv_filter);
dp_mon_rx_enable_phy_errors(msg_word, htt_tlv_filter);
/* word 14*/
msg_word += 3;
/* word 15*/
msg_word++;
/* word 16*/
msg_word++;
*msg_word = 0;
dp_mon_rx_enable_pkt_tlv_offset(soc->dp_soc, msg_word, htt_tlv_filter);
#ifdef FW_SUPPORT_NOT_YET
/* word 17*/
msg_word += 3;
/* word 20 and 21*/
msg_word += 4;
*msg_word = 0;
dp_mon_rx_enable_fpmo(soc->dp_soc, msg_word, htt_tlv_filter);