Add vendor attributes to detect data stall for consecutive TX no ack
Add following vendor attributes to dynamically configure parameters to detect data stall for consecutive TX no ack. - QCA_WLAN_VENDOR_ATTR_CONFIG_CONSECUTIVE_TX_NO_ACK_DURATION - QCA_WLAN_VENDOR_ATTR_CONFIG_CONSECUTIVE_TX_NO_ACK_THRESHOLD Signed-off-by: Jianmin Zhu <quic_jianminz@quicinc.com>
This commit is contained in:
parent
a5ee11e025
commit
ffcb7392f0
1 changed files with 25 additions and 0 deletions
|
@ -3599,6 +3599,31 @@ enum qca_wlan_vendor_attr_config {
|
|||
/* 8-bit unsigned value. Refer to TX/RX NSS and chain configurations */
|
||||
QCA_WLAN_VENDOR_ATTR_CONFIG_NUM_RX_CHAINS_5GHZ = 117,
|
||||
|
||||
/* 16-bit unsigned value. This attribute is used to dynamically
|
||||
* configure the time duration of data stall detection. Unit is
|
||||
* milliseconds. Valid value range is 0 or 10 ms to 10000 ms. If the
|
||||
* value is 0, the previously configured value is cleared. The driver
|
||||
* rejects this configuration if the value is out of range. This
|
||||
* configuration is effective for all connections on the chip. If the
|
||||
* duration is greater than this configuration and consecutive TX no ack
|
||||
* count is greater than
|
||||
* QCA_WLAN_VENDOR_ATTR_CONFIG_CONSECUTIVE_TX_NO_ACK_THRESHOLD,
|
||||
* data stall event is sent to userspace.
|
||||
*/
|
||||
QCA_WLAN_VENDOR_ATTR_CONFIG_CONSECUTIVE_TX_NO_ACK_DURATION = 118,
|
||||
|
||||
/* 16-bit unsigned value. This attribute is used to dynamically
|
||||
* configure the threshold of data stall detection. Valid value is 0 or
|
||||
* greater than 10. if the value is 0, the previously configured value
|
||||
* is cleared. The driver rejects this configuration if the value is out
|
||||
* of range. This configuration is effective for all connections on the
|
||||
* chip. If consecutive TX no ack count is greater than this
|
||||
* configuration and duration is greater than
|
||||
* QCA_WLAN_VENDOR_ATTR_CONFIG_CONSECUTIVE_TX_NO_ACK_DURATION,
|
||||
* data stall event is sent to userspace.
|
||||
*/
|
||||
QCA_WLAN_VENDOR_ATTR_CONFIG_CONSECUTIVE_TX_NO_ACK_THRESHOLD = 119,
|
||||
|
||||
/* keep last */
|
||||
QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST,
|
||||
QCA_WLAN_VENDOR_ATTR_CONFIG_MAX =
|
||||
|
|
Loading…
Reference in a new issue