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
Cette révision appartient à :

révisé par
Madan Koyyalamudi

Parent
95cb0e103f
révision
21fb667866
@@ -3141,6 +3141,13 @@ int wlan_cfg_get_vdev_stats_hw_offload_timer(struct wlan_cfg_dp_soc_ctxt *cfg)
|
||||
{
|
||||
return cfg->vdev_stats_hw_offload_timer;
|
||||
}
|
||||
|
||||
void
|
||||
wlan_cfg_set_vdev_stats_hw_offload_config(struct wlan_cfg_dp_soc_ctxt *cfg,
|
||||
bool val)
|
||||
{
|
||||
cfg->vdev_stats_hw_offload_config = val;
|
||||
}
|
||||
#else
|
||||
bool
|
||||
wlan_cfg_get_vdev_stats_hw_offload_config(struct wlan_cfg_dp_soc_ctxt *cfg)
|
||||
@@ -3152,4 +3159,9 @@ int wlan_cfg_get_vdev_stats_hw_offload_timer(struct wlan_cfg_dp_soc_ctxt *cfg)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
void
|
||||
wlan_cfg_set_vdev_stats_hw_offload_config(struct wlan_cfg_dp_soc_ctxt *cfg,
|
||||
bool val)
|
||||
{}
|
||||
#endif
|
||||
|
Référencer dans un nouveau ticket
Bloquer un utilisateur