]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add a QCA vendor attribute to determine QCA device
authorMuna Sinada <quic_msinada@quicinc.com>
Wed, 17 Jan 2024 03:30:21 +0000 (19:30 -0800)
committerJouni Malinen <j@w1.fi>
Fri, 26 Jan 2024 16:46:10 +0000 (18:46 +0200)
Add a new attribute for
%QCA_NL80211_VENDOR_SUBCMD_SET_WIFI_CONFIGURATION subcommand. This
attribute is an 8 bit unsigned value used to specify whether an
associated peer is a QCA device.

Signed-off-by: Muna Sinada <quic_msinada@quicinc.com>
src/common/qca-vendor.h

index 5e62715e7ecc7b084086dc55e6f2a458a9a2e8cb..4267136c221d6142da85714dd7eea5a7b8b8fac1 100644 (file)
@@ -3345,6 +3345,16 @@ enum qca_wlan_vendor_attr_config {
         */
        QCA_WLAN_VENDOR_ATTR_CONFIG_COEX_TRAFFIC_SHAPING_MODE = 105,
 
+       /* 8-bit unsigned value.
+        *
+        * This attribute is used to specify whether an associated peer is a QCA
+        * device. The associated peer is specified with
+        * QCA_WLAN_VENDOR_ATTR_CONFIG_PEER_MAC. For MLO cases, the MLD MAC
+        * address of the peer is used.
+        * 1 - QCA device, 0 - non-QCA device.
+        */
+       QCA_WLAN_VENDOR_ATTR_CONFIG_QCA_PEER = 106,
+
        /* keep last */
        QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST,
        QCA_WLAN_VENDOR_ATTR_CONFIG_MAX =