]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add vendor attributes for EPCS feature
authorPaul Zhang <quic_paulz@quicinc.com>
Mon, 12 Jun 2023 08:32:17 +0000 (16:32 +0800)
committerJouni Malinen <j@w1.fi>
Thu, 22 Jun 2023 18:55:08 +0000 (21:55 +0300)
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 <quic_jouni@quicinc.com>
src/common/qca-vendor.h

index 45a71fc22a58b0a6cab714722f2123c4fe7b6eb0..49cb1326ae9d020e47d48bd111c66e3119228785 100644 (file)
@@ -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 =