qcacmn: Add UMAC vdev into DP vdev structure

Add and initialize UMAC vdev handle into DP vdev structure.

Change-Id: If0895bfdc773569cc9b40d735b6237522692cd57
CRs-Fixed: 2236237
This commit is contained in:
Akshay Kosigi
2018-05-03 23:39:27 +05:30
committed by nshrivas
parent 7650ed9900
commit dbbaef4f81
5 changed files with 16 additions and 4 deletions

View File

@@ -597,7 +597,8 @@ cdp_set_monitor_filter(ol_txrx_soc_handle soc, struct cdp_pdev *pdev,
*****************************************************************************/
static inline void
cdp_vdev_register(ol_txrx_soc_handle soc, struct cdp_vdev *vdev,
void *osif_vdev, struct ol_txrx_ops *txrx_ops)
void *osif_vdev, struct cdp_ctrl_objmgr_vdev *ctrl_vdev,
struct ol_txrx_ops *txrx_ops)
{
if (!soc || !soc->ops) {
QDF_TRACE(QDF_MODULE_ID_CDP, QDF_TRACE_LEVEL_DEBUG,
@@ -611,7 +612,7 @@ cdp_vdev_register(ol_txrx_soc_handle soc, struct cdp_vdev *vdev,
return;
soc->ops->cmn_drv_ops->txrx_vdev_register(vdev,
osif_vdev, txrx_ops);
osif_vdev, ctrl_vdev, txrx_ops);
}
static inline int

View File

@@ -37,4 +37,10 @@ struct cdp_soc;
* cdp_ctrl_objmgr_pdev - opaque handle for UMAC pdev object
*/
struct cdp_ctrl_objmgr_pdev;
/**
* cdp_ctrl_objmgr_vdev - opaque handle for UMAC vdev object
*/
struct cdp_ctrl_objmgr_vdev;
#endif

View File

@@ -159,7 +159,8 @@ struct cdp_cmn_ops {
********************************************************************/
void (*txrx_vdev_register)(struct cdp_vdev *vdev,
void *osif_vdev, struct ol_txrx_ops *txrx_ops);
void *osif_vdev, struct cdp_ctrl_objmgr_vdev *ctrl_vdev,
struct ol_txrx_ops *txrx_ops);
int (*txrx_mgmt_send)(struct cdp_vdev *vdev,
qdf_nbuf_t tx_mgmt_frm, uint8_t type);