qcacmn: Fix IPA WDI3 Tx issues

Fix bug to enable IPA WDI3 Tx H/W path.

Change-Id: Ice691dccc649b38971985cd8da042719d943cec7
CRs-Fixed: 2085751
This commit is contained in:
Yun Park
2017-08-28 21:49:31 -07:00
committed by snandini
parent 1374d4b101
commit 601d0d868a
10 changed files with 447 additions and 344 deletions

View File

@@ -339,6 +339,7 @@ cdp_peer_get_vdevid(ol_txrx_soc_handle soc, void *peer, uint8_t *vdev_id)
/**
* cdp_peer_get_vdev_by_sta_id() - Get vdev instance by local peer id
* @soc - data path soc handle
* @pdev - data path device instance
* @sta_id - local peer id
*
* Get virtaul interface id by local peer id
@@ -347,7 +348,8 @@ cdp_peer_get_vdevid(ol_txrx_soc_handle soc, void *peer, uint8_t *vdev_id)
* NULL in case cannot find
*/
static inline struct cdp_vdev
*cdp_peer_get_vdev_by_sta_id(ol_txrx_soc_handle soc, uint8_t sta_id)
*cdp_peer_get_vdev_by_sta_id(ol_txrx_soc_handle soc, struct cdp_pdev *pdev,
uint8_t sta_id)
{
if (!soc || !soc->ops || !soc->ops->peer_ops) {
QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_FATAL,
@@ -356,7 +358,7 @@ static inline struct cdp_vdev
}
if (soc->ops->peer_ops->get_vdev_by_sta_id)
return soc->ops->peer_ops->get_vdev_by_sta_id(sta_id);
return soc->ops->peer_ops->get_vdev_by_sta_id(pdev, sta_id);
return NULL;
}