qcacmn: support more dp srng with memory pre-allocation
add more ring type's size to wlan_dp_prealloc_cfg structure, add DP_MON_PDEV_TYPE memory pre-allocation support. Change-Id: I23aebaf7e7e78206ac49ebf02719f6b4dee99875 CRs-Fixed: 3314209
This commit is contained in:

committed by
Madan Koyyalamudi

父節點
61db6e2df1
當前提交
2a6561273c
@@ -5078,7 +5078,7 @@ fail2:
|
||||
mon_ops->mon_pdev_free(pdev);
|
||||
fail1:
|
||||
pdev->monitor_pdev = NULL;
|
||||
qdf_mem_free(mon_pdev);
|
||||
dp_context_free_mem(soc, DP_MON_PDEV_TYPE, mon_pdev);
|
||||
fail0:
|
||||
return QDF_STATUS_E_NOMEM;
|
||||
}
|
||||
@@ -5114,7 +5114,7 @@ QDF_STATUS dp_mon_pdev_detach(struct dp_pdev *pdev)
|
||||
if (mon_ops->mon_pdev_free)
|
||||
mon_ops->mon_pdev_free(pdev);
|
||||
|
||||
qdf_mem_free(mon_pdev);
|
||||
dp_context_free_mem(pdev->soc, DP_MON_PDEV_TYPE, mon_pdev);
|
||||
pdev->monitor_pdev = NULL;
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
Reference in New Issue
Block a user