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:

commit de
Madan Koyyalamudi

pai
7e50aa48ab
commit
10a1d54f1d
@@ -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 */
|
||||
|
Referência em uma nova issue
Block a user