qcacmn: Initialize ppdu info flex mem pool during pdev attach

To avoid memory fragmentation during wifi down/up,
initialize ppdu info flex mem pool during pdev attach
instead of pdev init.

CRs-Fixed: 3235962
Change-Id: I7970ab056e600ccfe28ae1ccdc50a66d5ae0ade8
This commit is contained in:
Amir Patel
2022-07-06 19:05:07 +05:30
committed by Madan Koyyalamudi
parent b118e31770
commit e7422a7db6
3 changed files with 41 additions and 2 deletions

View File

@@ -786,6 +786,8 @@ struct dp_mon_ops {
/* Print advanced monitor stats */
void (*mon_rx_print_advanced_stats)
(struct dp_soc *soc, struct dp_pdev *pdev);
QDF_STATUS (*rx_mon_ppdu_info_pool_init)(struct dp_pdev *pdev);
void (*rx_mon_ppdu_info_pool_deinit)(struct dp_pdev *pdev);
};
/**