qcacmn: Vendor attribute to configure QoS/AC upgrade for UDP frames
Introduce a new attribute to configure access category override for UDP frames of BE/BK category. Unlike, the earlier attribute QCA_WLAN_VENDOR_ATTR_CONFIG_UDP_QOS_UPGRADE which will override for all UDP frames, this attribute is for overriding only for BE/BK based UDP frames. CRs-Fixed: 3332609 Change-Id: Ife6104b97bca83653fdcac31f2c91007d1aa6f2a
This commit is contained in:

کامیت شده توسط
Madan Koyyalamudi

والد
7c94f932be
کامیت
46a5d43615
@@ -5053,6 +5053,14 @@ enum qca_wlan_vendor_attr_config {
|
||||
* That said, it is not intended to downgrade the QOS for the frames.
|
||||
* Set the value to 0 ( corresponding to BE ) if the QOS upgrade needs
|
||||
* to disable.
|
||||
*
|
||||
* If only UDP frames of BE or BK access category needs to be upgraded
|
||||
* without changing the access category of VO or VI UDP frames, refer to
|
||||
* attribute QCA_WLAN_VENDOR_ATTR_CONFIG_UDP_QOS_UPGRADE_FOR_BE_BK.
|
||||
*
|
||||
* This attribute is not recommended to be used as it blindly forces all
|
||||
* UDP packets to a higher access category which could impact the
|
||||
* traffic pattern of all apps using UDP and can cause unknown behavior.
|
||||
*/
|
||||
QCA_WLAN_VENDOR_ATTR_CONFIG_UDP_QOS_UPGRADE = 72,
|
||||
|
||||
@@ -5172,6 +5180,32 @@ enum qca_wlan_vendor_attr_config {
|
||||
*/
|
||||
QCA_WLAN_VENDOR_ATTR_CONFIG_DBAM = 83,
|
||||
|
||||
/* 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 of BE or BK access category to this access
|
||||
* category. This attribute will not modify UDP frames of VO or VI
|
||||
* 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 QCA_WLAN_AC_BK if the QoS upgrade needs to be
|
||||
* disabled, as BK is of the lowest priority and an upgrade to it does
|
||||
* not result in any changes for the frames.
|
||||
*
|
||||
* This attribute behavior is similar to
|
||||
* QCA_WLAN_VENDOR_ATTR_CONFIG_UDP_QOS_UPGRADE with the difference that
|
||||
* only UDP frames of BE or BK access category are upgraded and not
|
||||
* UDP frames of VI or VO access category.
|
||||
*
|
||||
* This attribute is not recommended to be used as it blindly forces all
|
||||
* UDP packets of BE or BK access category to a higher access category
|
||||
* which could impact the traffic pattern of all apps using UDP and can
|
||||
* cause unknown behavior.
|
||||
*/
|
||||
QCA_WLAN_VENDOR_ATTR_CONFIG_UDP_QOS_UPGRADE_FOR_BE_BK = 84,
|
||||
|
||||
/* 8-bit unsigned value to configure the driver to enable/disable the
|
||||
* periodic sounding for Tx beamformer functionality. The default
|
||||
* behavior uses algorithm to do sounding based on packet stats.
|
||||
|
مرجع در شماره جدید
Block a user