qcacmn: Add api to set ctrl pdev to dp pdev handle
Add cdp api to set UMAC ctrl pdev to dp pdev handle. Change-Id: I12a1b6e04bce0b72257c87435d027d66d9156ca7 CRs-fixed: 2273029
Este cometimento está contido em:

cometido por
nshrivas

ascendente
d50f3a6b05
cometimento
5a6f590ed0
@@ -1581,6 +1581,25 @@ cdp_peer_map_attach(ol_txrx_soc_handle soc, uint32_t max_peers)
|
||||
soc->ops->cmn_drv_ops->txrx_peer_map_attach(soc, max_peers);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
* cdp_pdev_set_ctrl_pdev() - set UMAC ctrl pdev to dp pdev
|
||||
* @soc: opaque soc handle
|
||||
* @pdev: opaque dp pdev handle
|
||||
* @ctrl_pdev: opaque ctrl pdev handle
|
||||
*
|
||||
* Return: void
|
||||
*/
|
||||
static inline void
|
||||
cdp_pdev_set_ctrl_pdev(ol_txrx_soc_handle soc, struct cdp_pdev *dp_pdev,
|
||||
struct cdp_ctrl_objmgr_pdev *ctrl_pdev)
|
||||
{
|
||||
if (soc && soc->ops && soc->ops->cmn_drv_ops &&
|
||||
soc->ops->cmn_drv_ops->txrx_pdev_set_ctrl_pdev)
|
||||
soc->ops->cmn_drv_ops->txrx_pdev_set_ctrl_pdev(dp_pdev,
|
||||
ctrl_pdev);
|
||||
}
|
||||
|
||||
#ifdef RECEIVE_OFFLOAD
|
||||
/**
|
||||
* cdp_register_rx_offld_flush_cb() - register LRO/GRO flush cb function pointer
|
||||
|
@@ -309,6 +309,9 @@ struct cdp_cmn_ops {
|
||||
QDF_STATUS (*txrx_peer_map_attach)(ol_txrx_soc_handle soc,
|
||||
uint32_t num_peers);
|
||||
|
||||
void (*txrx_pdev_set_ctrl_pdev)(struct cdp_pdev *pdev_hdl,
|
||||
struct cdp_ctrl_objmgr_pdev *ctrl_pdev);
|
||||
|
||||
ol_txrx_tx_fp tx_send;
|
||||
};
|
||||
|
||||
|
Criar uma nova questão referindo esta
Bloquear um utilizador