]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Vendor attribute to configure STA to follow AP preference for candidates
authorGururaj Pandurangi <quic_panduran@quicinc.com>
Tue, 18 Jun 2024 01:18:01 +0000 (18:18 -0700)
committerJouni Malinen <j@w1.fi>
Thu, 20 Jun 2024 15:59:00 +0000 (18:59 +0300)
Add a vendor attribute to configure a STA to follow AP advertised
preference values to select roam candidates with BTM.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
src/common/qca-vendor.h

index f7bc107a2c84577c2cad9ed0b1d3b486c97dce2f..5b58ffb3943cc6791683eb4447d02910a6f16b52 100644 (file)
@@ -3634,6 +3634,18 @@ enum qca_wlan_vendor_attr_config {
         */
        QCA_WLAN_VENDOR_ATTR_CONFIG_INTF_OFFLOAD_TYPE = 120,
 
+       /* 8-bit unsigned integer to configure the driver to follow AP's
+        * preference values to select a roam candidate from BTM request.
+        *
+        * This attribute is used to configure the driver to select the roam
+        * candidate based on AP advertised preference values. If not set,
+        * the driver uses its internal scoring algorithm to do the same.
+        *
+        * 1 - STA follows AP's preference values to select a roam candidate
+        * 0 - STA uses internal scoring algorithm to select a roam candidate
+        */
+       QCA_WLAN_VENDOR_ATTR_CONFIG_FOLLOW_AP_PREFERENCE_FOR_CNDS_SELECT = 121,
+
        /* keep last */
        QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST,
        QCA_WLAN_VENDOR_ATTR_CONFIG_MAX =