From: Sunil Dutt Date: Fri, 26 Jun 2020 12:17:13 +0000 (+0530) Subject: Vendor attribute to configure QoS/AC upgrade for UDP frames X-Git-Tag: hostap_2_10~1080 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebd5e764f99b394d73ba6be8f28ade312c2ea67f;p=thirdparty%2Fhostap.git Vendor attribute to configure QoS/AC upgrade for UDP frames 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 --- diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index 3304ea80c..448d52682 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -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 =