From: Veerendranath Jakkam Date: Fri, 3 May 2024 15:24:33 +0000 (+0530) Subject: Add QCA vendor attribute for uplink delay jitter X-Git-Tag: hostap_2_11~115 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb40986a7eef78d494ac2716d0e97a0837137005;p=thirdparty%2Fhostap.git Add QCA vendor attribute for uplink delay jitter Add uplink delay jitter attribute in responses of QCA_NL80211_VENDOR_SUBCMD_GET_STA_INFO vendor command. Signed-off-by: Veerendranath Jakkam --- diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index d8f936b4a..480d31825 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -2337,13 +2337,15 @@ enum qca_vendor_attr_tsf_cmd { * @QCA_TSF_SYNC_GET: Initiate TSF capture and return with captured value * @QCA_TSF_AUTO_REPORT_ENABLE: Used in STA mode only. Once set, the target * will automatically send TSF report to the host. To query - * %QCA_WLAN_VENDOR_ATTR_GET_STA_INFO_UPLINK_DELAY, this operation needs to be - * initiated first. + * %QCA_WLAN_VENDOR_ATTR_GET_STA_INFO_UPLINK_DELAY or + * %QCA_WLAN_VENDOR_ATTR_GET_STA_INFO_UPLINK_DELAY_JITTER, this operation needs + * to be initiated first. * @QCA_TSF_AUTO_REPORT_DISABLE: Used in STA mode only. Once set, the target * will not automatically send TSF report to the host. If * %QCA_TSF_AUTO_REPORT_ENABLE is initiated and - * %QCA_WLAN_VENDOR_ATTR_GET_STA_INFO_UPLINK_DELAY is not queried anymore, this - * operation needs to be initiated. + * %QCA_WLAN_VENDOR_ATTR_GET_STA_INFO_UPLINK_DELAY or + * %QCA_WLAN_VENDOR_ATTR_GET_STA_INFO_UPLINK_DELAY_JITTER is not queried + * anymore, this operation needs to be initiated. * @QCA_TSF_SYNC_START: Start periodic TSF sync feature. The driver periodically * fetches TSF and host time mapping from the firmware with interval configured * through the %QCA_WLAN_VENDOR_ATTR_TSF_SYNC_INTERVAL attribute. If the @@ -12611,6 +12613,11 @@ enum qca_vendor_wlan_sta_guard_interval { * * @QCA_WLAN_VENDOR_ATTR_GET_STA_INFO_PAD: Attribute used for padding for * 64-bit alignment. + * + * @QCA_WLAN_VENDOR_ATTR_GET_STA_INFO_UPLINK_DELAY_JITTER: u32, used in STA mode + * only. This represents the average of the delta between successive uplink + * frames congestion duration in MAC queue in unit of ms. This can be queried + * either in connected state or disconnected state. */ enum qca_wlan_vendor_attr_get_sta_info { QCA_WLAN_VENDOR_ATTR_GET_STA_INFO_INVALID = 0, @@ -12667,6 +12674,7 @@ enum qca_wlan_vendor_attr_get_sta_info { QCA_WLAN_VENDOR_ATTR_GET_STA_INFO_PER_MCS_TX_PACKETS = 51, QCA_WLAN_VENDOR_ATTR_GET_STA_INFO_PER_MCS_RX_PACKETS = 52, QCA_WLAN_VENDOR_ATTR_GET_STA_INFO_PAD = 53, + QCA_WLAN_VENDOR_ATTR_GET_STA_INFO_UPLINK_DELAY_JITTER = 54, /* keep last */ QCA_WLAN_VENDOR_ATTR_GET_STA_INFO_AFTER_LAST,