qcacmn: Correct the offsets & byte cnt computation in HTT stats

Offsets used by host for HTT stats are not aligned as per the
structure declaration given in file htt.h .
Make change to use the correct offsets to get the correct stats.

Also make change for byte count computation.

Also make cleanup changes for FR65817.

Change-Id: I8bc6164cc4994c49536d7277779f25b258be1592
CRs-Fixed: 3082742
This commit is contained in:
Harsh Kumar Bijlani
2021-12-03 12:22:51 +05:30
کامیت شده توسط Madan Koyyalamudi
والد 95cb0e103f
کامیت 21fb667866
7فایلهای تغییر یافته به همراه51 افزوده شده و 28 حذف شده

مشاهده پرونده

@@ -1954,6 +1954,18 @@ void
wlan_cfg_set_rx_rel_ring_id(struct wlan_cfg_dp_soc_ctxt *cfg,
uint8_t wbm2sw_ring_id);
/**
* wlan_cfg_set_vdev_stats_hw_offload_config() - Set hw vdev stats offload
* config
* @cfg: config context
* @value: value to be set
*
* Return: none
*/
void
wlan_cfg_set_vdev_stats_hw_offload_config(struct wlan_cfg_dp_soc_ctxt *cfg,
bool value);
/**
* wlan_cfg_get_vdev_stats_hw_offload_config() - Get hw vdev stats offload
* config