]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Vendor attribute to indicate a set_blacklist of BSSID only as a hint
authorSunil Dutt <usdutt@codeaurora.org>
Thu, 28 Feb 2019 09:39:29 +0000 (15:09 +0530)
committerJouni Malinen <j@w1.fi>
Wed, 6 Mar 2019 12:09:15 +0000 (14:09 +0200)
The current/default behavior of set blacklist BSSID QCA vendor command
is a mandate to the driver - do not consider this BSSID for connect/roam
till reset.

There are use cases where this need not be a mandate and thus could
provide the flexibility for the driver to consider this BSSID if there
are no better ones. Such use cases can use this new flag attribute to
only hint the blacklist of a BSSID to the driver.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/common/qca-vendor.h

index b7c3e9cf55743b9f089c536f185f2e6ffdfbe447..4277ed82eb966f6506cda22ab72cad3780ffc477 100644 (file)
@@ -3218,6 +3218,8 @@ enum qca_wlan_vendor_attr_roaming_config_params {
        QCA_WLAN_VENDOR_ATTR_ROAMING_PARAM_SET_BSSID_PARAMS = 18,
        QCA_WLAN_VENDOR_ATTR_ROAMING_PARAM_SET_BSSID_PARAMS_NUM_BSSID = 19,
        QCA_WLAN_VENDOR_ATTR_ROAMING_PARAM_SET_BSSID_PARAMS_BSSID = 20,
+       /* Flag attribute indicates this BSSID blacklist as a hint */
+       QCA_WLAN_VENDOR_ATTR_ROAMING_PARAM_SET_BSSID_PARAMS_HINT = 21,
 
        /* keep last */
        QCA_WLAN_VENDOR_ATTR_ROAMING_PARAM_AFTER_LAST,