]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Vendor attribute to configure QoS/AC upgrade for UDP frames
authorSunil Dutt <usdutt@codeaurora.org>
Fri, 26 Jun 2020 12:17:13 +0000 (17:47 +0530)
committerJouni Malinen <j@w1.fi>
Fri, 17 Jul 2020 20:26:34 +0000 (23:26 +0300)
Introduce a new attribute QCA_WLAN_VENDOR_ATTR_CONFIG_UDP_QOS_UPGRADE
to configure access category override for UDP frames.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/common/qca-vendor.h

index 3304ea80ceed0b3e00a78646955c267e5b5da360..448d5268238a9ad08524addc34231245e6ba059b 100644 (file)
@@ -2260,6 +2260,18 @@ enum qca_wlan_vendor_attr_config {
         */
        QCA_WLAN_VENDOR_ATTR_CONFIG_OPTIMIZED_POWER_MANAGEMENT = 71,
 
+       /* 8-bit unsigned value. This attribute takes the QoS/access category
+        * value represented by the enum qca_wlan_ac_type and expects the driver
+        * to upgrade the UDP frames to this access category. The value of
+        * QCA_WLAN_AC_ALL is invalid for this attribute. This will override the
+        * DSCP value configured in the frame with the intention to only upgrade
+        * the access category. That said, it is not intended to downgrade the
+        * access category for the frames.
+        * Set the value to 0 (corresponding to BE) if the QoS upgrade needs
+        * to be disabled.
+        */
+       QCA_WLAN_VENDOR_ATTR_CONFIG_UDP_QOS_UPGRADE = 72,
+
        /* keep last */
        QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST,
        QCA_WLAN_VENDOR_ATTR_CONFIG_MAX =