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 <jouni@codeaurora.org>
This commit is contained in:
Sunil Dutt 2020-06-26 17:47:13 +05:30 committed by Jouni Malinen
parent d91fb3ce32
commit ebd5e764f9

View file

@ -2260,6 +2260,18 @@ enum qca_wlan_vendor_attr_config {
*/ */
QCA_WLAN_VENDOR_ATTR_CONFIG_OPTIMIZED_POWER_MANAGEMENT = 71, 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 */ /* keep last */
QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST, QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST,
QCA_WLAN_VENDOR_ATTR_CONFIG_MAX = QCA_WLAN_VENDOR_ATTR_CONFIG_MAX =