qcacmn: Modify wlanstats context to RDK stats context

peer wlanstats context is used only for RDK Plume stats
but the name is misleading as wlan statistics

Hence rename peer's wlanstats_ctx to rdkstats_ctx and
the APIs the APIs around the same

CRs-Fixed: 2767192
Change-Id: I9e8955554b94fa29a3964fed729a95a4db67c8f6
This commit is contained in:
phadiman
2020-08-31 12:39:20 +05:30
committed by snandini
szülő c9b7b0f885
commit dbb0787de4
5 fájl változott, egészen pontosan 24 új sor hozzáadva és 24 régi sor törölve

Fájl megtekintése

@@ -2483,13 +2483,13 @@ cdp_peer_flush_rate_stats(ol_txrx_soc_handle soc, uint8_t pdev_id,
}
/**
* cdp_peer_get_wlanstats_ctx() - get wlanstats context
* cdp_peer_get_rdkstats_ctx() - get RDK stats context
* @soc: opaque soc handle
* @vdev_id: id of vdev handle
* @mac: peer mac address
*/
static inline void
*cdp_peer_get_wlanstats_ctx(ol_txrx_soc_handle soc, uint8_t vdev_id,
*cdp_peer_get_rdkstats_ctx(ol_txrx_soc_handle soc, uint8_t vdev_id,
uint8_t *mac_addr)
{
if (!soc || !soc->ops) {
@@ -2500,10 +2500,10 @@ static inline void
}
if (!soc->ops->cmn_drv_ops ||
!soc->ops->cmn_drv_ops->txrx_peer_get_wlan_stats_ctx)
!soc->ops->cmn_drv_ops->txrx_peer_get_rdkstats_ctx)
return NULL;
return soc->ops->cmn_drv_ops->txrx_peer_get_wlan_stats_ctx(soc,
return soc->ops->cmn_drv_ops->txrx_peer_get_rdkstats_ctx(soc,
vdev_id,
mac_addr);
}