qcacmn: Reuse Rx Descriptor Pool Array
wifi up/down will cause soc stop and soc start which will allocate rx desc pool array memory for each wifi up This creates memory fragmentation issue hence reuse Rx descriptor pool array across wifi up/down and free only nbufs CRs-Fixed: 2394666 Change-Id: Ic897c733dfba3d8829e2f2f51099cd615b8a7ea2
This commit is contained in:
@@ -3677,6 +3677,11 @@ static void dp_pdev_deinit(struct cdp_pdev *txrx_pdev, int force)
|
||||
*/
|
||||
static void dp_pdev_deinit_wifi3(struct cdp_pdev *txrx_pdev, int force)
|
||||
{
|
||||
struct dp_pdev *pdev = (struct dp_pdev *)txrx_pdev;
|
||||
struct dp_soc *soc = pdev->soc;
|
||||
|
||||
soc->dp_soc_reinit = TRUE;
|
||||
|
||||
dp_pdev_deinit(txrx_pdev, force);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user