qcacmn: Add field to indicate sw peer filtering
Add a field to indicate if SW peer filtering is needed in Tx monitor Change-Id: Id0ed1655dfe51632f0437c4e3e3c2ccd067f75fe CRs-Fixed: 3333191
Этот коммит содержится в:

коммит произвёл
Madan Koyyalamudi

родитель
70a8c0b8f8
Коммит
7432a2e275
@@ -3119,6 +3119,7 @@ dp_mon_filter_reset_tx_lite_mon(struct dp_mon_pdev_be *be_mon_pdev)
|
||||
if (!config)
|
||||
return;
|
||||
config->subtype_filtering = false;
|
||||
config->sw_peer_filtering = false;
|
||||
|
||||
}
|
||||
|
||||
|
@@ -728,8 +728,10 @@ dp_lite_mon_filter_peer(struct dp_lite_mon_tx_config *config,
|
||||
{
|
||||
struct dp_lite_mon_peer *peer;
|
||||
|
||||
/* Return here if peer filtering is not required */
|
||||
if (!config->tx_config.peer_count)
|
||||
/* Return here if sw peer filtering is not required or if peer count
|
||||
* is zero
|
||||
*/
|
||||
if (!config->sw_peer_filtering || !config->tx_config.peer_count)
|
||||
return QDF_STATUS_SUCCESS;
|
||||
|
||||
TAILQ_FOREACH(peer, &config->tx_config.peer_list, peer_list_elem) {
|
||||
@@ -806,7 +808,8 @@ dp_lite_mon_filter_peer_subtype(struct dp_lite_mon_tx_config *config,
|
||||
QDF_STATUS ret;
|
||||
|
||||
/* Return here if subtype and peer filtering is not required */
|
||||
if (!config->subtype_filtering && !config->tx_config.peer_count)
|
||||
if (!config->subtype_filtering && !config->sw_peer_filtering &&
|
||||
!config->tx_config.peer_count)
|
||||
return QDF_STATUS_SUCCESS;
|
||||
|
||||
if (dp_tx_mon_nbuf_get_num_frag(buf)) {
|
||||
|
Ссылка в новой задаче
Block a user