qcacmn: Do not enable word compaction for pktlog
Recently, Word compaction is by default enabled as part of all monitor mode realated features. Due to which, while parsing the pktlog data, multiple TLV parsing errors are seen. Hence, with this change word compaction is disabled if pktlog is enabled. Change-Id: I35153f74da2de5978b225ced7f8c1112f3aff3b2 CRs-Fixed: 3551975
This commit is contained in:

committed by
Rahul Choudhary

szülő
15812b8137
commit
7ce350b5a0
@@ -826,7 +826,8 @@ struct dp_mon_ops {
|
||||
struct htt_rx_ring_tlv_filter *tlv_filter);
|
||||
void (*rx_packet_length_set)(uint32_t *msg_word,
|
||||
struct htt_rx_ring_tlv_filter *tlv_filter);
|
||||
void (*rx_wmask_subscribe)(uint32_t *msg_word,
|
||||
void (*rx_wmask_subscribe)(struct dp_soc *soc,
|
||||
uint32_t *msg_word, int pdev_id,
|
||||
struct htt_rx_ring_tlv_filter *tlv_filter);
|
||||
void (*rx_pkt_tlv_offset)(uint32_t *msg_word,
|
||||
struct htt_rx_ring_tlv_filter *tlv_filter);
|
||||
@@ -3945,7 +3946,8 @@ void dp_monitor_pdev_reset_scan_spcl_vap_stats_enable(struct dp_pdev *pdev,
|
||||
|
||||
#if defined(CONFIG_MON_WORD_BASED_TLV)
|
||||
static inline void
|
||||
dp_mon_rx_wmask_subscribe(struct dp_soc *soc, uint32_t *msg_word,
|
||||
dp_mon_rx_wmask_subscribe(struct dp_soc *soc,
|
||||
uint32_t *msg_word, int pdev_id,
|
||||
struct htt_rx_ring_tlv_filter *tlv_filter)
|
||||
{
|
||||
struct dp_mon_soc *mon_soc = soc->monitor_soc;
|
||||
@@ -3963,11 +3965,12 @@ dp_mon_rx_wmask_subscribe(struct dp_soc *soc, uint32_t *msg_word,
|
||||
return;
|
||||
}
|
||||
|
||||
monitor_ops->rx_wmask_subscribe(msg_word, tlv_filter);
|
||||
monitor_ops->rx_wmask_subscribe(soc, msg_word, pdev_id, tlv_filter);
|
||||
}
|
||||
#else
|
||||
static inline void
|
||||
dp_mon_rx_wmask_subscribe(struct dp_soc *soc, uint32_t *msg_word,
|
||||
dp_mon_rx_wmask_subscribe(struct dp_soc *soc,
|
||||
uint32_t *msg_word, int pdev_id,
|
||||
struct htt_rx_ring_tlv_filter *tlv_filter)
|
||||
{
|
||||
}
|
||||
|
Reference in New Issue
Block a user