qcacmn: Add target_if/wmi implementation of get congestion stats

Add changes to support get congestion stats(arp stats) from
within cp_stats component.

Change-Id: Ic3b2f020c0169c9113c1b40738f782cbb3b8f6c5
CRs-Fixed: 2222781
这个提交包含在:
Naveen Rawat
2018-04-13 16:38:36 -07:00
提交者 nshrivas
父节点 c461aeff4f
当前提交 96afb7f274
修改 3 个文件,包含 34 行新增0 行删除

查看文件

@@ -8391,4 +8391,19 @@ struct wmi_obss_color_collision_info {
uint32_t obss_color_bitmap_bit0to31;
uint32_t obss_color_bitmap_bit32to63;
};
#ifdef QCA_SUPPORT_CP_STATS
/**
* struct wmi_host_congestion_stats - host definition of congestion stats
* @vdev_id: ID of the vdev to which this info belongs.
* @congestion: This field holds the congestion percentage =
* (busy_time/total_time)*100
* for the interval from when the vdev was started to the current time
* (or the time at which the vdev was stopped).
*/
struct wmi_host_congestion_stats {
uint32_t vdev_id;
uint32_t congestion;
};
#endif
#endif /* _WMI_UNIFIED_PARAM_H_ */