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:

committed by
Madan Koyyalamudi

parent
559514f2b7
commit
2e2003d54f
@@ -1067,13 +1067,16 @@ QDF_STATUS dp_mon_filter_update_1_0(struct dp_pdev *pdev)
|
||||
* @pdev_id: id of data path pdev handle
|
||||
* @enable: Enable/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
|
||||
*
|
||||
* Return: void
|
||||
*/
|
||||
static void dp_cfr_filter_1_0(struct cdp_soc_t *soc_hdl,
|
||||
uint8_t pdev_id,
|
||||
bool enable,
|
||||
struct cdp_monitor_filter *filter_val)
|
||||
struct cdp_monitor_filter *filter_val,
|
||||
bool cfr_enable_monitor_mode)
|
||||
{
|
||||
struct dp_soc *soc = cdp_soc_t_to_dp_soc(soc_hdl);
|
||||
struct dp_pdev *pdev = NULL;
|
||||
@@ -1091,7 +1094,10 @@ static void dp_cfr_filter_1_0(struct cdp_soc_t *soc_hdl,
|
||||
mon_pdev = pdev->monitor_pdev;
|
||||
|
||||
if (mon_pdev->mvdev) {
|
||||
dp_mon_info("No action is needed since mon mode is enabled\n");
|
||||
if (enable && cfr_enable_monitor_mode)
|
||||
pdev->cfr_rcc_mode = true;
|
||||
else
|
||||
pdev->cfr_rcc_mode = false;
|
||||
return;
|
||||
}
|
||||
|
||||
|
@@ -3192,13 +3192,16 @@ dp_mon_filter_setup_tx_lite_mon(struct dp_mon_pdev_be *be_mon_pdev)
|
||||
* @pdev_id: id of data path pdev handle
|
||||
* @enable: Enable/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
|
||||
*
|
||||
* Return: void
|
||||
*/
|
||||
static void dp_cfr_filter_2_0(struct cdp_soc_t *soc_hdl,
|
||||
uint8_t pdev_id,
|
||||
bool enable,
|
||||
struct cdp_monitor_filter *filter_val)
|
||||
struct cdp_monitor_filter *filter_val,
|
||||
bool cfr_enable_monitor_mode)
|
||||
{
|
||||
struct dp_soc *soc = cdp_soc_t_to_dp_soc(soc_hdl);
|
||||
struct dp_pdev *pdev = NULL;
|
||||
|
Reference in New Issue
Block a user