Add a vendor attribute value to set aggressive roaming mode

Add QCA_ROAMING_MODE_AGGRESSIVE in enum qca_roaming_policy to set
aggressive roaming mode. In addition, document the existing enum values.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
Aleti Nageshwar Reddy 2024-03-28 15:05:13 +05:30 committed by Jouni Malinen
parent 8f83b7d7d1
commit ed78f56dce

View file

@ -1536,9 +1536,23 @@ enum qca_wlan_vendor_attr {
QCA_WLAN_VENDOR_ATTR_MAX = QCA_WLAN_VENDOR_ATTR_AFTER_LAST - 1, QCA_WLAN_VENDOR_ATTR_MAX = QCA_WLAN_VENDOR_ATTR_AFTER_LAST - 1,
}; };
/**
* enum qca_roaming_policy - Represents the policies for roaming. Used by
* QCA_WLAN_VENDOR_ATTR_ROAMING_POLICY.
*
* QCA_ROAMING_NOT_ALLOWED: Roaming is not allowed/disabled.
*
* QCA_ROAMING_ALLOWED_WITHIN_ESS: Roaming is allowed with in an ESS with
* default RSSI thresholds.
*
* QCA_ROAMING_MODE_AGGRESSIVE: This mode is an extension of
* QCA_ROAMING_ALLOWED_WITHIN_ESS. The driver/firmware roams on higher RSSI
* thresholds when compared to QCA_ROAMING_ALLOWED_WITHIN_ESS.
*/
enum qca_roaming_policy { enum qca_roaming_policy {
QCA_ROAMING_NOT_ALLOWED, QCA_ROAMING_NOT_ALLOWED,
QCA_ROAMING_ALLOWED_WITHIN_ESS, QCA_ROAMING_ALLOWED_WITHIN_ESS,
QCA_ROAMING_MODE_AGGRESSIVE,
}; };
/** /**