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 <quic_wilhuang@quicinc.com>
This commit is contained in:
Will Huang 2023-08-28 08:00:16 +05:30 committed by Jouni Malinen
parent b3d852560b
commit 12fabc4765

View 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 =