From: Muna Sinada Date: Wed, 17 Jan 2024 03:30:21 +0000 (-0800) Subject: Add a QCA vendor attribute to determine QCA device X-Git-Tag: hostap_2_11~411 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8677844db88932b8a4028282efd127e194c9dc04;p=thirdparty%2Fhostap.git Add a QCA vendor attribute to determine QCA device 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 --- diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index 5e62715e7..4267136c2 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -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 =