Define a QCA vendor attribute to set traffic shaping policy

Define a new QCA vendor attribute to configure traffic
shaping policy applied during coex scenarios.

Signed-off-by: Shailendra Singh <quic_shasing@quicinc.com>
This commit is contained in:
Shailendra Singh 2023-09-13 09:12:04 +05:30 committed by Jouni Malinen
parent dec5ab645c
commit bc9256980e

View file

@ -3285,6 +3285,19 @@ enum qca_wlan_vendor_attr_config {
*/
QCA_WLAN_VENDOR_ATTR_CONFIG_TTLM_NEGOTIATION_SUPPORT = 104,
/* 8-bit unsigned value.
*
* This attribute configures a traffic shaping mode
* applied during coex scenarios.
* By default all coex traffic shaping modes are enabled,
* i.e., shape WLAN traffic based on coex traffic pattern and priority.
* To shape traffic, STA may enter in power save mode
* and AP may send CTS-to-self frame.
*
* Uses enum qca_coex_traffic_shaping_mode values.
*/
QCA_WLAN_VENDOR_ATTR_CONFIG_COEX_TRAFFIC_SHAPING_MODE = 105,
/* keep last */
QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST,
QCA_WLAN_VENDOR_ATTR_CONFIG_MAX =
@ -9227,6 +9240,16 @@ enum qca_wlan_ttlm_negotiation_support {
QCA_WLAN_TTLM_SAME_DIFF_LINK_SET = 2,
};
/**
* enum qca_coex_traffic_shaping_mode: Coex traffic shaping mode
* @QCA_COEX_TRAFFIC_SHAPING_MODE_DISABLE: Coex policies disabled
* @QCA_COEX_TRAFFIC_SHAPING_MODE_ENABLE: All coex policies enabled
*/
enum qca_coex_traffic_shaping_mode {
QCA_COEX_TRAFFIC_SHAPING_MODE_DISABLE = 0,
QCA_COEX_TRAFFIC_SHAPING_MODE_ENABLE = 1,
};
/**
* enum qca_wlan_vendor_attr_omi_tx: Represents attributes for HE and
* EHT operating mode control transmit request. These attributes are