qcacmn: Optimize monitor mode memory utilization

a. Optimize ppdu_info memory
b. Use kmem cache for ppdu info allocation

CRs-Fixed: 3265620
Change-Id: Ieee040aa703aef8c5eee5e5a34a52ef18300b696
This commit is contained in:
Amir Patel
2022-08-19 14:56:41 +05:30
committed by Madan Koyyalamudi
parent 49555350f2
commit 0fe7f4446b
10 changed files with 347 additions and 112 deletions

View File

@@ -390,6 +390,10 @@ enum cdp_mon_phyrx_abort_reason_code {
* @mpdus_to_stack: Number of MPDUs delivered to stack
* @status_buf_count: Number of status buffer received
* @empty_desc_ppdu: Number of empty desc received
* @total_ppdu_info_enq: Number of PPDUs enqueued to wq
* @total_ppdu_info_drop: Number of PPDUs dropped
* @total_ppdu_info_alloc: Number of PPDU info allocated
* @total_ppdu_info_free: Number of PPDU info freeed
*/
struct cdp_pdev_mon_stats {
#ifndef REMOVE_MON_DBG_STATS
@@ -434,6 +438,10 @@ struct cdp_pdev_mon_stats {
uint32_t mpdus_buf_to_stack;
uint32_t status_buf_count;
uint32_t empty_desc_ppdu;
uint32_t total_ppdu_info_enq;
uint32_t total_ppdu_info_drop;
uint32_t total_ppdu_info_alloc;
uint32_t total_ppdu_info_free;
};
#ifdef QCA_SUPPORT_LITE_MONITOR