qcacmn: Return missing link and mon desc and free associated buffers

It is observed that in some corner cases msdu count received
in montior destination ring descriptor is unreliable as a
result some of the link descriptor and associated monitor buf
descs are not returned. This change return such missing link/buf
descriptors and free associated buffers.

Change-Id: Iaad476b8e7a0372122981fd29c1f6e4685137817
CRs-Fixed: 3483157
This commit is contained in:
Jeevan Kukkalli
2023-04-28 21:20:22 +05:30
committed by Madan Koyyalamudi
parent 2c3de7f375
commit 794367b541
4 changed files with 19 additions and 8 deletions

View File

@@ -3168,6 +3168,7 @@ struct cdp_pdev_deter_stats {
* @peer_unauth_rx_pkt_drop: stats counter for drops due to unauthorized peer
* @telemetry_stats: pdev telemetry stats
* @deter_stats:
* @invalid_msdu_cnt: Invalid MSDU count received counter
*/
struct cdp_pdev_stats {
struct {
@@ -3265,6 +3266,7 @@ struct cdp_pdev_stats {
struct cdp_pdev_telemetry_stats telemetry_stats;
struct cdp_pdev_deter_stats deter_stats;
#endif
uint32_t invalid_msdu_cnt;
};
/**