From: Will Huang Date: Mon, 28 Aug 2023 02:30:16 +0000 (+0530) Subject: Add QCA vendor attribute for configuring max A-MPDU aggregation count X-Git-Tag: hostap_2_11~1005 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12fabc4765c28bc06b53ec41c59c1e76d956691b;p=thirdparty%2Fhostap.git Add QCA vendor attribute for configuring max A-MPDU aggregation count Add a QCA vendor attribute QCA_WLAN_VENDOR_ATTR_CONFIG_PEER_AMPDU_CNT to enable configuration of TX maximum aggregate size with a specific peer. This can be used to improve performance in noisy environment. In AP mode, the peer MAC address of the associated STA is specified with QCA_WLAN_VENDOR_ATTR_CONFIG_PEER_MAC. Signed-off-by: Will Huang --- diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index 77581e745..65ec7c77e 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -3247,6 +3247,24 @@ enum qca_wlan_vendor_attr_config { */ QCA_WLAN_VENDOR_ATTR_CONFIG_OPM_SPEC_WAKE_INTERVAL = 102, + /* + * 16-bit unsigned value to configure TX max A-MPDU count. + * + * For STA interface, this attribute is applicable only in connected + * state, peer MAC address is not required to be provided. + * + * For AP interface, this attribute is applicable only in started + * state and one of the associated peer STAs must be specified with + * QCA_WLAN_VENDOR_ATTR_CONFIG_PEER_MAC. If this is for an ML + * association, the peer MAC address provided is the link address of + * the non-AP MLD. + * + * This attribute runtime configures the TX maximum aggregation size. + * The value must be in range of 1 to BA window size for the specific + * peer. + */ + QCA_WLAN_VENDOR_ATTR_CONFIG_PEER_AMPDU_CNT = 103, + /* keep last */ QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST, QCA_WLAN_VENDOR_ATTR_CONFIG_MAX =