]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add a vendor attribute value to set aggressive roaming mode
authorAleti Nageshwar Reddy <quic_anageshw@quicinc.com>
Thu, 28 Mar 2024 09:35:13 +0000 (15:05 +0530)
committerJouni Malinen <j@w1.fi>
Mon, 22 Apr 2024 09:48:25 +0000 (12:48 +0300)
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>
src/common/qca-vendor.h

index 3a9455ff3482800a9e42c48e2942339daf853316..57f2e96803943c74e4d810aafe5d0b3cecd01a02 100644 (file)
@@ -1536,9 +1536,23 @@ enum qca_wlan_vendor_attr {
        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 {
        QCA_ROAMING_NOT_ALLOWED,
        QCA_ROAMING_ALLOWED_WITHIN_ESS,
+       QCA_ROAMING_MODE_AGGRESSIVE,
 };
 
 /**