qcacmn: Allocate and Initialize monitor rings

Allocate tx/rx monitor destination rings for waikiki

CRs-Fixed: 3010845
Change-Id: I1c6950188e2693cab648679d34d6731db53978f9
This commit is contained in:
Naga
2021-10-05 00:16:43 +05:30
committed by Madan Koyyalamudi
parent e1a6f926ed
commit df329ebb84
10 changed files with 221 additions and 45 deletions

View File

@@ -2088,7 +2088,7 @@ QDF_STATUS dp_mon_pdev_attach(struct dp_pdev *pdev)
}
if (mon_ops->mon_rings_alloc) {
if (mon_ops->mon_rings_alloc(soc, pdev)) {
if (mon_ops->mon_rings_alloc(pdev)) {
dp_mon_err("%pK: MONITOR rings setup failed", pdev);
goto fail2;
}
@@ -2207,7 +2207,7 @@ QDF_STATUS dp_mon_pdev_init(struct dp_pdev *pdev)
}
if (mon_ops->mon_rings_init) {
if (mon_ops->mon_rings_init(soc, pdev)) {
if (mon_ops->mon_rings_init(pdev)) {
dp_mon_err("%pK: MONITOR rings setup failed", pdev);
goto fail1;
}