qcacmn: Add common framework for mon filters
A framework is added where the filters for every mode are stored on a radio instance. Whenever a mode comes up, it stores the filters in the radio and calls a common API which iterates through all the enabled mode filters and loops through them to create a superset of filters which is sent to HTT. This framework can be extended for new feature addition which set filters for the monitor status and monitor destination rings. Change-Id: I9b739af2086bbe261b65c57af0a5bd867294f30f CRs-Fixed: 2585872
This commit is contained in:
@@ -27,7 +27,8 @@
|
||||
#include "cdp_txrx_handle.h"
|
||||
|
||||
static inline QDF_STATUS cdp_reset_monitor_mode(ol_txrx_soc_handle soc,
|
||||
uint8_t pdev_id)
|
||||
uint8_t pdev_id,
|
||||
u_int8_t smart_monitor)
|
||||
{
|
||||
if (!soc || !soc->ops) {
|
||||
QDF_TRACE(QDF_MODULE_ID_CDP, QDF_TRACE_LEVEL_DEBUG,
|
||||
@@ -40,7 +41,8 @@ static inline QDF_STATUS cdp_reset_monitor_mode(ol_txrx_soc_handle soc,
|
||||
!soc->ops->mon_ops->txrx_reset_monitor_mode)
|
||||
return 0;
|
||||
|
||||
return soc->ops->mon_ops->txrx_reset_monitor_mode(soc, pdev_id);
|
||||
return soc->ops->mon_ops->txrx_reset_monitor_mode(soc, pdev_id,
|
||||
smart_monitor);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user