qcacmn: Changes to enable CFR on special vap
This change enables CFR captures on special vap. Change-Id: Ifdaeccf7cc2211af5a2b82feae3a0b3ee45b617a CRs-Fixed: 3308460
This commit is contained in:

committato da
Madan Koyyalamudi

parent
559514f2b7
commit
2e2003d54f
@@ -922,12 +922,14 @@ cdp_get_pldev(ol_txrx_soc_handle soc, uint8_t pdev_id)
|
||||
* @pdev_id: ID of the physical device object
|
||||
* @enable: Enable or disable CFR
|
||||
* @filter_val: Flag to select filter for monitor mode
|
||||
* @cfr_enable_monitor_mode: Flag to be enabled when scan radio is brought up
|
||||
* in special vap mode
|
||||
*/
|
||||
static inline void
|
||||
cdp_cfr_filter(ol_txrx_soc_handle soc,
|
||||
uint8_t pdev_id,
|
||||
bool enable,
|
||||
struct cdp_monitor_filter *filter_val)
|
||||
bool enable, struct cdp_monitor_filter *filter_val,
|
||||
bool cfr_enable_monitor_mode)
|
||||
{
|
||||
if (!soc || !soc->ops) {
|
||||
QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_FATAL,
|
||||
@@ -939,7 +941,8 @@ cdp_cfr_filter(ol_txrx_soc_handle soc,
|
||||
if (!soc->ops->cfr_ops || !soc->ops->cfr_ops->txrx_cfr_filter)
|
||||
return;
|
||||
|
||||
soc->ops->cfr_ops->txrx_cfr_filter(soc, pdev_id, enable, filter_val);
|
||||
soc->ops->cfr_ops->txrx_cfr_filter(soc, pdev_id, enable, filter_val,
|
||||
cfr_enable_monitor_mode);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Fai riferimento in un nuovo problema
Block a user