qcacmn: removal of cp handles and changes for ol_if_ops

Remove pdev and vdev control path handles from data path.
Instead send pdev_id and vdev_id along with opaque soc
handle in ol_if_ops.

Change-Id: I6ee083f07e464f283da0d70ada70a4e10e18e1b2
This commit is contained in:
Pavankumar Nandeshwar
2019-09-27 11:27:12 +05:30
committed by nshrivas
parent 7c7089627e
commit 4c7b81b540
12 changed files with 103 additions and 111 deletions

View File

@@ -803,8 +803,9 @@ out:
msg.nbuf = mpdu;
msg.vdev_id = vdev->vdev_id;
if (pdev->soc->cdp_soc.ol_ops->rx_invalid_peer)
pdev->soc->cdp_soc.ol_ops->rx_invalid_peer(pdev->ctrl_pdev,
&msg);
pdev->soc->cdp_soc.ol_ops->rx_invalid_peer(
(struct cdp_ctrl_objmgr_psoc *)soc->ctrl_psoc,
pdev->pdev_id, &msg);
free:
/* Drop and free packet */