Vendor attribute to configure STA to follow AP preference for candidates

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>
This commit is contained in:
Gururaj Pandurangi 2024-06-17 18:18:01 -07:00 committed by Jouni Malinen
parent 0cb42655fb
commit c9db4925f6

View file

@ -3634,6 +3634,18 @@ enum qca_wlan_vendor_attr_config {
*/ */
QCA_WLAN_VENDOR_ATTR_CONFIG_INTF_OFFLOAD_TYPE = 120, 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 */ /* keep last */
QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST, QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST,
QCA_WLAN_VENDOR_ATTR_CONFIG_MAX = QCA_WLAN_VENDOR_ATTR_CONFIG_MAX =