diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index f0cd6dde0634..2acc94aa77fb 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -15747,6 +15747,10 @@ typedef struct { #define WMI_VDEV_STATS_FLAGS_IS_LINK_ACTIVE_MASK \ (1 << WMI_VDEV_STATS_FLAGS_IS_LINK_ACTIVE_BIT) +#define WMI_VDEV_STATS_FLAGS_CHANNEL_STATS_PRESENT_BIT 2 +#define WMI_VDEV_STATS_FLAGS_CHANNEL_STATS_PRESENT_MASK \ + (1 << WMI_VDEV_STATS_FLAGS_CHANNEL_STATS_PRESENT_BIT) + /** * vdev extension statistics */ @@ -15769,10 +15773,34 @@ typedef struct { * 1: the "is link active" flag is valid * bit 1: WMI_VDEV_STATS_FLAGS_IS_LINK_ACTIVE, * 1:link_active; 0:link_inactive + * bit 2: WMI_VDEV_STATS_FLAGS_CHANNEL_STATS_PRESENT, + * 0: new stats fields are not present. + * 1: new rx/tx/on/cca time stats fields present; * Refer to WMI_VDEV_STATS_FLAGS_ defs. */ A_UINT32 flags; A_INT32 vdev_tx_power; /* dBm units */ + /** rx_time: + * How many msecs vdev is in active receive on channel + * (32 bits number accruing over time) + */ + A_UINT32 rx_time; + /** tx_time: + * How many msecs vdev is transmitting on channel + * (32 bits number accruing over time) + */ + A_UINT32 tx_time; + /** on_time: + * How many msecs vdev is awake on channel + * (32 bits number accruing over time) + */ + A_UINT32 on_time; + /** cca_time: + * How many msecs vdev is CCA busy on channel + * (32 bits number accruing over time) + * Includes rx_time but not tx_time. + */ + A_UINT32 cca_time; } wmi_vdev_extd_stats; /** diff --git a/fw/wmi_version.h b/fw/wmi_version.h index 44fad6cbdaaa..26bf4086cc14 100644 --- a/fw/wmi_version.h +++ b/fw/wmi_version.h @@ -37,7 +37,7 @@ #define __WMI_VER_MINOR_ 0 /** WMI revision number has to be incremented when there is a * change that may or may not break compatibility. */ -#define __WMI_REVISION_ 1652 +#define __WMI_REVISION_ 1653 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work