qcacmn: Check peer_count for peer filtering

Check peer count to decide if peer filtering is required or not.
This is required to support peer filtering for full monitor mode.

Change-Id: Icb3c0fc834795dbbbfd3a7899b3b733409f5f70d
CRs-Fixed: 3372600
Esse commit está contido em:
Nandha Kishore Easwaran
2023-01-04 16:07:14 +05:30
commit de Madan Koyyalamudi
commit 10a1d54f1d

Ver arquivo

@@ -1,6 +1,6 @@
/*
* Copyright (c) 2021, The Linux Foundation. All rights reserved.
* Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -852,7 +852,8 @@ dp_tx_lite_mon_filtering(struct dp_pdev *pdev,
mon_pdev_be->lite_mon_tx_config;
QDF_STATUS ret;
if (!dp_lite_mon_is_tx_enabled(mon_pdev))
if (!dp_lite_mon_is_tx_enabled(mon_pdev) &&
!config->tx_config.peer_count)
return QDF_STATUS_SUCCESS;
/* PPDU level filtering */