qcacmn: Remove redundant field for rxmon global enable

Remove redundant field for rxmon global enable
and fix writing global enable field to correct
dword

Change-Id: I4efc0da559dce873bcb8721aeb0d7b7410b39dd9
CRs-Fixed: 3150784
This commit is contained in:
Naga
2022-02-24 15:38:43 +05:30
committed by Madan Koyyalamudi
parent 648757b8ca
commit 9ad28af16e
3 changed files with 2 additions and 8 deletions

View File

@@ -1040,8 +1040,8 @@ int htt_h2t_rx_ring_cfg(struct htt_soc *htt_soc, int pdev_id,
*msg_word = 0; *msg_word = 0;
HTT_H2T_MSG_TYPE_SET(*msg_word, HTT_H2T_MSG_TYPE_RX_RING_SELECTION_CFG); HTT_H2T_MSG_TYPE_SET(*msg_word, HTT_H2T_MSG_TYPE_RX_RING_SELECTION_CFG);
if (htt_tlv_filter->rx_mon_global_en) /* applicable only for post Li */
*msg_word |= (1 << RXMON_GLOBAL_EN_SHIFT); dp_rx_mon_enable(soc->dp_soc, msg_word, htt_tlv_filter);
/* /*
* pdev_id is indexed from 0 whereas mac_id is indexed from 1 * pdev_id is indexed from 0 whereas mac_id is indexed from 1
@@ -1080,7 +1080,6 @@ int htt_h2t_rx_ring_cfg(struct htt_soc *htt_soc, int pdev_id,
ring_buf_size); ring_buf_size);
dp_mon_rx_packet_length_set(soc->dp_soc, msg_word, htt_tlv_filter); dp_mon_rx_packet_length_set(soc->dp_soc, msg_word, htt_tlv_filter);
dp_rx_mon_enable(soc->dp_soc, msg_word, htt_tlv_filter);
/* word 2 */ /* word 2 */
msg_word++; msg_word++;

View File

@@ -673,7 +673,6 @@ struct htt_rx_ring_tlv_filter {
data_mpdu_log:1, data_mpdu_log:1,
enable:1; enable:1;
#endif #endif
uint8_t rx_mon_global_en;
}; };
/** /**

View File

@@ -1222,7 +1222,6 @@ void dp_mon_filter_setup_rx_mon_mode_2_0(struct dp_pdev *pdev)
rx_tlv_filter = &filter.rx_tlv_filter; rx_tlv_filter = &filter.rx_tlv_filter;
rx_tlv_filter->valid = true; rx_tlv_filter->valid = true;
rx_tlv_filter->tlv_filter.rx_mon_global_en = 1;
dp_mon_filter_set_status_cmn(mon_pdev, rx_tlv_filter); dp_mon_filter_set_status_cmn(mon_pdev, rx_tlv_filter);
dp_mon_filter_show_filter(mon_pdev, mode, rx_tlv_filter); dp_mon_filter_show_filter(mon_pdev, mode, rx_tlv_filter);
@@ -1542,7 +1541,6 @@ void dp_mon_filter_setup_rx_pkt_log_full_2_0(struct dp_pdev *pdev)
/* Enabled the filter */ /* Enabled the filter */
filter.rx_tlv_filter.valid = true; filter.rx_tlv_filter.valid = true;
rx_tlv_filter->rx_mon_global_en = 1;
dp_mon_filter_set_status_cmn(&mon_pdev_be->mon_pdev, dp_mon_filter_set_status_cmn(&mon_pdev_be->mon_pdev,
&filter.rx_tlv_filter); &filter.rx_tlv_filter);
@@ -1593,7 +1591,6 @@ void dp_mon_filter_setup_rx_pkt_log_lite_2_0(struct dp_pdev *pdev)
/* Enabled the filter */ /* Enabled the filter */
filter.rx_tlv_filter.valid = true; filter.rx_tlv_filter.valid = true;
filter.rx_tlv_filter.tlv_filter.rx_mon_global_en = 1;
dp_mon_filter_set_status_cmn(&mon_pdev_be->mon_pdev, dp_mon_filter_set_status_cmn(&mon_pdev_be->mon_pdev,
&filter.rx_tlv_filter); &filter.rx_tlv_filter);
@@ -1824,7 +1821,6 @@ dp_rx_mon_filter_h2t_setup(struct dp_soc *soc, struct dp_pdev *pdev,
continue; continue;
filter->valid = true; filter->valid = true;
tlv_filter->rx_mon_global_en = 1;
/* /*
* Set the super bit fields * Set the super bit fields