From 09220f783e919c8242d75cc878cc3949d217fb04 Mon Sep 17 00:00:00 2001 From: Ashish Kumar Dhanotiya Date: Wed, 7 Sep 2022 14:30:42 +0530 Subject: [PATCH] qcacmn: Process tx and rx rate count from peer stats Based on the new requirement process tx and rx rate counts from peer stats response and send these stats to user space as part of big data stats. Change-Id: I988f0d6cf6a3537f31433d4f57280336ab58bc38 CRs-Fixed: 3289789 --- os_if/linux/qca_vendor.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/os_if/linux/qca_vendor.h b/os_if/linux/qca_vendor.h index ecaf608e89..094a80d261 100644 --- a/os_if/linux/qca_vendor.h +++ b/os_if/linux/qca_vendor.h @@ -11301,6 +11301,18 @@ enum qca_vendor_wlan_sta_guard_interval { * This represents the average congestion duration of uplink frames in MAC * queue in unit of ms. This can be queried either in connected state or * disconnected state. + * + * @QCA_WLAN_VENDOR_ATTR_GET_STA_INFO_PER_MCS_TX_PACKETS: Mandatory u32 Nested + * attribute, used in AP mode. This represents the MPDU packet count per MCS + * rate value of TX packets. Every index of this nested attribute corresponds + * to MCS index, for example Index 0 represents MCS0 TX rate. This can be + * queried in connected state. + * + * @QCA_WLAN_VENDOR_ATTR_GET_STA_INFO_PER_MCS_RX_PACKETS: Mandatory u32 Nested + * attribute, used in AP mode. This represents the MPDU packet count per MCS + * rate value of RX packets. Every index of this nested attribute corresponds + * to MCS index, for example Index 0 represents MCS0 RX rate. This can be + * queried in connected state. */ enum qca_wlan_vendor_attr_get_sta_info { QCA_WLAN_VENDOR_ATTR_GET_STA_INFO_INVALID = 0, @@ -11351,6 +11363,8 @@ enum qca_wlan_vendor_attr_get_sta_info { QCA_WLAN_VENDOR_ATTR_GET_STA_INFO_ROAM_FAIL_REASON = 48, QCA_WLAN_VENDOR_ATTR_GET_STA_INFO_ROAM_INVOKE_FAIL_REASON = 49, QCA_WLAN_VENDOR_ATTR_GET_STA_INFO_UPLINK_DELAY = 50, + QCA_WLAN_VENDOR_ATTR_GET_STA_INFO_PER_MCS_TX_PACKETS = 51, + QCA_WLAN_VENDOR_ATTR_GET_STA_INFO_PER_MCS_RX_PACKETS = 52, /* keep last */ QCA_WLAN_VENDOR_ATTR_GET_STA_INFO_AFTER_LAST,