From e510a3badc0900e61f052e7629ada72959f621e9 Mon Sep 17 00:00:00 2001 From: mukul sharma Date: Fri, 1 Sep 2023 16:54:05 +0530 Subject: [PATCH] Add QCA vendor attributes to indicate MLO capabilities Add QCA vendor attributes to indicate various MLO capabilities supported by the WLAN driver to userspace. These capabilities are usually reported by the firmware during the initial bootup handshake with the driver. Signed-off-by: Mukul Sharma --- src/common/qca-vendor.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index 44b7f6c10..7506ad0a4 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -1453,6 +1453,23 @@ enum qca_wlan_vendor_attr { */ QCA_WLAN_VENDOR_ATTR_SETBAND_MASK = 43, + /* Unsigned 8-bit used by QCA_NL80211_VENDOR_SUBCMD_GET_FEATURES. + * This field describes the maximum number of links supported by the + * chip for MLO association. + * This is an optional attribute. + */ + QCA_WLAN_VENDOR_ATTR_MLO_CAPABILITY_MAX_ASSOCIATION_COUNT = 44, + + /* Unsigned 8-bit used by QCA_NL80211_VENDOR_SUBCMD_GET_FEATURES. + * This field describes the maximum number of Simultaneous Transmit + * and Receive (STR) links used in Multi-Link Operation. + * The maximum number of STR links used can be different + * from the maximum number of radios supported by the chip. + * This is a static configuration of the chip. + * This is an optional attribute. + */ + QCA_WLAN_VENDOR_ATTR_MLO_CAPABILITY_MAX_STR_LINK_COUNT = 45, + /* keep last */ QCA_WLAN_VENDOR_ATTR_AFTER_LAST, QCA_WLAN_VENDOR_ATTR_MAX = QCA_WLAN_VENDOR_ATTR_AFTER_LAST - 1,