]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add QCA vendor attributes to indicate MLO capabilities
authormukul sharma <quic_mukul@quicinc.com>
Fri, 1 Sep 2023 11:24:05 +0000 (16:54 +0530)
committerJouni Malinen <j@w1.fi>
Tue, 19 Sep 2023 20:26:56 +0000 (23:26 +0300)
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 <quic_mukul@quicinc.com>
src/common/qca-vendor.h

index 44b7f6c108f24a09eaebd175cd8d0871a23d3c16..7506ad0a40fc0d0c7826fe6d5aecec82945dd6ca 100644 (file)
@@ -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,