From f37a7dec3d48e83d647dab381ae2c2c8cbcb7c98 Mon Sep 17 00:00:00 2001 From: Paul Zhang Date: Mon, 12 Jun 2023 16:32:17 +0800 Subject: [PATCH] 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 --- src/common/qca-vendor.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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 =