qcacmn: Fix issues in monitor path
1. Replenish path issue: a. when number of required buffers passed to replenish API is '1', host does not replenish '1' buffer. b. If no. of available entries in ring are '0', return sw desc back to pool. 2. 32-bit compilation issue 3. Block ppdu desc deliver API when pktlog is enabled for BE Change-Id: I79ebf1f84830b4c2f5e5b727e3e08c5ee1870898
This commit is contained in:

committed by
Madan Koyyalamudi

parent
88a5486b0e
commit
9a61b83a20
@@ -4387,6 +4387,9 @@ static bool dp_txrx_ppdu_stats_handler(struct dp_soc *soc,
|
||||
if (!pdev)
|
||||
return true;
|
||||
|
||||
if (wlan_cfg_get_txmon_hw_support(soc->wlan_cfg_ctx))
|
||||
return free_buf;
|
||||
|
||||
if (!mon_pdev->enhanced_stats_en && !mon_pdev->tx_sniffer_enable &&
|
||||
!mon_pdev->mcopy_mode && !mon_pdev->bpr_enable)
|
||||
return free_buf;
|
||||
|
Reference in New Issue
Block a user