From: Aleti Nageshwar Reddy Date: Wed, 27 Jul 2022 11:40:08 +0000 (+0530) Subject: Extend attributes of QCA_NL80211_VENDOR_SUBCMD_GET_STA_INFO X-Git-Tag: hostap_2_11~1726 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b76c36545e9e72512ad49dfc7a8258ddf901086;p=thirdparty%2Fhostap.git Extend attributes of QCA_NL80211_VENDOR_SUBCMD_GET_STA_INFO Extend attributes of subcmd QCA_NL80211_VENDOR_SUBCMD_GET_STA_INFO for quering per MCS TX and RX packets from the driver/firmware. Signed-off-by: Jouni Malinen --- diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index 9f2bf1eff..73aa517e0 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -11180,6 +11180,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: Array of u32 nested + * values, 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, e.g., Index 0 represents MCS0 TX rate. This can be + * queried in connected state. + * + * @QCA_WLAN_VENDOR_ATTR_GET_STA_INFO_PER_MCS_RX_PACKETS: Array of u32 nested + * values, 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, e.g., 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, @@ -11233,6 +11245,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,