qcacmn: Replace interface of dp stats updation to upper layer

Replace ol_if interface with WDI for dp stats updation to upper layer.
Define a new CDP API to get radiostats.

CRs-Fixed: 2326789
Change-Id: Ieaee2fe18fc9a0ad0e259e36f59529fe9bc4e208
这个提交包含在:
Amir Patel
2018-10-10 12:35:30 +05:30
提交者 nshrivas
父节点 95c59f2993
当前提交 756d05e9e5
修改 7 个文件,包含 114 行新增46 行删除

查看文件

@@ -2646,11 +2646,12 @@ dp_tx_update_peer_stats(struct dp_peer *peer,
DP_STATS_INCC(peer, tx.ldpc, 1, ts->ldpc);
DP_STATS_INCC(peer, tx.retries, 1, ts->transmit_cnt > 1);
if (soc->cdp_soc.ol_ops->update_dp_stats) {
soc->cdp_soc.ol_ops->update_dp_stats(pdev->ctrl_pdev,
&peer->stats, ts->peer_id,
UPDATE_PEER_STATS);
}
#if defined(FEATURE_PERPKT_INFO) && WDI_EVENT_ENABLE
dp_wdi_event_handler(WDI_EVENT_UPDATE_DP_STATS, pdev->soc,
&peer->stats, ts->peer_id,
UPDATE_PEER_STATS, pdev->pdev_id);
#endif
}
#ifdef QCA_LL_TX_FLOW_CONTROL_V2