From a786c9b4a09c301779cd6df0a61115c838db2ae5 Mon Sep 17 00:00:00 2001 From: Shivani Baranwal Date: Wed, 31 May 2023 15:11:24 +0530 Subject: [PATCH] Enhance QCA_WLAN_VENDOR_ATTR_CONFIG_EHT_MLO_MAX_NUM_LINKS Use zero value with QCA_WLAN_VENDOR_ATTR_CONFIG_EHT_MLO_MAX_NUM_LINKS to restore the device default maximum number of allowed MLO links capability. Also, as per IEEE 802.11be/D3.0, the maximum number of allowed links for an MLO connection is 15. Update the documentation of the attribute to indicate the same. Signed-off-by: Shivani Baranwal --- src/common/qca-vendor.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index 2fcdfbe4b..8229f0718 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -2976,8 +2976,13 @@ enum qca_wlan_vendor_attr_config { QCA_WLAN_VENDOR_ATTR_CONFIG_EHT_MLO_MAX_SIMULTANEOUS_LINKS = 88, /* 8-bit unsigned value to configure the driver with EHT MLO maximum - * number of links to be used for MLO connection. - * The range of the value is 1 to 16. + * number of links to be used for MLO connection. Value 0 restores the + * default value of the maximum MLO links capability of the device. + * The range of the value is 0 to 15. + * + * 0 - Restore default device limit. + * 1 to 15 - Set the maximum number of links to be used for an MLO + * connection. */ QCA_WLAN_VENDOR_ATTR_CONFIG_EHT_MLO_MAX_NUM_LINKS = 89,