From 136eb1bb75e71e1ab74a7f371336cd0f729bec45 Mon Sep 17 00:00:00 2001 From: Yu Ouyang Date: Wed, 25 Aug 2021 11:13:59 +0800 Subject: [PATCH] qcacmn: Add time slice duty cycle attribute into QCA vendor command Add a new attribute into qca_wlan_vendor_attr_ll_stats_results to support getting interface time slicing duty cycle info. Change-Id: If6a34cd298c1cb41e0e29a24f2336eed76b98329 CRs-Fixed: 3020795 --- os_if/linux/qca_vendor.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/os_if/linux/qca_vendor.h b/os_if/linux/qca_vendor.h index b7bfed17fe..a3b46ed495 100644 --- a/os_if/linux/qca_vendor.h +++ b/os_if/linux/qca_vendor.h @@ -2358,6 +2358,10 @@ enum qca_wlan_vendor_attr_ll_stats_results { QCA_WLAN_VENDOR_ATTR_LL_STATS_CHANNEL_RX_TIME = 85, QCA_WLAN_VENDOR_ATTR_LL_STATS_CHANNEL_LOAD_PERCENTAGE = 86, + /* u8 value representing the time slicing duty cycle percentage. + * Possible values are 0-100. + */ + QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_TS_DUTY_CYCLE = 87, /* keep last */ QCA_WLAN_VENDOR_ATTR_LL_STATS_AFTER_LAST, QCA_WLAN_VENDOR_ATTR_LL_STATS_MAX =