From: Paul Zhang Date: Mon, 12 Jun 2023 08:32:17 +0000 (+0800) Subject: Add vendor attributes for EPCS feature X-Git-Tag: hostap_2_11~1097 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f37a7dec3d48e83d647dab381ae2c2c8cbcb7c98;p=thirdparty%2Fhostap.git Add vendor attributes for EPCS feature Add vendor attribute QCA_WLAN_VENDOR_ATTR_CONFIG_EPCS_CAPABILITY to set EPCS (Emergency Preparedness Communications Service) feature capability. Add vendor attribute QCA_WLAN_VENDOR_ATTR_CONFIG_EPCS_FUNCTION to enable/disable EPCS priority access. These are for testing purposes. Signed-off-by: Jouni Malinen --- diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index 45a71fc22..49cb1326a 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -3117,6 +3117,24 @@ enum qca_wlan_vendor_attr_config { */ QCA_WLAN_VENDOR_ATTR_CONFIG_CHAN_WIDTH_UPDATE_TYPE = 96, + /* 8-bit unsigned value to set EPCS (Emergency Preparedness + * Communications Service) feature capability + * 1 - Enable, 0 - Disable. + * + * This configuration is used for testing purposes. + */ + QCA_WLAN_VENDOR_ATTR_CONFIG_EPCS_CAPABILITY = 97, + + /* 8-bit unsigned value to enable/disable EPCS priority access + * 1 - Enable, 0 - Disable. + * The EPCS priority access shall be enabled only when EPCS feature + * capability is also enabled (see + * QCA_WLAN_VENDOR_ATTR_CONFIG_EPCS_CAPABILITY). + * + * This configuration is used for testing purposes. + */ + QCA_WLAN_VENDOR_ATTR_CONFIG_EPCS_FUNCTION = 98, + /* keep last */ QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST, QCA_WLAN_VENDOR_ATTR_CONFIG_MAX =