qcacmn: Handle FPMO filter configuration
Handle FPMO mode filter settings configured from lite_mon tool. Change-Id: I9bfe70101bae7c8f55c6db95d9c36f4c1d308e95 CRs-Fixed: 3235935
这个提交包含在:
@@ -787,6 +787,8 @@ struct dp_mon_ops {
|
||||
struct htt_rx_ring_tlv_filter *tlv_filter);
|
||||
void (*rx_enable_mpdu_logging)(uint32_t *msg_word,
|
||||
struct htt_rx_ring_tlv_filter *tlv_filter);
|
||||
void (*rx_enable_fpmo)(uint32_t *msg_word,
|
||||
struct htt_rx_ring_tlv_filter *tlv_filter);
|
||||
#ifndef DISABLE_MON_CONFIG
|
||||
void (*mon_register_intr_ops)(struct dp_soc *soc);
|
||||
#endif
|
||||
@@ -3727,6 +3729,35 @@ dp_mon_rx_enable_mpdu_logging(struct dp_soc *soc, uint32_t *msg_word,
|
||||
monitor_ops->rx_enable_mpdu_logging(msg_word, tlv_filter);
|
||||
}
|
||||
|
||||
/*
|
||||
* dp_mon_rx_enable_fpmo() - set fpmo filters
|
||||
* @soc: dp soc handle
|
||||
* @msg_word: msg word
|
||||
* @tlv_filter: rx fing filter config
|
||||
*
|
||||
* Return: void
|
||||
*/
|
||||
static inline void
|
||||
dp_mon_rx_enable_fpmo(struct dp_soc *soc, uint32_t *msg_word,
|
||||
struct htt_rx_ring_tlv_filter *tlv_filter)
|
||||
{
|
||||
struct dp_mon_soc *mon_soc = soc->monitor_soc;
|
||||
struct dp_mon_ops *monitor_ops;
|
||||
|
||||
if (!mon_soc) {
|
||||
dp_mon_debug("mon soc is NULL");
|
||||
return;
|
||||
}
|
||||
|
||||
monitor_ops = mon_soc->mon_ops;
|
||||
if (!monitor_ops || !monitor_ops->rx_enable_fpmo) {
|
||||
dp_mon_debug("callback not registered");
|
||||
return;
|
||||
}
|
||||
|
||||
monitor_ops->rx_enable_fpmo(msg_word, tlv_filter);
|
||||
}
|
||||
|
||||
/*
|
||||
* dp_mon_rx_hdr_length_set() - set rx hdr tlv length
|
||||
* @soc: dp soc handle
|
||||
|
在新工单中引用
屏蔽一个用户