]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add QCA vendor attribute for configuring max A-MPDU aggregation count
authorWill Huang <quic_wilhuang@quicinc.com>
Mon, 28 Aug 2023 02:30:16 +0000 (08:00 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 31 Aug 2023 09:06:33 +0000 (12:06 +0300)
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 <quic_wilhuang@quicinc.com>
src/common/qca-vendor.h

index 77581e7458669b03a83cfb95f4c88fc448c8490c..65ec7c77ea91859a73e705d64daf42c0a923b654 100644 (file)
@@ -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 =