qcacmn: Add Advance monitor filter support

Added advance monitor filter support for mon v2
in cfg80211tool.

Change-Id: Iee0a3c10f4281dd6d7f9b59efa7a5807c0fb234e
CRs-Fixed: 3380845
This commit is contained in:
Aniruddha Mishra
2023-01-05 18:38:47 +05:30
committed by Madan Koyyalamudi
parent b17c727a41
commit 099d29726b
4 changed files with 69 additions and 3 deletions

View File

@@ -509,6 +509,14 @@ static QDF_STATUS dp_vdev_set_monitor_mode(struct cdp_soc_t *dp_soc,
mon_pdev->monitor_configured = true;
/* If advance monitor filter is applied using lite_mon
* via vap configuration, required filters are already applied
* hence returning SUCCESS from here.
*/
if (dp_monitor_lite_mon_is_rx_adv_filter_enable(pdev)) {
status = QDF_STATUS_SUCCESS;
goto fail;
}
/* disable lite mon if configured, monitor vap takes
* priority over lite mon when its created. Lite mon
* can be configured later again.